DNS Refuses to Resolve

General support questions
Post Reply
matthewbartlett
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 8.8.8.8 for DNS. So I've set my DNS server to 8.8.8.8 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 8.8.8.8 over TCP port 53.

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

Thanks!

User avatar
TrevorH
Forum Moderator
Posts: 26621
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 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 6 - General Support”