Set DNS search path on Unifi USG with DHCP

0 minute read

I have a home network with a Unifi Security Gateway. I wanted to set my home’s domain as “domain search path”, alas, in the Unifi UI there is no option for this, but the community to the rescue.

  • add “custom DHCP option”
  • give it a name
  • use code “119” and type “text”

Now in your “networks” in the UI you can set your pre-defined custom optionsl on a per-network-basis (see image, and sorry for the German locale - I don’t know how to change that, and I didn’t kinda look hard).

unifi network settings