Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th August 2007, 23:45
joelee joelee is offline
Member
 
Join Date: Sep 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS Zone Transfer not complete.

Hi All, I've installed both primary and secondary DNS using the 2 following how-to:

Installing Bind9:
http://howtoforge.com/perfect_setup_debian_etch_p4

Setting up Master & Slave DNS:
http://howtoforge.com/debian_bind9_master_slave_system

Setting up a split with views:
http://howtoforge.com/two_in_one_dns_bind9_views

All seems to work fine so far. However, I am not able to see my external zones get transfered to the secondary dns server. I see the internal zones got transfered from primary to secondary but no external zones.

A look at my syslog file on both machines revelas:
Primary Server: /var/log/syslog
Code:
Aug 17 05:50:48 ns1 named[18357]: starting BIND 9.3.4 -u bind -t /var/lib/named
Aug 17 05:50:48 ns1 named[18357]: found 1 CPU, using 1 worker thread
Aug 17 05:50:48 ns1 named[18357]: loading configuration from '/etc/bind/named.conf'
Aug 17 05:50:48 ns1 named[18357]: /etc/bind/named.conf:12: when using 'view' statements, all zones must be in views
Aug 17 05:50:48 ns1 named[18357]: listening on IPv6 interfaces, port 53
Aug 17 05:50:48 ns1 named[18357]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 17 05:50:48 ns1 named[18357]: listening on IPv4 interface venet0:0, 192.168.10.101#53
Aug 17 05:50:48 ns1 named[18357]: command channel listening on 127.0.0.1#953
Aug 17 05:50:48 ns1 named[18357]: command channel listening on ::1#953
Aug 17 05:50:48 ns1 named[18357]: zone 1.168.192.in-addr.arpa/IN/internal: loaded serial 2007081701
Aug 17 05:50:48 ns1 named[18357]: zone MyDomaninName.com/IN/internal: loaded serial 2007081701
Aug 17 05:50:48 ns1 named[18357]: zone 119.20.219.in-addr.arpa/IN/external: loaded serial 2007081701
Aug 17 05:50:48 ns1 named[18357]: zone MyDomaninName.com/IN/external: loaded serial 2007081701
Aug 17 05:50:48 ns1 named[18357]: running
Aug 17 05:50:48 ns1 named[18357]: zone MyDomaninName.com/IN/internal: sending notifies (serial 2007081701)
Aug 17 05:50:48 ns1 named[18357]: zone MyDomaninName.com/IN/external: sending notifies (serial 2007081701)
Aug 17 05:50:48 ns1 named[18357]: zone 1.168.192.in-addr.arpa/IN/internal: sending notifies (serial 2007081701)
Aug 17 05:50:48 ns1 named[18357]: zone 119.20.219.in-addr.arpa/IN/external: sending notifies (serial 2007081701)
Aug 17 05:50:48 ns1 named[18357]: client 192.168.1.102#40667: view internal: transfer of 'MyDomaninName.com/IN': AXFR started
Aug 17 05:50:48 ns1 named[18357]: client 192.168.1.102#40667: view internal: transfer of 'MyDomaninName.com/IN': AXFR ended
Aug 17 05:50:49 ns1 named[18357]: client 192.168.1.102#37504: view internal: transfer of '1.168.192.in-addr.arpa/IN': AXFR started
Aug 17 05:50:49 ns1 named[18357]: client 192.168.1.102#37504: view internal: transfer of '1.168.192.in-addr.arpa/IN': AXFR ended
Aug 17 05:56:07 ns1 named[18357]: client 192.168.1.102#59129: view internal: transfer of 'MyDomaninName.com/IN': AXFR started
Aug 17 05:56:07 ns1 named[18357]: client 192.168.1.102#59129: view internal: transfer of 'MyDomaninName.com/IN': AXFR ended
Aug 17 06:18:35 ns1 -- MARK --
Secondary Server: /var/log/syslog
Code:
Aug 17 05:56:06 ns2 named[18423]: starting BIND 9.3.4 -u bind -t /var/lib/named
Aug 17 05:56:06 ns2 named[18423]: found 1 CPU, using 1 worker thread
Aug 17 05:56:06 ns2 named[18423]: loading configuration from '/etc/bind/named.conf'
Aug 17 05:56:06 ns2 named[18423]: /etc/bind/named.conf:12: when using 'view' statements, all zones must be in views
Aug 17 05:56:06 ns2 named[18423]: listening on IPv6 interfaces, port 53
Aug 17 05:56:06 ns2 named[18423]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 17 05:56:06 ns2 named[18423]: listening on IPv4 interface venet0:0, 192.168.1.2#53
Aug 17 05:56:06 ns2 named[18423]: command channel listening on 127.0.0.1#953
Aug 17 05:56:06 ns2 named[18423]: command channel listening on ::1#953
Aug 17 05:56:06 ns2 named[18423]: zone 1.168.192.in-addr.arpa/IN/internal: loaded serial 2007081701
Aug 17 05:56:06 ns2 named[18423]: zone MyDomainName.com/IN/internal: loaded serial 2007081701
Aug 17 05:56:06 ns2 named[18423]: running
Aug 17 05:56:06 ns2 named[18423]: zone MyDomainName.com/IN/internal: sending notifies (serial 2007081701)
Aug 17 05:56:07 ns2 named[18423]: zone 1.168.192.in-addr.arpa/IN/internal: sending notifies (serial 2007081701)
Aug 17 05:56:07 ns2 named[18423]: client 192.168.1.2#32796: view internal: received notify for zone 'MyDomainName.com'
Aug 17 05:56:07 ns2 named[18423]: zone MyDomainName.com/IN/internal: refused notify from non-master: 192.168.1.2#32796
Aug 17 05:56:07 ns2 named[18423]: client 192.168.1.2#32796: view internal: received notify for zone '1.168.192.in-addr.arpa'
Aug 17 05:56:07 ns2 named[18423]: zone 1.168.192.in-addr.arpa/IN/internal: refused notify from non-master: 192.168.1.2#32796
Aug 17 05:56:07 ns2 named[18423]: zone MyDomainName.com/IN/external: Transfer started.
Aug 17 05:56:07 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
.101#53 (source 192.168.1.2#0)
Aug 17 05:56:07 ns2 named[18423]: transfer of 'MyDomainName.com/IN' from 192.168.1.1#53: connected using 192.168.1.2#59129
Aug 17 05:56:07 ns2 named[18423]: zone MyDomainName.com/IN/external: transferred serial 2007081701
Aug 17 05:56:07 ns2 named[18423]: transfer of 'MyDomainName.com/IN' from 192.168.1.1#53: end of transfer
Aug 17 05:56:07 ns2 named[18423]: zone MyDomainName.com/IN/external: sending notifies (serial 2007081701)
Aug 17 05:56:07 ns2 named[18423]: client 192.168.1.2#32796: view internal: received notify for zone 'MyDomainName.com'
Aug 17 05:56:07 ns2 named[18423]: zone MyDomainName.com/IN/internal: refused notify from non-master: 192.168.1.2#32796
Aug 17 05:57:05 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
.101#53 (source 192.168.1.2#0)
Aug 17 05:58:45 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
.101#53 (source 192.168.1.2#0)
Aug 17 06:02:21 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
.101#53 (source 192.168.1.2#0)
Aug 17 06:10:05 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
.101#53 (source 192.168.1.2#0)
Aug 17 06:22:31 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
.101#53 (source 192.168.1.2#0)
I would appreciate if anyone can help me identify the problem!

Joe
Reply With Quote
Sponsored Links
  #2  
Old 18th August 2007, 13:46
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

I think this could be the problem:
Quote:
Aug 17 05:58:45 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
Apart from that, there's no indication of problems with the external views in the logs...
__________________
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
  #3  
Old 18th August 2007, 23:35
joelee joelee is offline
Member
 
Join Date: Sep 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
I think this could be the problem:
Quote:
Aug 17 05:58:45 ns2 named[18423]: zone 119.20.219.in-addr.arpa/IN/external: refresh: non-authoritative answer from master 192.168.1
Apart from that, there's no indication of problems with the external views in the logs...
Falko, thanks for the tip... Any idea/suggestions on how I can fix this? Would this fix be in the named.conf file or zone files. I am not much experience in this area. Any help would be appreciated!

Joe
Reply With Quote
  #4  
Old 19th August 2007, 15:55
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

I'd try to replace the nameservers in /etc/resolv.conf on the slave with just your master DNS server.
__________________
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
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
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 15:40
Zone Transfer trouble. vbrookie Installation/Configuration 18 2nd June 2007 21:53
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 15:34
Transfer vServer (1&1) to rServer (netdirekt,ISPconfig) - Part 1 - DNS berli Installation/Configuration 1 12th March 2007 14:38
DNS Default TTL and Reverse Zone WEX General 2 16th June 2006 01:46


All times are GMT +2. The time now is 08:22.


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