Add local DNS entries on Unifi USG-Pro-4

It might be required to add more memorable names to devices on your network or refer to Docker Hosts on a host that was already registered on the local network.

Unifi USG-Pro-4

Enable SSH on Device

Navigate to System Settings on Unifi Controller and enable SSH to devices under system settings.

Add DNS Entry on USG

  1. SSH to Unifi Security Gateway ssh username@host
  2. Edit /etc/dnsmasq.d/dnsmasq.static.conf sudo vi /etc/dnsmasq.d/dnsmasq.static.conf
  3. Add the Host and IP Address of the local server address=/myhost.mydomain.com/192.168.2.1
  4. Reload the config sudo /etc/init.d/dnsmasq force-reload
Die Meester Avatar

0 responses to “Add local DNS entries on Unifi USG-Pro-4”