Skip to content

Instantly share code, notes, and snippets.

@rpunt
Last active February 17, 2019 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpunt/2b03c111f3d167cbee5003b1c5f28297 to your computer and use it in GitHub Desktop.
Save rpunt/2b03c111f3d167cbee5003b1c5f28297 to your computer and use it in GitHub Desktop.
# 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