LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   BIND responds but no output (https://www.linuxquestions.org/questions/linux-server-73/bind-responds-but-no-output-4175418723/)

eddyr3 07-26-2012 02:27 AM

BIND responds but no output
 
Hi Guys, i am trying to setup BIND on CentOS6 and not having much luck.

From the local machine, BIND works great at resolving addresses, but remotely, its a no go. Although i have tried this with firewall off and on, still no luck.

My Conf files are below :

/etc/named.conf

Code:

//
// named.conf for Red Hat caching-nameserver
//
options {
  directory "/var/named";
  dump-file "/var/named/data/cache_dump.db";
  statistics-file "/var/named/data/named_stats.txt";
/*
 * If there is a firewall between you and nameservers you want
 * to talk to, you might need to uncomment the query-source
 * directive below.  Previous versions of BIND always asked
 * questions using port 53, but BIND 8.1 uses an unprivileged
 * port by default.
 */
 query-source address * port 53;
listen-on port 53 { any; };

};

//
// a caching only nameserver config
//
view "external" {
match-clients { any; };
recursion no;
zone "localhost" IN {
  type master;
  file "localhost.zone";
  allow-update { none; };
};

zone "new-directionmedia.co.uk" IN {
  type master;
  file "/var/named/new-directionmedia.co.uk.db";
  allow-update { none; };
};

zone "0.168.192.in-addr.arpa" IN {
  type master;
  file "/var/named/0.168.192.rev";
  allow-update { none; };

Any input or suggestions would be great! :)

acid_kewpie 07-26-2012 02:32 AM

what does "it's a no go" mean? It works but it doesn't? huh? If you can't resolve from other machines, make sure iptables isn't blocking 53/udp.

eddyr3 07-26-2012 02:42 AM

Thanks for the reply :)

I have turned IPtables off and still cant get a reponse from remote machine....thats what i mean "its a no go"

I can resolve from local machine, but not remote

lithos 07-26-2012 03:48 AM

Quote:

Originally Posted by eddyr3 (Post 4738290)
Thanks for the reply :)

I have turned IPtables off and still cant get a reponse from remote machine....thats what i mean "its a no go"

I can resolve from local machine, but not remote

Are you trying to do an "open DNS" to everyone out in "the wild" (internet) ?

Please provide what commands are you using when doing the tests and the output you get
for others to easier understand what you are doing (we are not psychics and we don't know what are you doing).


All times are GMT -5. The time now is 06:17 AM.