restarted server, only some domains now resolve to their sites
i have multiple sites on the same box. they use the same nameservers to resolve. suddenly after restarting the box, some sites resolve and others don't
how can i figure out what's causing this?
-
Hello :) How long ago did you reboot the system? Do the domain names resolve locally? EX: dig @localhost domain.com
Thank you.0 -
rebooted them less than an hour or two ago and this happened. this is the output i get from that command: ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> @localhost domain.com ; (1 server found) ;; global options: printcmd ;; connection timed out; no servers could be reached (just to clarify, i did of course swap domain.com with my own domain, just switched it back for privacy reasons) 0 -
Please check to make sure no firewall rules are blocking connections. Also, try rebuilding the DNS configuration via: mv /etc/named.conf /etc/named.conf.backup /scripts/rebuilddnsconfig
Thank you.0 -
the output of that is as follows: root@snowwhite [/scripts]# /scripts/rebuilddnsconfig Including rndc key file to named.conf Adding controls clause How exactly do I go about checking the firewall? No rules should've been changed recently anyway 0 -
Sometimes rules are restored after a reboot if they were not saved correctly. Do you use a third-party firewall such as CSF? If not, you can temporarily disable iptables via: /etc/init.d/iptables stop
Thank you.0
Please sign in to leave a comment.
Comments
5 comments