Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: DNS definition: router, PC, or both

10 Jan 2019   #1
GRoston

Windows 7 x64 Pro
 
 
DNS definition: router, PC, or both

I can think of two ways to configure DNS servers:
1: Router defined
  • On router: Define the desired DNS servers
  • On Windows 7, Ethernet adapter properties: Set the DNS server to the address of the router
2: Computer defined
  • On router: Define the desired DNS servers (not sure that this matters in this case)
  • On Windows 7, Ethernet adapter properties: Set the addresses of the desired DNS servers
Questions:
  1. Are these two approach equivalent? The former is preferred because it allows one to manage DNS servers for a network in one place.
  2. In the second case, what role, if any, do the defined DNS servers in the router play?
I am asking this because, after some recent changes, one application is not properly resolving host addresses... Thanks!


My System SpecsSystem Spec
.
10 Jan 2019   #2
samuria

win 8 32 bit
 
 

DNS on the router is only used by default via DHCP if it's set on the PC that's the one used. If the router is used it's an extra hop as the PC asks the router who knows nothing so it goes to a DNS server which replies to the router who passed it back to PC so there is delay. If it's a cheap router it can suffer performance if it's doing lots of extra work doing DNS. A DNS server will hold Billions of records
My System SpecsSystem Spec
11 Jan 2019   #3
Alejandro85

Windows 7 Ultimate x64
 
 

They're not equivalent, but are similar. As you said, the main advantage of setting DNSs in the router is to have a central place for many computers, so if you ever need a change, you do it in a single place and it applies to every single computer out there.


The second one also as an advantage that individual computers can override the network-wide setting and use its own, if ever the need arises. In that case, the router settings are ignored (the router isn't even queried), so it doesn't play any role here, for that computer at least.
What really happens is that, when the computer needs to resolve a DNS, it goes to, say, your ISP directly, skipping the router. In the first case Windows will query the router (without any further knowledge of what happens after that) and the router in turn will delegate the query to your ISP or prefered DNS server.


Also, as Samuria said, there is a performance hit when using the router as an intermediate DNS server, as there is an extra query going on. It's unlikely to be noticeable, as it's only an extra LAN call, strictly speaking, it's a bit slower.




Quote   Quote: Originally Posted by samuria View Post
If it's a cheap router it can suffer performance if it's doing lots of extra work doing DNS. A DNS server will hold Billions of records

It won't affect that much actually. Your router internal DNS server won't hold those "billions" of records, instead will only forward calls to some other server, and, at most, will keep some as a cache for performance, that in time will be phased out. Even with really cheap routers, it's unlikely to be a problem, unless serving a VERY big network of active computers.
My System SpecsSystem Spec
.

11 Jan 2019   #4
samuria

win 8 32 bit
 
 

net gear routers often fall over if there are a few users using it as dns
My System SpecsSystem Spec
14 Jan 2019   #5
GRoston

Windows 7 x64 Pro
 
 

As noted, I asked this question because of some wrong DNS behavior I experienced after changing my system configuration to that which I referred to as 'router defined'. Once I did this, one particular application could not access a specific domain via its domain name, but it could when I used its IP address.

Based on another discussion, and as suggested also by samuria, the problem I experienced (with my TP-LINK router) might be that the router has a broken DNS forwarder. When I switched to the 'computer defined' configuration, then everything again works (with my choice of DNS server as opposed to my ISP's).

Thanks for your helpful replies.
My System SpecsSystem Spec
Reply

 DNS definition: router, PC, or both




Thread Tools




Similar help and support threads
Thread Forum
can we capture the router download and upload speed as shown in router
Hi, I am having two details, capable and actual download and upload speed in meba bytes in my router dlink 2730 u model. Can i capture this actual download and upload speed details in the desktop, so that i need not log in to the router every time to check or to go to speed showing websites . Is...
Network & Sharing
Microsoft High Definition Driver vs Realtek high definition audio driv
Microsoft High Definition Driver vs Realtek high definition audio driver?
Drivers
Connecting Wireless router to Cable Modem/Router
My wife's sister has Comcast Cable. They installed a Modem/Router that the wireless part seems to have died. Can a wireless router be connected via ethernet cable to the cable modem/ router?
Network & Sharing
realtek high definition audio and high definition audio device problem
Hi everyone, I would be very grateful for some help please! My laptop recently installed a BIOS update - I don't know what this was but since it happened I have been having sound problems with my laptop. After the update I had no sound. I read around and found how to get the sound back on - I...
Sound & Audio
conexant high definition audio and intel(R) High Definition Audio HDMI
i have a gateway computer and i want to record some audio from my computer. i looked online how to do this and stereo mixer kept coming up. i looked in my sound and show disabled and disconnected devices are both selected and i do not see stereo mixer in the list of recording devices. can someone...
Sound & Audio


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:17.
Twitter Facebook Google+