BIND answers locally but not when queried by remote servers
Hi, I've setup the "named" server to answer DNS queries. When I issue the command "dig @<DNS server IP> www.domain.com", it gives me the proper records, and logs a line at /var/log/messages.
However, when I tried to do the same from another Linux terminal, it says: Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> @<DNS server IP> www.domain.com I checked the firewall by doing a telnet test from another server to port 53. It connects fine so the port isn't blocked. Any idea what is happening? |
may be because you have to allow the quires to your bind installation from any host.
you have to check your named.conf file "which should be under /etc" check for an entry “allow-query” and its value is defined as “localhost;” so you have to change it to “any” after modifying the config file just restart the bind. |
Isn't by not including the "allow-query" directive, its default setting would allow any servers to query it?
|
i guess you are right about allow-query directive
Quote:
Quote:
|
All times are GMT -5. The time now is 01:52 PM. |