CrazyEngineers
  • I've been experimenting with different DNS and wondering whether I should rely on the DNS setting on my computer or on the router? My current network setting is very typical:

    {Computers, Phones, other Wi-Fi Devices} --> Wi-Fi Router --> ONT Device (FTTH) --> Internet

    I can specify the DNS on my computer through the network settings or even set it up in my router. I've typically use Fastest DNS available in India which I believe offers the fastest overall access in India. However, sometimes the DNS just makes the web pages crawl (not sure if it's actually a DNS problem though). I'm therefore thinking of having BSNL's own DNS or OpenDNS as backup option.

    Can someone tell me what'd be the ideal setup? Should I keep altering the DNS on my machine or on the router to find the one that works the best?
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • rahul69

    MemberJun 12, 2015

    DNS settings matter on computer. Not sure about router, as router is supposed to deal with IP addresses, so DNS should not be required on router.
    Are you sure? This action cannot be undone.
    Cancel
  • lovejeet

    MemberJun 13, 2015

    DNS is the record entry with maps your hostname with its respective IP.

    The websites we browse have URLs, say Translate.google.com, and your machine can't communicate the web server with the URL, but the IP.

    To understand this real easy, try pinging a website in cmd, and you would get an IP associated with it.

    Now, for the query, it makes more sense to have DNS on Computer, as the translation of URL will take place on Computer and not on Router.

    Hope it helps.
    Are you sure? This action cannot be undone.
    Cancel
  • durga ch

    MemberJun 13, 2015

    by default your router acts as DNS for your network. Since DNS is hierarchical lookup its the responsibility of the gateway (router) to lookup for DNS queries. Mostly, the DNS server what your home gateway uses will be its own gateway or in short the ISP DNS server.
    How do we know this :
    nslookup

    $ nslookup
    > dns
    Server: 192.168.1.1
    Address: 192.168.1.1#53


    This can then be confirmed by verifying the same using wireshark. If you look at the below sreenshot, the DNS query is directed to my gateway
    DNS1

    now, I change my settings of DNS on my computer, effectively instructing my gateway that I need my DNS queries to be directed o google DNS.
    $ nslookup
    > dns
    Server: 8.8.8.8
    Address: 8.8.8.8#53


    a wireshark dump of a DNS query as below:
    DNS2

    so pretty much changing DNS settings on your computer is sufficient but incase you need the change to be effective for the whole network, altering DNS on the router is advised.
    Are you sure? This action cannot be undone.
    Cancel
  • Ashraf HZ

    MemberJul 21, 2015

    DNS settings on your PC takes higher precedence over router DNS settings, and its for your PC only. The router DNS settings will only be used if you set your device DNS setting to obtain automatically (or in general, obtain IP via DHCP).
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register