Where in my network should I set DNS servers for the best performance?

3

1

I have a DSL modem, a router, and a Windows machine. Each piece of equipment can set the DNS server IP addresses or be set to automatic. Where/how should the DNS servers be set for best performance?

Leonard Madison

Posted 2011-10-16T12:15:25.973

Reputation: 31

Answers

3

For best flexibility I'd vote for the router. He's that part of your equipment that sees both worlds: The Internet and your "Intranet". This way you don't have to worry if you connect further devices in your network (maybe a tablet PC, a smartphone or a second computer - maybe a friend will eventually come to your place with his Laptop).

Also most routers offer to manage a host list of your devices connected to the private network, so you don't have to maintain a hosts file on each device seperately.

Generally you shouldn't worry about performance when it comes to a private DNS caching server - what you should worry about is availability - which device is reachable by all my equipment and which device is most unlikely to be turned off when I want to connect to the Internet?

Performance issues come to mind if several hundred clients have to be served.

ktf

Posted 2011-10-16T12:15:25.973

Reputation: 2 168

1

The DSL modem should grab the DNS settings for you. Then have the router just hand those settings out. On such a small network, there will be no difference.

surfasb

Posted 2011-10-16T12:15:25.973

Reputation: 21 453

-1

Use Google's Nameservers!

8.8.4.4
8.8.8.8

They are distributed all over the world (BGP Anycast) and are uncensored and fast!

DE => ;; Query time: 58 msec
GB => ;; Query time: 44 msec
JP => ;; Query time: 49 msec

Franz Bettag

Posted 2011-10-16T12:15:25.973

Reputation: 239

Any data regarding "fast"? – Hello71 – 2011-10-16T15:22:19.183

just did those a few sec ago on a domain of mine via dig mydomain @8.8.8.8 on various CDN-boxes of mine. – Franz Bettag – 2011-10-16T15:36:19.747

2

Versus other nameservers? https://code.google.com/p/namebench/

– Hello71 – 2011-10-16T15:39:33.867

This sort of suggestion is sometimes made by people unaware of the consequences of trusting someone that one has no contractual relationship with for proxy DNS service. Using someone else's proxy DNS service is risky. It can allow that person to subvert all sorts of things, including things that one might think to be secure. It's not something to blithely do on the simple recommendation on WWW sites of random people that one doesn't know. "Where do you think www.microsoft.com. will go, today?"

– JdeBP – 2011-10-16T16:01:52.107

I use my own nameservers since i have my own dns infrastructure. they don't recurse unless you're out of my range. but whenever i cannot use them, i use googles, because in my opinion, they are still a trustworthy entity. if you believe otherwise, then do so, i am merely stating facts. i am not saying you should use them, but there are good reason why you could use them. Please don't make this a religious war. – Franz Bettag – 2011-10-16T20:49:36.967

1You are stating that people should use them. You do so in the first three words of that answer. Stop trying to misrepresent yourself. This isn't religion. This is about dopey recommendations made off the cuff, like yours here, to do things that are risky. – JdeBP – 2011-10-17T07:11:52.257