
3rd March 2012, 05:41
|
|
Junior Member
|
|
Join Date: Oct 2010
Location: São Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

3rd March 2012, 11:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Which distribution? Are there any errors in your logs? What's the output of
Code:
ls -la /etc/bind/slave
?
|

3rd March 2012, 14:34
|
|
Junior Member
|
|
Join Date: Oct 2010
Location: São Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

5th March 2012, 17:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Try
Code:
chmod g+w /etc/bind/slave
on the slave.
|

5th March 2012, 23:15
|
|
Junior Member
|
|
Join Date: Oct 2010
Location: São Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It did not work
|

7th March 2012, 17:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Are there any named errors in your logs (on the master and on the slave)?
|

12th March 2012, 20:58
|
|
Junior Member
|
|
Join Date: Oct 2010
Location: São Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Where can I find this log?
|

13th March 2012, 09:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
Quote:
Originally Posted by Khayo
Where can I find this log?
|
On Debian and Ubuntu it is /var/log/syslog
|

13th March 2012, 12:59
|
|
Junior Member
|
|
Join Date: Oct 2010
Location: São Bernardo do Campo, Brasil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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)
|
|

13th March 2012, 14:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:49.
|
Recent comments
18 hours 56 min ago
19 hours 2 min ago
1 day 27 sec ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 13 hours ago
1 day 19 hours ago
1 day 23 hours ago
2 days 1 hour ago