[Pdns-users] Different behaviour for wildcard-entries

Christian Kuehn christian.kuehn at mcs.de
Wed Jan 28 09:56:33 UTC 2009


Hi,

I have a problem with the new pdns-2.9.22.

I one domain the pdns will not detect the wildcard-entry:

Jan 28 10:29:04 Received a packet 36 bytes long from 127.0.0.1
Jan 28 10:29:04 DNSPacket copy constructor called!
Jan 28 10:29:04 Distributor has 5 threads available
Jan 28 10:29:04 Remote 127.0.0.1 wants a type MX (15) about
'hamburg.foo2.bar'
Jan 28 10:29:04 UeberBackend received question for ANY of hamburg.foo2.bar'
Jan 28 10:29:04 Query: 'select content,ttl,prio,type,domain_id,name from
records where name='hamburg.foo2.bar'
Jan 28 10:29:04 Ueber get() was called for a ANY record
Jan 28 10:29:04 Found an answering backend - will not try another one
Jan 28 10:29:04 Ueber get() was called for a ANY record
Jan 28 10:29:04 UeberBackend reached end of backends
Jan 28 10:29:04 Found matching qname, but not the qtype
Jan 28 10:29:04 There is some data, but not of the correct type,
checking fancy records
Jan 28 10:29:04 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='SOA' and name='hamburg.foo2.bar'
Jan 28 10:29:04 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='SOA' and name='foo2.bar'
Jan 28 10:29:04 UeberBackend received question for MBOXFW of
%@hamburg.foo2.bar'
Jan 28 10:29:04 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='MBOXFW' and name like '%@hamburg.foo2.bar' and
domain_id='1''
Jan 28 10:29:04 Ueber get() was called for a MBOXFW record
Jan 28 10:29:04 UeberBackend reached end of backends
Jan 28 10:29:04 There is some data, but not of the correct type, adding
SOA for NXRECORDSET
Jan 28 10:29:04 Sending a packet to 127.0.0.1 (86 octets)


But generally it works:

Jan 28 10:24:06 Received a packet 29 bytes long from 127.0.0.1
Jan 28 10:24:06 DNSPacket copy constructor called!
Jan 28 10:24:06 Distributor has 5 threads available
Jan 28 10:24:06 Remote 127.0.0.1 wants a type MX (15) about 'www.foo.bar'
Jan 28 10:24:06 UeberBackend received question for ANY of www.foo.bar
Jan 28 10:24:06 Query: 'select content,ttl,prio,type,domain_id,name from
records where name='www.foo.bar''
Jan 28 10:24:06 Ueber get() was called for a ANY record
Jan 28 10:24:06 UeberBackend reached end of backends
Jan 28 10:24:06 There is some data, but not of the correct type,
checking fancy records
Jan 28 10:24:06 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='SOA' and name='www.foo.bar''
Jan 28 10:24:06 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='SOA' and name='foo.bar''
Jan 28 10:24:06 UeberBackend received question for MBOXFW of %@www.foo.bar
Jan 28 10:24:06 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='MBOXFW' and name like '%@www.foo.bar' and
domain_id='86''
Jan 28 10:24:06 Ueber get() was called for a MBOXFW record
Jan 28 10:24:06 UeberBackend reached end of backends
Jan 28 10:24:06 UeberBackend received question for ANY of www.foo.bar
Jan 28 10:24:06 UeberBackend received question for ANY of *.foo.bar
Jan 28 10:24:06 Query: 'select content,ttl,prio,type,domain_id,name from
records where name='*.foo.bar''
Jan 28 10:24:06 Ueber get() was called for a ANY record
Jan 28 10:24:06 Found an answering backend - will not try another one
Jan 28 10:24:06 Ueber get() was called for a ANY record
Jan 28 10:24:06 UeberBackend reached end of backends
Jan 28 10:24:06 Wildcard match on '*.foo.bar', retargeted=0
Jan 28 10:24:06 This packet needs additional processing!
Jan 28 10:24:06 UeberBackend received question for A of mx.gay-web.de.
Jan 28 10:24:06 Query: 'select content,ttl,prio,type,domain_id,name from
records where type='A' and name='mx.gay-web.de.''
Jan 28 10:24:06 Ueber get() was called for a A record
Jan 28 10:24:06 UeberBackend reached end of backends
Jan 28 10:24:06 Sending a packet to 127.0.0.1 (58 octets)



Why does the pdns skip the query for any wildcard in foo2.bar??


Any ideas?

Can deliver the whole zone-data for foo2.bar on request.


Look like a showstopper.....


Kind Regards

Christian




-- 
Christian KÌhn
(Technical Consultant)

======================================================
MCS MOORBEK COMPUTER SYSTEME GmbH
Essener Bogen 17 - 22419 Hamburg - Germany
Tel +49 (0)40 53773 0 - Fax: +49 (0)40 53773 200
E-Mail: christian.kuehn at mcs.de
Web: http://www.mcs.de
Eingetragen im Handelsregister Hamburg B62933
GeschÀftsfÌhrer: Kai Brandes & Eckard Kabel
GPG 8B52 41A1 4B8F 4DE7 9064  2073 6168 137A 3DDA 0F36
======================================================


More information about the Pdns-users mailing list