Skip to content

Instantly share code, notes, and snippets.

@rpunt
Last active February 17, 2019 07:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# Create a DNS record in a Unifi USG
# ssh to USG
configure
# create an A record
set system static-host-mapping host-name HOSTNAME inet IPADDRESS
# create a CNAME
set system static-host-mapping host-name HOSTNAME alias CNAME
# if you notice that you can now only resolve short-names...
set service dns forwarding options expand-hosts
commit
save
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment