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 March 2012, 05:41
Khayo Khayo is offline
Junior Member
 
Join Date: Oct 2010
Location: Săo Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Difficulties to create a secondary DNS zone

I am struggling to create a secondary DNS zone in ISPConfig3
On the principal server, the domain is responding OK. On the secondary server it creates an entry in /etc/bind/named.conf.local, which points to a file /etc/bind/slave/sec.example.tld, but this file is not created automatically. Is this correct or was some misconfiguration?
Reply With Quote
Sponsored Links
  #2  
Old 3rd March 2012, 11:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Which distribution? Are there any errors in your logs? What's the output of
Code:
ls -la /etc/bind/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
  #3  
Old 3rd March 2012, 14:34
Khayo Khayo is offline
Junior Member
 
Join Date: Oct 2010
Location: Săo Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In the two servers I am using Ubuntu 10.04
Output from
secondary
Quote:
root@ns2:~# ls -la /etc/bind/slave
total 8
drwxr-s--- 2 root bind 4096 Mar 2 15:31 .
drwxr-sr-x 3 root bind 4096 Mar 3 10:28 ..
primary
Quote:
root@servidor:~# ls -la /etc/bind/slave
total 8
drwxr-s--- 2 root bind 4096 2012-03-01 23:14 .
drwxr-sr-x 3 root bind 4096 2012-03-03 01:13 ..
Where I see the log?
Reply With Quote
  #4  
Old 5th March 2012, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Try
Code:
chmod g+w /etc/bind/slave
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
  #5  
Old 5th March 2012, 23:15
Khayo Khayo is offline
Junior Member
 
Join Date: Oct 2010
Location: Săo Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It did not work
Reply With Quote
  #6  
Old 7th March 2012, 17:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Are there any named errors in your logs (on the master and 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
  #7  
Old 12th March 2012, 20:58
Khayo Khayo is offline
Junior Member
 
Join Date: Oct 2010
Location: Săo Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where can I find this log?
Reply With Quote
  #8  
Old 13th March 2012, 09:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,503
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Quote:
Originally Posted by Khayo View Post
Where can I find this log?
On Debian and Ubuntu it is /var/log/syslog
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 13th March 2012, 12:59
Khayo Khayo is offline
Junior Member
 
Join Date: Oct 2010
Location: Săo Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

master
Quote:
Mar 13 08:16:13 servidor named[1001]: client 216.231.135.130#56015: zone transfer 'rodrimix.com/AXFR/IN' denied
Mar 13 08:16:14 servidor named[1001]: client 216.231.135.130#58689: zone transfer 'jeniferhairstylist.com.br/AXFR/IN' denied
slave
Quote:
Mar 13 15:18:52 ns2 named[10006]: zone rodrimix.com/IN: Transfer started.
Mar 13 15:18:52 ns2 named[10006]: transfer of 'rodrimix.com/IN' from 200.98.167.29#53: connected using 216.231.135.130#33724
Mar 13 15:18:53 ns2 named[10006]: transfer of 'rodrimix.com/IN' from 200.98.167.29#53: failed while receiving responses: REFUSED
Mar 13 15:18:53 ns2 named[10006]: transfer of 'rodrimix.com/IN' from 200.98.167.29#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.322 secs (0 bytes/sec)
Mar 13 15:19:01 ns2 CRON[32129]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Mar 13 15:19:02 ns2 named[10006]: zone jeniferhairstylist.com.br/IN: Transfer started.
Mar 13 15:19:02 ns2 named[10006]: transfer of 'jeniferhairstylist.com.br/IN' from 200.98.167.29#53: connected using 216.231.135.130#54733
Mar 13 15:19:03 ns2 named[10006]: transfer of 'jeniferhairstylist.com.br/IN' from 200.98.167.29#53: failed while receiving responses: REFUSED
Mar 13 15:19:03 ns2 named[10006]: transfer of 'jeniferhairstylist.com.br/IN' from 200.98.167.29#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.339 secs (0 bytes/sec)
Mar 13 15:20:01 ns2 CRON[32137]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp)
Mar 13 15:20:01 ns2 CRON[32136]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Mar 13 15:20:10 ns2 ntpd[1658]: step-systime: Operation not permitted
Mar 13 15:20:10 ns2 ntpd[1658]: time reset -111.314698 s
Mar 13 15:20:21 ns2 sendmail[32213]: gethostbyaddr(127.0.0.2) failed: 1
Mar 13 15:20:36 ns2 named[10006]: zone rodrimix.com/IN: Transfer started.
Mar 13 15:20:36 ns2 named[10006]: transfer of 'rodrimix.com/IN' from 200.98.167.29#53: connected using 216.231.135.130#44399
Mar 13 15:20:37 ns2 named[10006]: transfer of 'rodrimix.com/IN' from 200.98.167.29#53: failed while receiving responses: REFUSED
Mar 13 15:20:37 ns2 named[10006]: transfer of 'rodrimix.com/IN' from 200.98.167.29#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.316 secs (0 bytes/sec)
Reply With Quote
  #10  
Old 13th March 2012, 14:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,503
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
 
Default

Ensure that you added the IP adress of the slave in the "Allow zone transfers to
these IPs (comma separated list)" field of the zone settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Bind9 failed to start after server restart laptop_user Installation/Configuration 2 1st October 2011 10:35
Secondary DNS records: maximum reached (but shouldn't) voidzero Installation/Configuration 2 16th March 2011 11:21
DNS: PTR Zone Question rcsalazar77 Installation/Configuration 1 22nd October 2008 12:19
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
Adding domains to non-ISPConfig secondary DNS servers cstone Tips/Tricks/Mods 4 19th July 2006 14:25


All times are GMT +2. The time now is 20:28.


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