> nslookup domain.com 95.215.ccc.ddd
DNS request timed out.
timeout was 2 seconds.
Address: 95.215.ccc.ddd
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
firewall-cmd --zone=dmz --add-port=53/tcp --permanent
firewall-cmd --zone=dmz --add-port=53/udp --permanent
It's just asking for problems trying to use the same ip for 2 nameservers.ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.
Please check this:
- Named is running, but it's not responding to requests
http://help.directadmin.com/item.php?id=387
netstat -lnp | grep named
tcp 0 0 IP:53 0.0.0.0:* LISTEN 1549/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1549/named
udp 0 0 IP:53 0.0.0.0:* 1549/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 1549/named
# Generated by NetworkManager
search domain.com
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
I still think it's a firewall related issue. You should check your firewall once more or even disable it and check it.
with tcpdump i can not see any log about port 53! (>tcpdump)Do you have other firewalls? Does your hosting company block any ports? Do you see packets on TCP:53 UDP:53 with tcpdump?
/etc/sysconfig/network-scripts/ifcfg-INTERFACE
/etc/resolv.conf