error: ** server can't find 79.20.168.192.in-addr.arpa: REFUSED
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
check your netfilter OUTPUT chain (iptables -L OUTPUT); are there any rules to permit outbound udp destined to port 53?
either a) your resolver libraries are communicating with the local dns server and it can't send the udp packets out; or b) your resolver libraries are trying to reach an across-the-network dns server and can't send out the udp packets.
i am on client then
[root@test ~]# nslookup pc1.example.com
Server: 192.168.0.100
Address: 192.168.0.100#53
** server can't find pc1.redhat.com: REFUSED
please help me out i am really in fix.
fyi: i can ping by ip but not with name.
if i run commands on server all works well
but this is only client side,
please let me know how to solv it
(please text in detail)
thanks a lot in advance
Rahi
in
listen-on port 53 { 127.0.0.1; }; (inisted of 127.0.0.1 i did my dns server ip)
allow-query { localhost; }; (its same localhost, once i tried with any
but same problem.
ON CLIENT
[root@pc2 ~]# nslookup pc1.redhat.com
Server: 192.168.0.100
Address: 192.168.0.100#53
** server can't find pc1.redhat.com: REFUSED
[root@pc2 ~]# host pc1.redhat.com
Host pc1.redhat.com not found: 5(REFUSED)
;; ANSWER SECTION:
pc1.redhat.com. 86400 IN A 192.168.0.100
;; AUTHORITY SECTION:
redhat.com. 86400 IN NS pc1.redhat.com.
;; Query time: 0 msec
;; SERVER: 192.168.0.100#53(192.168.0.100)
;; WHEN: Sat Mar 12 12:17:04 2011
;; MSG SIZE rcvd: 62
Please let me know friends where is the problem i am really in
fix. what should i do i am facing problem on clients only not on server.
i have created my private pc1.redhat.com dns server for practice.i have given nameserver 192.168.0.100 on client /etc/resolv.conf file also.
please assist me . thanks a lot in advance
allow-query { 192.168.0.100; }; (i also tried like this but same problem
please friends help me out.
thanks alot
Well here's one cause of the problem:
You want to change this line
Code:
allow-query { 192.168.0.100; };
to whatever networks are allowed to access the server for DNS. Here are some examples:
Code:
allow-query {192.168.2.1; 192.168.2.24;}; (by IP Addresses)
allow-query { 192.168.0.0/24; }; (by networks)
allow-query { localnets; }; (I prefer this one myself, it'll allow any clients it recognizes as a network it's on to query it)
This is one reason the server can do "dig pc1.redhat.com", but the clients can't.
Dear Friends,
i was having this probe but now its solved, thanks a lot Mr. Glennt for you valuable responses.
i change my "any" inisted of before one.
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
query-source port 53;
query-source-v6 port 53;
allow-query { any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { any; };
match-destinations { any; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.