[Pdns-dev] Regarding Qtype sent by PDNS to the pipebackend
Seema Datar
sdatar at yahoo-inc.com
Fri Aug 24 11:40:23 CEST 2012
Hi,
We are moving from PDNS R2.9.22 to R3.1. I see a difference in the Qtype
sent by PDNS to the backend threads. In version R2.9.22 it use to be ANY
(255) for a domain name but in R3.1, I notice that the qtype getting sent is
2 (NS). Has this interface changed in R3.1? Is there any setting by which I
can revert back to the earlier interface?
Thanks,
Seema
On 8/21/12 8:42 PM, "Seema Datar" <sdatar at yahoo-inc.com> wrote:
> Thanks Ruben.
>
> -Seema
>
>
> On 8/21/12 3:30 PM, "pdns-dev-request at mailman.powerdns.com"
> <pdns-dev-request at mailman.powerdns.com> wrote:
>
>> Send Pdns-dev mailing list submissions to
>> pdns-dev at mailman.powerdns.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>> or, via email, send a message with subject or body 'help' to
>> pdns-dev-request at mailman.powerdns.com
>>
>> You can reach the person managing the list at
>> pdns-dev-owner at mailman.powerdns.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Pdns-dev digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Question regarding PDNS testing (Seema Datar)
>> 2. Re: Question regarding PDNS testing (Ruben d'Arco)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 21 Aug 2012 11:20:26 +0530
>> From: Seema Datar <sdatar at yahoo-inc.com>
>> Subject: [Pdns-dev] Question regarding PDNS testing
>> To: "pdns-users at mailman.powerdns.com"
>> <pdns-users at mailman.powerdns.com>, "pdns-dev at mailman.powerdns.com"
>> <pdns-dev at mailman.powerdns.com>
>> Message-ID: <CC591F7A.36A6B%sdatar at yahoo-inc.com>
>> Content-Type: text/plain; charset="windows-1252"
>>
>> Hi,
>>
>> I am trying to write the backend implementation for PDNS 3.1. I have
>> implemented the 4 methods ? list, get, getSOA and lookup. The lookup
>> implementation I could test using the dig command on my pdns installation.
>> However, I had a question on how I can test the getSOA, list and get
>> implementations without writing unit tests for them. Will they get invoked on
>> providing certain dig options?
>>
>> Thanks,
>> Seema
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>>
<http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20120821/b4c94956>>
/
>> attachment.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 21 Aug 2012 08:14:50 +0200
>> From: Ruben d'Arco <cyclops at prof-x.net>
>> Subject: Re: [Pdns-dev] Question regarding PDNS testing
>> To: pdns-dev at mailman.powerdns.com
>> Message-ID: <20120821061450.GA7685 at prof-x.prof-x.net>
>> Content-Type: text/plain; charset=utf-8
>>
>> Hi Seema,
>>
>> If you get the correct result with dig, your lookup(), get() and getSOA() are
>> working.
>> You do not have to implement getSOA as the ueberbackend has a default
>> implementation which uses lookup() and get() to retrieve the same
>> information.
>>
>> The list() is used for AXFR, so a dig AXFR will trigger that.
>>
>> You might also want to consider having a look at the regression-tests folder
>> in the source tree. The start-test-stop script can easily be extended to
>> support your backend. I've used this for the tinydnsbackend and it works
>> wonders to validate that the backend is operating correctly.
>>
>> Kind regards,
>> Ruben
>>
>> On Tue, Aug 21, 2012 at 11:20:26AM +0530, Seema Datar wrote:
>>> Hi,
>>>
>>> I am trying to write the backend implementation for PDNS 3.1. I have
>>> implemented the 4 methods ? list, get, getSOA and lookup. The lookup
>>> implementation I could test using the dig command on my pdns installation.
>>> However, I had a question on how I can test the getSOA, list and get
>>> implementations without writing unit tests for them. Will they get invoked
>>> on
>>> providing certain dig options?
>>>
>>> Thanks,
>>> Seema
>>
>>> _______________________________________________
>>> Pdns-dev mailing list
>>> Pdns-dev at mailman.powerdns.com
>>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Pdns-dev mailing list
>> Pdns-dev at mailman.powerdns.com
>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>>
>>
>> End of Pdns-dev Digest, Vol 104, Issue 6
>> ****************************************
>
More information about the Pdns-dev
mailing list