NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

hdtodd's avatar
hdtodd
Guide
Feb 25, 2022
Solved

Is it possible for the R6400 to provide local DNS service (not forward requests; answer them)

I finally realized today that I have lost days of work over the last 3-4 years maintaining tables and software for something that

my router should do: provide local DNS service.  I see from various boards that other routers do so, so maybe I just didn't understand how to configure mine.

 

I've configured my R6400 to provide DHCP service, so it has the names and IP addresses of the various devices on my network (and MAC addresses, though irrelevant for this use).

 

I'd like for any DNS request FROM INSIDE MY NETWORK to be answered by the router from its tables, if possible, before forwarding to the external DNS servers.  For example, a request for "pi-0" (no domain name) should resolve to the IP address the DHCP service has given the Pi without ever going outside the local net.  Any request from outside should be ignored.

 

I *think* I could provide my recently-created internal dnsmasq server address as the first DNS server, as a way to use an internal DNS server.  But it's a redundant piece of work to set up and maintain that dnsmasq server, as it has been to maintain the /etc/hosts files on each of my systems over the last few years, too.  And my router only offers two DNS server slots, so I can't have an external primary and external backup if I use a slot to designate an internal server first (if that would even work).

 

Have I missed something?  Is there a way to use the DHCP table I already maintain as the basis for a DNS service?

 

4 Replies