DNS Problem One or more of your nameservers did not respond
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I get the following error and my second dns ns2.domain.com is listed.
One or more of your nameservers did not respond:
This could happen for a variety or reasons.
Could be a firewall blocking port 53udp/tcp.
The server is not running or it's not listening on its public IP
Run the following commands on ns2 and see what you get
I get the following when entering netstat -tunapl|grep 53
tcp 0 0 second ns2 ip:53 0.0.0.0:* LIST EN 7855/named
tcp 0 0 second ns2 ip:53 0.0.0.0:* LIST EN 7855/named
tcp 0 0 second ns2 ip:53 0.0.0.0:* LIST EN 7855/named
tcp 0 0 first ns2 ip:53 0.0.0.0:* LIST EN 7855/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LIST EN 7855/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LIST EN 1530/sshd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LIST EN 7855/named
tcp 0 0 :::53 :::* LIST EN 7855/named
tcp 0 0 :::21 :::* LIST EN 1538/xinetd
tcp 0 0 :::22 :::* LIST EN 1530/sshd
tcp 0 0 :::106 :::* LIST EN 1538/xinetd
udp 0 0 0.0.0.0:53 0.0.0.0:* 7855/named
udp 0 0 third ip:53 0.0.0.0:* 7855/named
udp 0 0 fourth ip:53 0.0.0.0:* 7855/named
udp 0 0 second ns2 ip:53 0.0.0.0:* 7855/named
udp 0 0 first ns2 ip:53 0.0.0.0:* 7855/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 7855/named
udp 0 0 :::53 :::* 7855/named
service named status
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
version: 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6 (none)
CPUs found: 16
worker threads: 16
number of zones: 19
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid 7855) is running..
I have configured both the ns1 and ns2 in my own server using two different subnet ips provided to me by the service providers.
The first IP which is used in ns1.mydomain.com always responds and works but for ns2.mydomain.com .. even if I change other ips they do not respond.
I still can't understand what's wrong am a very basic user.
Last edited by nepalproxy; 07-18-2012 at 09:42 PM.
they are all bind in same interface. i.e
ifcfg-venet0
ifcfg-venet0:0
ifcfg-venet0:1
ifcfg-venet0:2
ifcfg-venet0:3
I can nslookup it from other boxes, it resolved it properly but the only problem is that intodns.com shows the following error for my ns2.mydomain.com showing it's ip.
ERROR: One or more of your nameservers did not respond:
The ones that did not respond are: my ns 2 ip address.
I have no idea about firewall, I had centos 6 installed and plesk 10, unmanaged. I used dns template to create everything. Everything works properly the only thing doesn't work is this second name server ns2.mydomain.com and it's domain.. but it's working.. please give me further clues to fix.
I have an ADSL connection and leased line in office, my isp doesn't block port 53, I disabled the iptable in my vps server but still the problem persists.
So you have one named instance running listening on all 4 interfaces and you only get an error for the 2nd of them!!
The netstat output shows that named is listening on that interface, you can use it to resolve hosts locally, so looks like a firewall problem. Run:
Code:
iptables -nvL
to verify that there is no rules loaded.
Try also to use ns2 from outside your lan and see if it works
If everything comes out normal double-check the zone file to see if you have assigned the correct IP to ns2, as I cannot think of something else.
So port 53udp/tcp is open.
Did you check the output of intoDNS to see if lists the correct ip for ns2?
Did you try to use ns2 from outside your network to resolve your domain and see wht you get?
Also you may comment out the following as it's not necessary in your case
Yes it shows the correct ip for ns2.
yes I used it from outside network and it still resolves my ns2
I will comment it out, I really want to get this solved as it's getting too much frustrating and I don't have any clues.. ams ad.
Sure it doesn't make sense.
If you can contact ns2 from outside and it resolves correctly, then I can't think of a reason why intoDNS cannot contact it.
You may check /var/log/messages, (or whatever logfile bind uses for its logs) and see if you get something. Or you can enable bind logging to log queries and check what happens when intoDNS contacts your server
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.