Darf Nader
Occasional Visitor
DNS not working locally for ASUSWRT (RT-AC88U)
I have been run ASUSWRT on a number of wifi routers using ASUSWRT for many years and have never had any problems getting local DNS to work by simply defining the hosts in the DHCP assignments GUI which uses the MAC ID to identify hosts and give them an IP. I am not sure what changed- maybe an config change I made or something that came with a firmware update, but accept for when I on the CLI for the router DNS does not work for any client on the LAN. It seems to get the correct DNS resolution info over DHCP with only the ASUSWRT router as the DNS server and correct search domain, but try to resolve the name (FQDN or otherwise) it fails. Only bonjour seems to work, but only when I specify .local after the host for hosts that explicitly advertise a bonjour address. If I connect to my router with nslookup the DNS server is functional as I can lookup any other domains. It just appears that my local domain doesn't contain any of the hosts that I have put in my list of DHCP assignments where before this was always automatic. I have not changed any of the routers DNS settings:
Enable the DHCP Server: Yes
Hide DHCP/RA queries: No
RT-AC88U's Domain Name: home
IP Pool Starting Address: 192.168.250.200 (all assigned IPs by MAC-ID are below this IP)
IP Pool Ending Address: 192.168,.250.240
Lease Time: 86400
Default Gateway: 192.168.250.1
DNS server 1 & 2 are empty
Advertise router's IP in addition to user-specified DNS: Yes
Forward local domain queries to upstream DNS: No
Enable DNSSEC support: No
Enable DNS Rebind protection: Yes (though with "No" behavior is the same
This is how I have been configured for ages though I had been using an external domain for a while and this caused problems when there was a conflict for host that is available both internally and externally, so I went with the local domain instead.
I have detailed information but it contains something that cloudflare thinks is malicious and won't let me post it, but needless to say my dnsmasq files look pretty straightforward.
I have been run ASUSWRT on a number of wifi routers using ASUSWRT for many years and have never had any problems getting local DNS to work by simply defining the hosts in the DHCP assignments GUI which uses the MAC ID to identify hosts and give them an IP. I am not sure what changed- maybe an config change I made or something that came with a firmware update, but accept for when I on the CLI for the router DNS does not work for any client on the LAN. It seems to get the correct DNS resolution info over DHCP with only the ASUSWRT router as the DNS server and correct search domain, but try to resolve the name (FQDN or otherwise) it fails. Only bonjour seems to work, but only when I specify .local after the host for hosts that explicitly advertise a bonjour address. If I connect to my router with nslookup the DNS server is functional as I can lookup any other domains. It just appears that my local domain doesn't contain any of the hosts that I have put in my list of DHCP assignments where before this was always automatic. I have not changed any of the routers DNS settings:
Enable the DHCP Server: Yes
Hide DHCP/RA queries: No
RT-AC88U's Domain Name: home
IP Pool Starting Address: 192.168.250.200 (all assigned IPs by MAC-ID are below this IP)
IP Pool Ending Address: 192.168,.250.240
Lease Time: 86400
Default Gateway: 192.168.250.1
DNS server 1 & 2 are empty
Advertise router's IP in addition to user-specified DNS: Yes
Forward local domain queries to upstream DNS: No
Enable DNSSEC support: No
Enable DNS Rebind protection: Yes (though with "No" behavior is the same
This is how I have been configured for ages though I had been using an external domain for a while and this caused problems when there was a conflict for host that is available both internally and externally, so I went with the local domain instead.
I have detailed information but it contains something that cloudflare thinks is malicious and won't let me post it, but needless to say my dnsmasq files look pretty straightforward.