Additional steps needed for router's FQDN to work locally
ivordurham opened this issue · 0 comments
ivordurham commented
I had to make two additional configuration changes before the local lookup of the FQDN for the router would work:
-
Add the "localise-queries" option to the DNS forwarding configuration so that it would look at the static host-name map in /etc/hosts before forwarding to the external nameservers:
set service dns forwarding options localise-queries
My configuration is now:
forwarding {
cache-size 150
listen-on switch0
name-server 8.8.8.8
name-server 8.8.4.4
options localise-queries
}
- Configure the DHCP server with the router IP address as the only DNS server.