Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th March 2009, 11:59
x-spirit x-spirit is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default bind9 problems

I have several questions,
firstly how can I generate a full log on bind9 somewhere?
I've tried the logging clause but it seems I wasn't able to figure it out.
Tt this moment it looks like this:
Code:
logging {
        channel default_debug {
                file "/var/log/bind.log";
                print-time yes;
                print-category yes;
                print-severity yes;
                };
        category queries { default_debug; };
        category network { default_debug; };
};
I'm trying to access log files in order to understand why my bind9 is not working. When I try to resolve something a 'timed-out' request comes back.
I've transfered zones from an old server and configured them carefully. I don't know where the problem is.. Can someone help ?
Reply With Quote
Sponsored Links
  #2  
Old 5th March 2009, 17:59
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
Default

timeout usually means the packets are either not getting to the destination or not returning.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 5th March 2009, 19:04
x-spirit x-spirit is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So.. can you suggest where to start traceing the problem.
Becouse I don't have logs either. /var/log/syslog and /var/log/messages are silent about problems with the bind..
Reply With Quote
  #4  
Old 6th March 2009, 14:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Which distribution are you using? How exactly did you set up BIND? Is it running chrooted?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 6th March 2009, 15:03
x-spirit x-spirit is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

a fresh installation of debian lenny, yes, it is chrooted
Reply With Quote
  #6  
Old 6th March 2009, 19:34
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

firewall setup ?
Reply With Quote
  #7  
Old 7th March 2009, 15:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Yes, could be the firewall. What's the output of
Code:
iptables -L
?

How exactly did you install BIND?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 8th March 2009, 02:12
x-spirit x-spirit is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

apt-get install bind
and I haven't set a firewall yet, the ipchains are empty.
Reply With Quote
  #9  
Old 8th March 2009, 17:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 8th March 2009, 20:58
x-spirit x-spirit is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Code:
ns:/home/x-spirit# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN      8165/dovecot
tcp        0      0 *:pop3s                 *:*                     LISTEN      8165/dovecot
tcp        0      0 *:ldap                  *:*                     LISTEN      2762/slapd
tcp        0      0 localhost:10024         *:*                     LISTEN      2587/amavisd (maste
tcp        0      0 localhost:10025         *:*                     LISTEN      7997/master
tcp        0      0 localhost:mysql         *:*                     LISTEN      2653/mysqld
tcp        0      0 *:pop3                  *:*                     LISTEN      8165/dovecot
tcp        0      0 *:imap2                 *:*                     LISTEN      8165/dovecot
tcp        0      0 *:sunrpc                *:*                     LISTEN      2292/portmap
tcp        0      0 ns.refer.bg:domain      *:*                     LISTEN      13084/named
tcp        0      0 localhost:domain        *:*                     LISTEN      13084/named
tcp        0      0 *:ssh                   *:*                     LISTEN      967/sshd
tcp        0      0 *:50008                 *:*                     LISTEN      2303/rpc.statd
tcp        0      0 localhost:953           *:*                     LISTEN      13084/named
tcp        0      0 *:smtp                  *:*                     LISTEN      7997/master
tcp        0      0 localhost:ldap          localhost:48485         ESTABLISHED 2762/slapd
tcp        0      0 ns.refer.bg:ssh         router2.refer.bg:33047  ESTABLISHED 18642/sshd: x-spiri
tcp        0      0 localhost:48485         localhost:ldap          ESTABLISHED 2778/nscd
tcp        0      0 ns.refer.bg:ssh         router2.refer.bg:36153  ESTABLISHED 9751/sshd: x-spirit
tcp        0      0 localhost:56951         localhost:ldap          ESTABLISHED 8166/dovecot-auth
tcp        0      0 localhost:ldap          localhost:56951         ESTABLISHED 2762/slapd
tcp6       0      0 [::]:ldap               [::]:*                  LISTEN      2762/slapd
tcp6       0      0 [::]:www                [::]:*                  LISTEN      19142/apache2
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      967/sshd
tcp6       0      0 localhost:953           [::]:*                  LISTEN      13084/named
tcp6       0      0 [::]:https              [::]:*                  LISTEN      19142/apache2
Reply With Quote
Reply

Bookmarks

Tags
bind, bind9, dns, dns problems, log

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 10:35
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 10:11
apt-get install bind9 badben Installation/Configuration 10 31st December 2007 03:00
Empty Recycle Bin jon335 General 40 6th May 2006 12:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 16:14


All times are GMT +2. The time now is 00:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.