Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Reduced my ping from 57ms to 42ms by changing DNS servers

  • 21-10-2010 4:26pm
    #1
    Registered Users, Registered Users 2 Posts: 3,470 ✭✭✭


    I thought I'd share the following with you guys. I was browsing to find a good/fast public DNS server and found the following open source program that finds and recommends the best primary and secondary dns server based on your location. Didn't think it would make a difference but when I changed to the programs recommended servers I reduced my speedtest ping from 57ms to 42ms :eek:

    Anyway the program is called Namebench and can be downloaded at the following link,

    http://code.google.com/p/namebench/


Comments

  • Registered Users, Registered Users 2 Posts: 7,606 ✭✭✭Jumpy


    DNS has no effect on ping.

    A fast DNS server will only speed up your name resolution.


  • Registered Users, Registered Users 2 Posts: 3,470 ✭✭✭DonJose


    Jumpy wrote: »
    DNS has no effect on ping.

    A fast DNS server will only speed up your name resolution.

    Well the speedtest went from 57ms to 42ms, so something changed somewhere.


  • Registered Users, Registered Users 2 Posts: 7,606 ✭✭✭Jumpy


    That test is based on an average. It is rare you will get the same result twice.

    Even pings to boards.ie can vary widely depending on both local and server load.


  • Registered Users, Registered Users 2 Posts: 7,606 ✭✭✭Jumpy


    Probably a poor example as I am on a fast connection but...

    Pinging loadbalancer.boards.ie [89.234.66.107] with 32 bytes of data:
    Reply from 89.234.66.107: bytes=32 time=8ms TTL=60
    Reply from 89.234.66.107: bytes=32 time=10ms TTL=60
    Reply from 89.234.66.107: bytes=32 time=8ms TTL=60
    Reply from 89.234.66.107: bytes=32 time=7ms TTL=60
    
    Ping statistics for 89.234.66.107:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 7ms, Maximum = 10ms, Average = 8ms
    


  • Registered Users, Registered Users 2 Posts: 32,417 ✭✭✭✭watty


    You'll maybe see the first ping slightly higher time sometimes, nothing to do with DNS. DNS is resolved separately from the ping.
    no DNS on each ping. Ping uses the IP.

    999246338.png

    You get variation anyway...
    C:\WINDOWS>ping www.heanet.ie
    
    Pinging samhain.heanet.ie [193.1.219.57] with 32 bytes of data:
    
    Reply from 193.1.219.57: bytes=32 time=19ms TTL=59
    Reply from 193.1.219.57: bytes=32 time=23ms TTL=59
    Reply from 193.1.219.57: bytes=32 time=17ms TTL=59
    Reply from 193.1.219.57: bytes=32 time=16ms TTL=59
    
    Ping statistics for 193.1.219.57:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 16ms, Maximum = 23ms, Average = 18ms
    
    C:\WINDOWS>ping 193.1.219.57
    
    Pinging 193.1.219.57 with 32 bytes of data:
    
    Reply from 193.1.219.57: bytes=32 time=26ms TTL=59
    Reply from 193.1.219.57: bytes=32 time=23ms TTL=59
    Reply from 193.1.219.57: bytes=32 time=38ms TTL=59
    Reply from 193.1.219.57: bytes=32 time=19ms TTL=59
    
    Ping statistics for 193.1.219.57:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 19ms, Maximum = 38ms, Average = 26ms
    

    You can see 2nd time when I typed IP (thus DNS can't be involved at all, though ARP may be) that ironically the Ping was higher!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 32,417 ✭✭✭✭watty


    Jumpy wrote: »
    DNS has no effect on ping.

    A fast DNS server will only speed up your name resolution.

    Poor DNS can affect web page load times it there are iframes and lots of content from different sites, like Adverts.


  • Closed Accounts Posts: 4,584 ✭✭✭digme


    watty wrote: »
    Poor DNS can affect web page load times it there are iframes and lots of content from different sites, like Adverts.
    also when you visit the page a second time you don't have to make a tcp connection for said images again
    :)


Advertisement