[Pdns-users] PowerDNS Recursor Question

Søren Boll Overgaard pdns at fork.dk
Wed Jan 14 23:38:50 UTC 2004


On Wed, 2004-01-14 at 21:34, Clint Martin wrote:

[snip]
> I have setup a domain: clint.nt  (recordset to follow)
> querying this domain results with the data from the database, as I would
> expect. however if I query for a host that is not in the domain,
> The query is handed off to the recursor.  The end result is that the
> query comes back with no records, but should it ever be handed off to 
> the recursor in the first place?  The PDNS server is setup to be a
> MASTER for the zone, so shouldn't queries for non-existent hosts just
> return
> NXDOMAIN directly?

Unless I am mistaken, you are requesting that the server try to recurse.

[snip]
> ----- This is the query for the non-existant host:
[snip]
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

The rd flag means "recursion desired". Try using the +norecurse in dig
or the -r option in host(1).

-- 
Søren O.                                            ,''`.
                                                   : :' :
GPG key id: 0x1EB2DE66                             `. `'
GPG signed mail preferred.                           `-



More information about the Pdns-users mailing list