[Pdns-users] TCP Queries always go to the recursor?

Jordan Tardif jordan at hq.newdream.net
Tue Feb 27 20:44:06 UTC 2007


Any idea on when this is going to make it into a final release?


-- 
Jordan Tardif
DreamHost

On Thu, 14 Dec 2006, REIBENSCHUH Alfred wrote:

> this is a bug in powerdns tcp implementation, i posted a patch for this a
> few days ago
>
> --
> Alfred Reibenschuh
> INFORMATIONS-TECHNOLOGIE AUSTRIA GMBH
> Netzwerk-Management
> A-1020 Wien, Lassallestrasse 5
> T: ++43-1-21717-58947
> F: ++43-1-21717-58979
> E: alfred.reibenschuh at it-austria.com
> W: http://www.it-austria.com <http://www.it-austria.com>
>
> Diese Nachricht und allfällige angehängte Dokumente sind vertraulich und nur
> für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte
> Adressat sein, ist jede Offenlegung, Weiterleitung oder sonstige Verwendung
> dieser Information nicht gestattet. In diesem Fall bitten wir, den Absender
> zu verständigen und die Information zu vernichten. Für Übermittlungsfehler
> oder sonstige Irrtümer bei Übermittlung besteht keine Haftung.
> This message and any attached files are confidential and intended solely for
> the addressee(s). Any publication, transmission or other use of the
> information by a person or entity other than the intended addressee is
> prohibited. If you receive this in error please contact the sender and
> delete the material. The sender does not accept liability for any errors or
> omissions as a result of the transmission.
>
>> -----Original Message-----
>> From: Augie Schwer [mailto:augie.schwer at gmail.com]
>> Sent: Thursday, December 14, 2006 1:07 AM
>> To: pdns-users at mailman.powerdns.com
>> Subject: [Pdns-users] TCP Queries always go to the recursor?
>>
>>
>> Is there a reason why TCP queries are always getting sent to the
>> recursor (if available) for answers instead of checking for an
>> authoritative answer first and then recursing if no authoritative
>> answer was found?
>>
>> I am able to reproduce this by setting up a bogus zone in our
>> authoritative data (MySQL) and watching as I get the correct answer
>> for UDP recurse and norecurse queries as well as TCP norecurse
>> queries, however I see root referrals for TCP recurse queries. An even
>> easier way to see this is to ask for the version.bind :
>>
>> [augie at augnix ~]$ dig +short ch txt version.bind @pdns-lab
>> +notcp +norecurse
>> "Served by POWERDNS 2.9.21-svn.20061029.908 $Id: packethandler.cc 884
>> 2006-08-19 12:32:32Z ahu $"
>>
>> [augie at augnix ~]$ dig +short ch txt version.bind @pdns-lab
>> +notcp +recurse
>> "Served by POWERDNS 2.9.21-svn.20061029.908 $Id: packethandler.cc 884
>> 2006-08-19 12:32:32Z ahu $"
>>
>> [augie at augnix ~]$ dig +short ch txt version.bind @pdns-lab
>> +tcp +norecurse
>> "Served by POWERDNS 2.9.21-svn.20061029.908 $Id: packethandler.cc 884
>> 2006-08-19 12:32:32Z ahu $"
>>
>> [augie at augnix ~]$ dig +short ch txt version.bind @pdns-lab
>> +tcp +recurse
>> "PowerDNS Recursor 3.1.4-pre2 $Id: pdns_recursor.cc 903 2006-10-21
>> 16:26:49Z ahu $"
>>
>> I am going to go check the RFC, but does anyone know why this would be
>> the case? This is with both PowerDNS recursor and BIND as a recursor.
>>
>>
>> --
>> Augie Schwer    -    Augie at Schwer.us    -    http://schwer.us
>> Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072
>> _______________________________________________
>> 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