Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd December 2009, 00:25
lucani lucani is offline
Member
 
Join Date: Nov 2009
Posts: 81
Thanks: 4
Thanked 4 Times in 3 Posts
Exclamation ISPConfig3 MyDNS-ng master axfr zone transfer to bind9 slave

Hello!

It's 3rd day when I'm fighting with zone transfers from MyDNS to bind server. I read hundreds of pages from this forum and from google but it still doesn't work.

Firstly, I set IPs in "allow zone transfers" in DNS tab in ISPConfig,
secondly, I recompile fixed mydns-ng (http://www.howtoforge.com/forums/sho...t=32145&page=2),
next I edit config MyDNS config file (mydns.conf):

Code:
log = LOG_DAEMON        # Facility to use for program output (LOG_*/stdout/stder
pidfile = /var/run/mydns.pid    # Path to PID file
timeout = 120   # Number of seconds after which queries time out
multicpu = 1    # Number of CPUs installed on your system
recursive =                      # Location of recursive resolver
allow-axfr = yes # Should AXFR be enabled?
allow-tcp = no  # Should TCP be enabled? I'm not sure
allow-update = yes       # Should DNS UPDATE be enabled?
ignore-minimum = no     # Ignore minimum TTL for zone?
soa-table = dns_soa     # Name of table containing SOA records
rr-table = dns_rr       # Name of table containing RR data
soa-where = server_id = 1               # Extra WHERE clause for SOA queries
rr-where =  server_id = 1               # Extra WHERE clause for RR queries
use-soa-active = yes # To fix bug 295 where active or inactive status is ignored
use-rr-active = yes# To fix bug 295 where active or inactive status is ignored.
notify-enabled = yes
notify-source xxx.xxx.xxx.xxx
and also bind config :
(named.conf.options):
Code:
options {
        directory "/var/cache/bind";

        allow-transfer {xxx.xxx.xxx.xxx;};
        dnssec-enable yes; // I'm not sure
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        request-ixfr no;
};
(named.conf):
Code:
zone "zone1.com" IN {
type slave;
file "/var/cache/bind/zone1.com.conf";
masters { xxx.xxx.xxx.xxx; };
allow-notify { xxx.xxx.xxx.xxx; };
};
With this config it's trying to work, but not at all:

When zone file in /var/cache/bind is deleted, I restart bind and full zone is transfered by axfr to slave server. But then it's freezing. When I change anything on primary server (=generate new serial in SOA) nothing happens. Slave should be notified, but it doesn't. I want also say that in nslookup and dig @xxx.xxx.xxx.xxx axfr zone1.com everything is all right.

Could You help me with this problem?

Last edited by lucani; 3rd December 2009 at 00:30.
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2009, 15:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts
Default

Does zone transfers initiated with the dig command work? Do you use the latest mydns-ng version?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd December 2009, 16:41
lucani lucani is offline
Member
 
Join Date: Nov 2009
Posts: 81
Thanks: 4
Thanked 4 Times in 3 Posts
Default

Yes, I use MyDNS-NG (mydns-1.2.8.27) downloaded from sourceforge, how can I init zone transfer using dig?

Last edited by lucani; 4th December 2009 at 21:57.
Reply With Quote
  #4  
Old 5th December 2009, 13:34
lucani lucani is offline
Member
 
Join Date: Nov 2009
Posts: 81
Thanks: 4
Thanked 4 Times in 3 Posts
Default

refresh ... it still doesnt work : /
Reply With Quote
  #5  
Old 6th December 2009, 15:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Are there any BIND errors in the logs on the slave?
__________________
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
  #6  
Old 6th December 2009, 18:20
kurv kurv is offline
Junior Member
 
Join Date: Dec 2009
Location: Kyjiv, Ukraine
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

have problem too
make sex 4 day with google,mydns and bind
it's not worked because mydns don't send amxr information (IMHO)
then install mydns-1.2.8.27, and when add new Zone in ISPconfig in to the bottom write IP for my slave dns-server
restart mydns and bind - bingo! all transfering without trubles
PS sorry my bad english (=
Reply With Quote
  #7  
Old 6th December 2009, 23:45
lucani lucani is offline
Member
 
Join Date: Nov 2009
Posts: 81
Thanks: 4
Thanked 4 Times in 3 Posts
Default

Quote:
it's not worked because mydns don't send amxr information (IMHO)
Yes, slave logs are empty, it didnt received any informations about changes in master!

Quote:
and when add new Zone in ISPconfig in to the bottom write IP for my slave
Sorry, but I didn't understand. What did you do, that it started working?
Reply With Quote
  #8  
Old 7th December 2009, 00:07
kurv kurv is offline
Junior Member
 
Join Date: Dec 2009
Location: Kyjiv, Ukraine
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it's screen of my admin panel
http://imgs.su/tmp/1260136891.jpg
after this moment - it started working
Reply With Quote
  #9  
Old 7th December 2009, 20:08
lucani lucani is offline
Member
 
Join Date: Nov 2009
Posts: 81
Thanks: 4
Thanked 4 Times in 3 Posts
Default

Ok, but I have already done it. It was first thing which I did.
Reply With Quote
  #10  
Old 8th December 2009, 00:59
kurv kurv is offline
Junior Member
 
Join Date: Dec 2009
Location: Kyjiv, Ukraine
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

my config-files
maybe it help

named.conf
Code:
include "/etc/bind/named.conf.options";

zone "." {
        type hint;
        file "/etc/bind/db.root";
};

//zone "localhost" {
//      type master;
//      file "/etc/bind/db.local";
//};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
        allow-update { none; };
};

//zone "0.in-addr.arpa" {
//      type master;
//      file "/etc/bind/db.0";
//};

//zone "255.in-addr.arpa" {
//      type master;
//      file "/etc/bind/db.255";
//};

include "/etc/bind/named.conf.local";

zone "my.domain" {
        type slave;
        file "/etc/bind/zones/db.my.domain";
        masters {IP master server;};
};
named.conf.options
Code:
options {
        directory "/var/cache/bind";

        allow-transfer {77.88.207.78;};
        dnssec-enable yes; // I'm not sure
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};
mydns.conf
Code:
db-host = localhost
db-user = ispconfig
db-password = my pass heare
database = dbispconfig
user = nobody
group = nogroup
listen = *         
no-listen =   
zone-cache-size = 2048
zone-cache-expire = 60 
reply-cache-size = 2048 
reply-cache-expire = 30
log = LOG_DAEMON 
pidfile = /var/run/mydns.pid 
timeout = 120 
multicpu = 1   
recursive =   
allow-axfr = yes 
allow-tcp = yes  
allow-update = yes 
ignore-minimum = no 
soa-table = dns_soa 
rr-table = dns_rr      
soa-where = server_id = 1 
rr-where =  server_id = 1   
use-soa-active = yes 
use-rr-active = yes
notify-enabled = yes
notify-source = IP slave server
Reply With Quote
Reply

Bookmarks

Tags
axfr, bind, ispconfig 3, mydns, zone transfer

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
Permission Denied Bind Slave Server Problems wxman Server Operation 17 22nd March 2014 13:30
ispconfig 3 mydns master to ispconfig 2 bind slave mooseman Installation/Configuration 2 2nd November 2009 02:11
master myDNS and slave bind9 acumen Installation/Configuration 3 9th July 2009 11:20
named.conf.master ISPconfig duplication hypertec_hope Installation/Configuration 0 18th July 2008 19:23
DNS Zone Transfer not complete. joelee HOWTO-Related Questions 3 19th August 2007 15:55


All times are GMT +2. The time now is 05:54.


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