LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-26-2012, 02:27 AM   #1
eddyr3
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
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!
 
Old 07-26-2012, 02:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 07-26-2012, 02:42 AM   #3
eddyr3
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-26-2012, 03:48 AM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by eddyr3 View Post
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).

Last edited by lithos; 07-26-2012 at 03:50 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND responds but no output eddyr3 Linux - Server 1 07-26-2012 11:33 AM
LXer: Monty Responds LXer Syndicated Linux News 0 12-18-2009 10:31 PM
Very slow Desktop responds mickeyboa Fedora 2 03-29-2009 08:29 AM
apache responds and sends no data? jiml8 Linux - Networking 3 09-15-2008 09:53 PM
Server responds to 2 IP addresses albracco Linux - Networking 3 03-17-2006 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration