#1  
Old 2nd November 2010, 20:19
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Exclamation Bind9 Issues:

I am currently having problems with getting Bind9 to work properly.
ISPCONFIG 3.0.3
Ubuntu 10.10

I've updated the NameServers in the Godaddy CP which are also pointing there now.

I've added a DNS Zone using the template as usual but unable to get any response from the Domain.

I restart Bind9 and this is the error I'm getting:
Quote:
Nov 2 15:29:45 ubuntuServer named[19870]: zone 0.in-addr.arpa/IN: loaded serial 1
Nov 2 15:29:45 ubuntuServer named[19870]: zone 127.in-addr.arpa/IN: loaded serial 1
Nov 2 15:29:45 ubuntuServer named[19870]: zone 255.in-addr.arpa/IN: loaded serial 1
Nov 2 15:29:45 ubuntuServer named[19870]: zone localhost/IN: loaded serial 2
Nov 2 15:29:45 ubuntuServer named[19870]: zone iwebsource.net/IN: NS 'NS1.IWEBSOURCE.NET' has no address records (A or AAAA)
Nov 2 15:29:45 ubuntuServer named[19870]: zone iwebsource.net/IN: NS 'NS2.IWEBSOURCE.NET' has no address records (A or AAAA)
Nov 2 15:29:45 ubuntuServer named[19870]: zone iwebsource.net/IN: not loaded due to errors.
Nov 2 15:29:45 ubuntuServer named[19870]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found

Nov 2 15:29:45 ubuntuServer named[19870]: managed-keys-zone ./IN: loaded serial 0
Nov 2 15:29:45 ubuntuServer named[19870]: running
Here is my output from:
Quote:
user@Server:/etc/bind# dig @localhost iwebsource.net

; <<>> DiG 9.7.1-P2 <<>> @localhost iwebsource.net
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 63557
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;iwebsource.net. IN A

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Nov 2 16:17:00 2010
;; MSG SIZE rcvd: 32
I double checked to make sure that the ISPCONFIG is pointing to the proper Bind9 directory, which it is.

More output info:
Quote:
user@Server:/etc/bind# nslookup iwebsource.net 192.168.2.98
Server: 192.168.2.98
Address: 192.168.2.98#53

** server can't find iwebsource.net.iwebsource.net: SERVFAIL

Does anyone have any ideas why this isn't working for me?

Last edited by astewart; 2nd November 2010 at 20:37.
Reply With Quote
Sponsored Links
  #2  
Old 2nd November 2010, 22:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,468
Thanks: 813
Thanked 5,253 Times in 4,119 Posts
Default

As the error message says, you missed to add A-Records for NS1.IWEBSOURCE.NET and NS2.IWEBSOURCE.NET. A subdomain can normally not be used as ns record for the same domain, its the hen <> egg problem. To solve that, you have to add glue records in the domain server of the registry where you registered the domain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd November 2010, 14:57
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Default

Odd, I have already setup a glued Record in the Godaddy CP. This was working properly when I was using the old 'mydns' on my old server but not with Bind9 on this server.

I'm just trying to understand exactly what you mean though, because in the Godaddy CP, for the iwebsource.net domain, I added 'ns1' and 'ns2', then assigned my servers external IP address:


Am I not suppose to use the same NS for the same domain name?
Reply With Quote
  #4  
Old 3rd November 2010, 15:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,468
Thanks: 813
Thanked 5,253 Times in 4,119 Posts
Default

And you added NS1.IWEBSOURCE.NET and NS2.IWEBSOURCE.NET A-records also in the zone IWEBSOURCE.NET in ispconfig? Adding them only at godaddy is not enough, you have to add them in the zone as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd November 2010, 20:32
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Question

I thought the wizard does that automatically.
Any how, I did add two 'A' records for the name servers under that domains zone as well but no luck. (The image pic doesn't show the 2 A records I added though).





Still nothing is working right

What am I missing here?
Reply With Quote
  #6  
Old 4th November 2010, 14:20
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Question

Quote:
Originally Posted by till View Post
And you added NS1.IWEBSOURCE.NET and NS2.IWEBSOURCE.NET A-records also in the zone IWEBSOURCE.NET in ispconfig? Adding them only at godaddy is not enough, you have to add them in the zone as well.
So this is what I have set in ISPCONFIG:



Quote:
user@Server:/# nslookup ns1.iwebsource.net
Server: 192.168.2.1
Address: 192.168.2.1#53

** server can't find ns1.iwebsource.net.iwebsource.net: SERVFAIL
Quote:
user@Server:/# dig @localhost ns1.iwebsource.net

; <<>> DiG 9.7.1-P2 <<>> @localhost ns1.iwebsource.net
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 50558
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ns1.iwebsource.net. IN A

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Nov 4 10:14:27 2010
;; MSG SIZE rcvd: 36
Reply With Quote
  #7  
Old 4th November 2010, 18:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Seems as if your nameserver isn't responding:
http://www.intodns.com/iwebsource.net

What's the output of
Code:
netstat -tap
and
Code:
netstat -uap
? Can you post the iwebsource.net zone file?
__________________
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 4th November 2010, 18:10
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Default

netstat -tap
Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 731/mysqld
tcp 0 0 localhost:spamd *:* LISTEN 918/spamd.pid
tcp 0 0 *:www *:* LISTEN 954/apache2
tcp 0 0 *:tproxy *:* LISTEN 954/apache2
tcp 0 0 *:8181 *:* LISTEN 954/apache2
tcp 0 0 ubuntuServer.iwe:domain *:* LISTEN 20378/named
tcp 0 0 localhost:domain *:* LISTEN 20378/named
tcp 0 0 *:ftp *:* LISTEN 1595/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 5245/sshd
tcp 0 0 localhost:953 *:* LISTEN 20378/named
tcp 0 0 *:smtp *:* LISTEN 5412/master
tcp 0 0 *:https *:* LISTEN 954/apache2
tcp 0 0 localhost:10024 *:* LISTEN 914/amavisd (master
tcp 0 0 localhost:10025 *:* LISTEN 5412/master
tcp 0 0 localhost:mysql localhost:34067 TIME_WAIT -
tcp 0 0 localhost:mysql localhost:40218 ESTABLISHED 731/mysqld
tcp 0 0 localhost:mysql localhost:34066 TIME_WAIT -
tcp 0 0 ubuntuServer.iwebso:ssh CGI_WORK:36484 ESTABLISHED 22205/1
tcp 0 0 localhost:mysql localhost:36536 ESTABLISHED 731/mysqld
tcp 0 0 ubuntuServer.iwebso:ftp 221.148.81.46:35892 ESTABLISHED 22846/pure-ftpd (ID
tcp 0 52 ubuntuServer.iwebso:ssh CGI_WORK:54617 ESTABLISHED 18339/0
tcp 0 0 localhost:34065 localhost:mysql TIME_WAIT -
tcp 0 0 ubuntuServer.iweb:42299 ubuntuserver2.iwebs:ssh ESTABLISHED 22243/ssh
tcp 0 0 localhost:40218 localhost:mysql ESTABLISHED 19505/amavisd (ch9-
tcp 0 0 localhost:36536 localhost:mysql ESTABLISHED 19694/amavisd (ch9-
tcp 0 0 localhost:34064 localhost:mysql TIME_WAIT -
tcp6 0 0 [::]op3 [::]:* LISTEN 1472/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 1438/couriertcpd
tcp6 0 0 [::]:domain [::]:* LISTEN 20378/named
tcp6 0 0 [::]:ftp [::]:* LISTEN 1595/pure-ftpd (SER
tcp6 0 0 [::]:ssh [::]:* LISTEN 5245/sshd
tcp6 0 0 localhost:953 [::]:* LISTEN 20378/named
tcp6 0 0 [::]:imaps [::]:* LISTEN 1458/couriertcpd
tcp6 0 0 [::]op3s [::]:* LISTEN 1492/couriertcpd
netstat -uap
Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 ubuntuServer.iwe:domain *:* 20378/named
udp 0 0 localhost:domain *:* 20378/named
udp 0 0 ubuntuServer.iwebso:ntp *:* 5309/ntpd
udp 0 0 localhost:ntp *:* 5309/ntpd
udp 0 0 *:ntp *:* 5309/ntpd
udp6 0 0 [::]:domain [::]:* 20378/named
udp6 0 0 fe80::211:24ff:fe3b:ntp [::]:* 5309/ntpd
udp6 0 0 localhost:ntp [::]:* 5309/ntpd
udp6 0 0 [::]:ntp [::]:* 5309/ntpd
I am assuming that the Zone file for iwebsource.net is?:
pri.iwebsource.net
Quote:
$TTL 86400
@ IN SOA NS1.IWEBSOURCE.NET. admin.iwebsource.net. (
2010110303 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

iwebsource.net. A 24.137.127.173
iwebsource.net. MX 10 mail.iwebsource.net.
iwebsource.net. NS NS1.IWEBSOURCE.NET.
iwebsource.net. NS NS2.IWEBSOURCE.NET.
mail A 24.137.127.173
NS1.IWEBSOURCE.NET A 24.137.127.173
NS2.IWEBSOURCE.NET A 24.137.127.173
www A 24.137.127.173
Reply With Quote
  #9  
Old 5th November 2010, 01:03
astewart astewart is offline
Member
 
Join Date: Feb 2007
Posts: 95
Thanks: 1
Thanked 7 Times in 7 Posts
Default

sooo, bump I guess
Reply With Quote
  #10  
Old 5th November 2010, 14:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Code:
NS1.IWEBSOURCE.NET A 24.137.127.173
NS2.IWEBSOURCE.NET A 24.137.127.173
You've forgotten the final dots. It must look as follows:

Code:
NS1.IWEBSOURCE.NET. A 24.137.127.173
NS2.IWEBSOURCE.NET. A 24.137.127.173
__________________
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
The Following User Says Thank You to falko For This Useful Post:
astewart (5th November 2010)
Reply

Bookmarks

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
Converting from MyDNS to bind9 on Ubuntu 9.04 DantePasquale Installation/Configuration 2 6th August 2010 14:24
Bind9 issues within company network... happz Installation/Configuration 4 20th May 2009 17:02
DNS master server: bind9 issues lordshadow Server Operation 6 24th September 2008 00:34
apt-get install bind9 badben Installation/Configuration 10 31st December 2007 02:00
bind9 and its use Ovidiu General 1 19th September 2005 14:56


All times are GMT +2. The time now is 12:58.


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