<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.0.1">
</HEAD>
<BODY>
<BR>
On Thu, 2011-08-25 at 21:42 +0200, Posner, Sebastian wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Enrico van Goor wrote:
> > > Aug 25 13:22:44 Unable to find backend willing to host example.org for
> > > potential supermaster 10.12.3.50
>
> > > The IP of the nameserver isn't is the NS records of the domain and
> > > isn't meant to. When I do add the NS record, the AXFR does work.
> > The supermasters table needs an entry for the hidden master. Something like:
> > ip nameserver
> > account
> > <hidden master ip> <name of primary nameserver> internal
> >
> > Do you already have such an entry?
>
> Yes, the supermasters table does have an entry for the hidden master.
The problem is in your backend. Not all backends support
superslave-operations, as this mode needs the ability to
dynamically create new zones.
Which backend(s) do you use and how are they configured?
</PRE>
</BLOCKQUOTE>
I use MySQL as the backend for powerdns. I think is is well configured, because when I add the NS record of the slave to the domain it is added to the hidden slave.<BR>
<BR>
allow-recursion=0.0.0.0/0<BR>
allow-axfr-ips=10.12.3.50<BR>
config-dir=/etc/powerdns<BR>
daemon=yes<BR>
disable-axfr=yes<BR>
disable-tcp=no<BR>
guardian=yes<BR>
launch=gmysql<BR>
lazy-recursion=yes<BR>
local-address=10.12.3.52<BR>
local-port=53<BR>
module-dir=/usr/lib/powerdns<BR>
setgid=pdns<BR>
setuid=pdns<BR>
master=yes<BR>
slave=yes<BR>
slave-cycle-interval=60<BR>
socket-dir=/var/run<BR>
version-string=powerdns<BR>
gmysql-host=127.0.0.1<BR>
gmysql-user=poweradmin<BR>
gmysql-password=secret<BR>
gmysql-dbname=powerdns<BR>
gmysql-supermaster-query=select account from supermasters where ip='%s'<BR>
<BR>
<BR>
mysql> select * from supermasters;<BR>
+------------+------------------+---------+<BR>
| ip | nameserver | account |<BR>
+------------+------------------+---------+<BR>
| 10.12.3.50 | master.example.com | admin |<BR>
+------------+------------------+---------+<BR>
1 row in set (0.00 sec)<BR>
<BR>
Regards,<BR>
<BR>
Enrico
</BODY>
</HTML>