What's new
  • 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!

Issue with DHCP and DNS running Merlin

gyzer

Occasional Visitor
I'm running Merlin 3.0.0.4.246.19 and I'm having issues with DHCP handing out an additional DNS server. I have a linux server that I run DNS on but I want to leave DHCP on my router. When I put my server's ip address in the DNS field under the DHCP settings and I save the settings, all of the computers on my network get two DNS servers, the router and my server.

I really want to keep DHCP running on my router so I can use the guest networks. Otherwise I will have to abandon using DHCP on the router and just set it up on my server.

Any help would be greatly appreciated.
 
By default the router will return its own IP as DNS server, and the router then acts as a DNS server. If you want to use a server on your LAN for DNS then have the router return that server's IP instead of the router's IP, under LAN -> DHCP Server.

If your clients still get a different DNS, then it means you have another DHCP server running on your LAN that is processing DHCP requests instead of your router.
 
I have put my server's IP address under LAN > DHCP, but my clients are getting both the server and the router's ip's for DNS servers.

Can a config file for dhcp be overwritten in the command line?
 
I have put my server's IP address under LAN > DHCP, but my clients are getting both the server and the router's ip's for DNS servers.

Can a config file for dhcp be overwritten in the command line?

If your clients get other DNS than the one entered on that page then something must be wrong. The DHCP server should not provide any other DNS than what is entered on that page AFAIK. My PC for example only reports "192.168.10.1" as DNS.

Are you sure you don't have static DNS entered on your PC? There is also an occasional issue where Windows would use DNS servers that were previously configured, and not display them on the interface configuration page.

On the router, do you have "Connect to DNS Servers automatically" set to "Yes" on the WAN page?
 
I checked this on my N66U

If i fill in an ip address in the DNS Server field in LAN -DHCP Server, computers will get 2 dns servers

The primary will be the one filled in in the field in LAN -> DHCP Server
The secondary will be the router
 
I checked this on my N66U

If i fill in an ip address in the DNS Server field in LAN -DHCP Server, computers will get 2 dns servers

The primary will be the one filled in in the field in LAN -> DHCP Server
The secondary will be the router

Sounds counter-intuitive. I'll have to take a look at this sometime.
 
Similar threads
Thread starter Title Forum Replies Date
B Issue with wired clients on ASUS N56U ASUS N Routers & Adapters 0

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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