[Pdns-users] pdns master question
Liong Kok Foo
kokfoo.liong at innity.com
Mon Feb 1 01:44:10 UTC 2010
Unfotunately, my slave is using windows DNS and it does not support
supermaster.
Does that means that whenever I create a domain in pdns master, I will
have to create it in the windows slave?
On 1/29/2010 9:18 PM, Curtis Maurand wrote:
>
> I think you want to look at Supermaster configuration. Once you do
> that, then zones are created and updated on the slave automatically.
> Caveat: slave zones are not deleted from the slave. that has to be
> done manually.
>
> I'm looking into MySQL replication for the secondaries. That will end
> all conflicts.
>
> --C
>
> On 1/28/2010 9:06 PM, Liong Kok Foo wrote:
>> Hi,
>>
>> Thanks for the reply Curtis. Now I know about AXFR.
>>
>> But my question is,
>> 1) I have set the pdns as master but how do I update the slaves
>> normally? Do I tell master where is the slaves or do I tell the
>> slaves who is their master? Sorry...cause the docs only said about
>> setting master=yes but did not explain after that.
>>
>> In bind, there in the named.conf file that specifiy allow update from
>> 11.11.11.11 (slave IP). Then in the slave, I specify the master. Does
>> it work the same for pdns? If so, where do I specify "allow update"
>> in pdns?
>>
>> 2) Is there any more detailed docs on setting up master/slave for
>> pdns? So far all the tutorials I see are only mentioning db replication.
>>
>>
>> Liong Kok Foo
>> System Administrator
>>
>> Innity Sdn Bhd
>> Office: +603 7880 5611
>> Direct: +6012 619 9397
>>
>>
>> On 1/28/2010 10:47 PM, Curtis Maurand wrote:
>>>
>>> That's what the notification does. If the domain on the other end
>>> is up to date, then nothing happens. Otherwise you'll see an AXFR
>>> happen.
>>>
>>> You can manually update the slave by issuing "pdns_control retrieve
>>> <domainname>" on the slave.
>>>
>>> On 1/28/2010 4:28 AM, Liong Kok Foo wrote:
>>>> Would appreciate if someone could help with this problem. This
>>>> issue is stopping me from having this new pdns running live.
>>>>
>>>> Thanks.
>>>>
>>>> On 1/26/2010 11:01 AM, Liong Kok Foo wrote:
>>>>> Hi,
>>>>>
>>>>> I am sorry if this seems a very noob question as I am very new to
>>>>> managing DNS.
>>>>>
>>>>> I have already changed pdns config to master=yes.
>>>>>
>>>>> So now I am testing with one domain. I changed that domain to
>>>>> master. Let's call it testdomain.com. This is an existing domain
>>>>> in pdns (NS0) and live NS1.mydomain.com and NS2.mydomain.com.
>>>>>
>>>>> Then I can see from the /var/log/messages this below:
>>>>>
>>>>> 1 domain for which we are master needs notifications
>>>>> Jan 26 10:15:18 servervn pdns[31055]: Queued notification of
>>>>> domain 'testdomain.com' to 1.2.3.4
>>>>> Jan 26 10:15:19 servervn pdns[31055]: Removed from notification
>>>>> list: 'testdomain.com' to 1.2.3.4 (was acknowledged)
>>>>> Jan 26 10:15:22 servervn pdns[31055]: No master domains need
>>>>> notifications
>>>>>
>>>>> Where 1.2.3.4 is the IP of NS1 (live master running bind).
>>>>>
>>>>> Does this seem correct? How does NS1 know to update testdomain
>>>>> from NS0? Why is NS1 acting like slave to NS0? NS1 is a master.
>>>>>
>>>>> In NS0 (running pdns), there is a line testdomain.com NS
>>>>> ns1.mydomain.com. Could this be the reason why NS0 as master is
>>>>> updating to the NS1?
>>>>>
>>>>> Please advice. Thanks.
>>>> _______________________________________________
>>>> Pdns-users mailing list
>>>> Pdns-users at mailman.powerdns.com
>>>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>>>
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com
>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
More information about the Pdns-users
mailing list