UniFi Gateway - DNS

DNS provides various custom DNS record types that can be resolved by devices.


DNS Record Types

Several different record types can be created:

  • Host (A) - Resolve a domain name to an IPv4 address.
  • Host (AAAA) - Resolve a domain name to an IPv6 address.
  • Mail (MX) - Main Exchange entry for a domain name. 
  • Text (TXT) - Text entry for a domain name.
  • Service (SRV) - Service entry for a domain name. 
  • Forward - Forward all queries for a specific domain to a different DNS server.
    • When using forward, consider that the UniFi Gateway needs to be able to reach the DNS server. If the DNS server is reachable over a VPN Client connection, add a static route for the DNS server's IP address / subnet with the VPN server's IP address or VPN Client interface as the next hop.

Note: CNAME records are currently not available but will be added in a future release.

Was this article helpful?
100 out of 132 found this helpful