Skip to content

Instantly share code, notes, and snippets.

@rpunt rpunt/unifi_dns_record.sh
Last active Feb 17, 2019

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
You can’t perform that action at this time.