HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ISP3 <> ISP2 zone transfer problem (http://www.howtoforge.com/forums/showthread.php?t=53569)

t.roijers 28th July 2011 16:43

ISP3 <> ISP2 zone transfer problem
 
Hi,

We had two ISPconfig2 name servers. now we replaced the master name server with an ISPconfig3 name server.

The ISPConfig2 slave server gets permission denied for zone transfers.
I already updated named.conf.options on the master and included:

allow-transfer { ipadres-of-slave-dns; };

still permission denied, both running bind9 on ubuntu 10

Please help!

till 28th July 2011 17:10

You have to add the IP address of the slave server in the "Allow zone transfers to
these IPs (comma separated list)" Field of the dns settings of the zone in ISPConfig.

t.roijers 31st July 2011 22:38

Quote:

Originally Posted by till (Post 260546)
You have to add the IP address of the slave server in the "Allow zone transfers to
these IPs (comma separated list)" Field of the dns settings of the zone in ISPConfig.

Do i have to do this for every record???? or is their a main setting for all the records.

giftsnake 1st August 2011 01:04

same question here!

leaving the field empty results in
Code:

allow-transfer {none;};
overriding the setting in named.conf.options.

maybe a feature request:
  • instead of "none;" insert default IPs
or
  • if empty, do not provide the "allow-transfer" option explicitly.

t.roijers 1st August 2011 10:14

Quote:

Originally Posted by giftsnake (Post 260657)
same question here!
maybe a feature request:
  • instead of "none;" insert default IPs
or
  • if empty, do not provide the "allow-transfer" option explicitly.

That would be nice :)

giftsnake 3rd August 2011 18:55

what one could do:
edit file
Code:

/usr/local/ispconfig/server/plugins-enabled/bind_plugin.inc.php
and replace
PHP Code:

$options .= "        allow-transfer {none;};\n"

with
PHP Code:

$options .= "        allow-transfer {IP1; IP2; IP3;};\n"

but I guess this change will vanish when updating ispconfig...

till 4th August 2011 09:34

Instead of editing the ispconfig code, you can set the options directly in dns file template. So you changes dont get overwritten.

giftsnake 4th August 2011 09:47

is there a simple way to find out all possible options for the template file?


All times are GMT +2. The time now is 07:19.

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