What's new

Any possibility for built-in DNS server?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

asuswrt

New Around Here
I have FIOS and provided Actiontec MI424WR router.

This particular router has a very nice feature - DNS server. It is integrated with DHCP server, so when new client connects - it either provides a host name or router assigns "new-hostNN" to it. Then admin can change DHCP lease to static and update host name to be used for this MAC. All DHCP assignments are automatically reflected in built-in DNS server. In addition, Admin can add any custom entry to the DNS(like in hosts file: IP name). Local DHCP also has local domain name (RT-N66U also has it).

It is great feature as it makes LAN more peer-to peer friendly and helps in managing local connections. All external DNS requests are forwarded to the DNS servers assigned by the WAN.

PS. I was able to find some old post about DNS on this forum. It seems the answer is dnsmasq.
 
Last edited:
That's exactly what dnsmasq does by default. it will resolve local queries, and will forward the other queries to your ISP's DNS.

Code:
>nslookup camelot

Server:  www.asusnetwork.net
Address:  192.168.10.1

Name:    camelot.lostrealm.lan
Address:  192.168.10.100
 
That's exactly what dnsmasq does by default. it will resolve local queries, and will forward the other queries to your ISP's DNS

It sounds more like OP wants a DHCP assigned hostname (automatically assigned and/or static), that is also automatically entered into DNS.

asuswrt said:
PS. I was able to find some old post about DNS on this forum. It seems the answer is dnsmasq.
Most likely this is correct. I would be surprised if dnsmasq couldn't do this. You should have a look at the dnsmasq man page and dnsmasq.conf.example. You will have to configure this manually (most likely via hosts.add, dnsmasq.conf.add and possibly some custom scripts), there won't be any web UI for it.
 
It sounds more like OP wants a DHCP assigned hostname (automatically assigned and/or static), that is also automatically entered into DNS.

That's precisely what the example I posted was. My desktop called Camelot requests a DHCP lease from the router, supplies the "camelot" name, and dnsmasq adds it to its internal host database, appending the LAN domain configured on the router. Resolving my desktop's hostname returned the FQDN and IP I posted. Same for a reversed lookup:

Code:
C:\Users\Merlin>nslookup 192.168.10.100
Server:  www.asusnetwork.net
Address:  192.168.10.1

Name:    Camelot.lostrealm.lan
Address:  192.168.10.100
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top