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
Site Admin
Posts: 33202
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
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply