Skip to content

Instantly share code, notes, and snippets.

@plaisted
Created February 23, 2020 00:27
Show Gist options
  • Save plaisted/96910fb51bc606219efc5b989d3e93b7 to your computer and use it in GitHub Desktop.
Save plaisted/96910fb51bc606219efc5b989d3e93b7 to your computer and use it in GitHub Desktop.
USG static DNS entry
If you want static entries on USG, try this:
as a root on usg create file
vi /etc/dnsmasq.d/dnsmasq.static.conf
put there some hosts
address=/microsoft.com/192.168.1.20
address=/ubnt.com/192.168.1.100
address=/myhost.com/192.168.1.110
save it (:wq) and run command
/etc/init.d/dnsmasq force-reload
it works even after usg reprovisioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment