Join the community today
Register Now

Sysadmin Alternative Public DNS resolvers from Google 8.8.8.8 and 8.8.4.4

Discussion in 'System Administration' started by eva2000, Jul 30, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    I Just came across a DNS resolver issue with some of my VPSes which by default set in /etc/resolv.conf the following Google public dns

    Code:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    However, I couldn't ping out anywhere, so had to try alternative public dns which worked.

    I used Comodo Secure DNS Comodo Secure DNS, Managed DNS Service, Secure DNS Provider

    so
    Code:
    nameserver 8.26.56.26
    nameserver 8.20.247.20
    So something like

    Code:
    options rotate
    options timeout:1
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    nameserver 8.26.56.26
    nameserver 8.20.247.20
    
    Note this won't help with ping tests out as ping looks up the first instance and exits so never gets to try further down the rotation.

    Just a heads up for folks :)
     
    Last edited: Jul 30, 2015
  2. RoldanLT

    RoldanLT Well-Known Member

    3,978
    965
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,329
    Local Time:
    11:20 PM
    1.11
    10.2
    I encounter this when I change CentOS 7.1 default hostname on Linode :D
     
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    well for me the vpses had been running for a few weeks without problem so only happened just today so probably a glitch for 8.8.8.8 for a while