[Pdns-users] POWERDNS and BIND

curtis at maurand.com curtis at maurand.com
Tue Dec 4 21:25:09 UTC 2007


did you allow axfr in pdns.conf? either by 

# disable-axfr  Disable zonetransfers but do allow TCP queries
#
disable-axfr=no

or 

# allow-axfr-ips        If disabled, DO allow zonetransfers from these IP addresses
#
# allow-axfr-ips=




On Tue, 4 Dec 2007 20:12:53 +0000, Ale ***** <bella_brendone at hotmail.it> wrote:
> i have set the zone on gmysql backend like this:
> 
> id: 1
> 
> name: ale.test.it
> 
> master: null
> 
> last_check: null
> 
> type: MASTER
> 
> notified_serial: 0
> 
> account: null
> 
> in pdns.conf on 192.168.0.1 i have set master=yes but slave is disabled
> (#slave=....)
> 
> why it doesn't work?
> 
> ________________________________
>> Date: Tue, 4 Dec 2007 14:19:16 -0500
>> Subject: Re: [Pdns-users] POWERDNS and BIND
>> From: curtis at maurand.com
>> To: bella_brendone at hotmail.it
>> CC: pdns-users at mailman.powerdns.com
>> 
>> 
>> The zone type has to be 'MASTER' not just the server.  master and slave
> in pdns.conf have to be set, but the zone type for the particular zone
> must also be set.
>> 
>> Curtis
>> 
>> 
>> 
>> 
>> Ale ***** wrote:
>>> Hello to all,
>>>
>>> I have a powerdns server on 192.168.0.1 and i use gmysql backend. In
>>> pdns.conf i have set disable-axfr=no e master=yes. I have insert a
> domain
>>> and it's related RR in gmysql backend. I have another dns server on
>>> 192.168.0.2 that use bind9. It's named.conf is like this:
>>>
>>> zone "ale.test.it"{
>>> type slave;
>>> file "/var/named/bak.ale.test";
>>> masters { 192.168.0.1; };
>>> };
>>>
>>> When I modify the db such as adding RR or increment serial number and i
>>> restart powerdns monitor output likes this:
>>>
>>> Dec 05 15:48:25 Done launching threads, ready to distribute questions
>>> Dec 05 15:48:25 Received NOTIFY for ale.test.it from 192.168.0.1 but
> slave
>>> support is disabled in the configuration
>>> Dec 05 15:48:25 Received unsuccesful notification report for
> 'ale.test.it'
>>> from 192.168.0.1, rcode: 4
>>> Dec 05 15:48:25 Removed from notification list: 'ale.test.it' to
>>> 192.168.0.1
>>> Dec 05 15:48:27 No master domains need notifications
>>>
>>> and if i make a query like "select * from domains" the serial is 0
> again..
>>> What is possible? Where i failure?
>>>
>>> Only one time, when i start the slave maybe, an AXFR were performed.
>>>
>>> OUTPUT:
>>>
>>> Dec 05 15:17:18 Done launching threads, ready to distribute questions
>>> Dec 05 15:17:42 AXFR of domain 'ale.test.it' initiated by 192.168.0.2
>>> Dec 05 15:17:42 gmysql Connection succesful
>>> Dec 05 15:17:42 AXFR of domain 'ale.test.it' to 192.168.0.2 finished
>>> Dec 05 15:17:43 Received NOTIFY for ale.test.it from 192.168.0.2 but
> slave
>>> support is disabled in the configuration
>>>
>>> Who can help me???
>>>
>>> I see in the pdns monitor's output also this:
>>>
>>> Dec 05 15:59:41 Not authoritative for '0.168.192.in-addr.arpa', sending
>>> servfail to 192.168.0.2
>>>
>>> but i haven't query the db for the reverse zone because i haven't
> define
>>> it.. It is maybe possible that this message appears because i haven't
>>> define the reverse zone?
>>>
>>>
>>> _________________________________________________________________
>>> Scarica GRATIS le emoticon della tua squadra del cuore e il calendario
> di
>>> serie A!
>>>
> http://www.emoticons-livemessenger.com/pages/msnitcalcio/index.htm_______________________________________________
>>> Pdns-users mailing list
>>> Pdns-users at mailman.powerdns.com
>>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>>>
>> 
>> 
>> --
>> Curtis Maurand
>> Head Honcho
>> Xyonet Hosting Services
>> Biddeford, ME 04005
>> mailto:curtis at maurand.com
>> mailto:cmaurand at xyonet.com
> 
> _________________________________________________________________
> Scarica GRATIS 30 emoticon per Messenger!
> http://www.emoticons-livemessenger.com/pages/msnit/index.htm



More information about the Pdns-users mailing list