DNS Refuses to Resolve

General support questions
Post Reply
Posts: 1
Joined: 2019/08/22 10:23:06

DNS Refuses to Resolve

Post by matthewbartlett » 2019/08/22 10:24:16

I started building a new environment at AWS not long ago, but was pulled away for other projects. Now I've been asked to start work at AWS again, and I've run into an immediate snag.

I had a Windows Active Directory domain set up, that the Centos box talked to just fine. 2 Windows Server 2008r2 domain controllers.
After turning everything back on, CentOS refused to resolve any DNS queries, saying it could not contact the DNS server. I was having some issues with one of the DC's, so I decided to try removing the domain from the equation- pointing CentOS at for DNS. So I've set my DNS server to and am able to ping/telnet to that address. However, nslookup, dig, ping by DNS name, all fail, saying DNS server cannot be reached. I've made sure iptables is stopped, but I don't think that's the issue because I am able to telnet to over TCP port 53.

I am not having much luck troubleshooting this issue. Any help or pointers are greatly appreciated!


User avatar
Forum Moderator
Posts: 28550
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: DNS Refuses to Resolve

Post by TrevorH » 2019/08/22 12:00:37

Post the output from ls -laZ /etc/nsswitch.conf
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 6 - General Support”