[Pdns-users] PDNS doesn't feel authoritative?
zaphodb at zaphods.net
Thu Feb 11 00:00:21 UTC 2010
On Thu, Feb 11, 2010 at 12:49:54AM +0100, Chris wrote:
> dig @10.20.30.42 hier.foo.bar,
> everything I get from pdns in my syslog is:
> Not authoritative for 'hallo', sending servfail to 10.30.0.0
> (recursion was desired)
> My database looks like this:
> id name master last_check type notified_serial account
> 3 foo.bar NULL NULL NATIVE NULL NULL
> id domain_id name type content ttl prio change_date
> 120 3 foo.bar SOA ns1.lan hostmaster.localhost 2010021102 28800
> 7200 604800 86400 3600 0 1265844270
> 121 3 hallo.foo.bar A 188.8.131.52 3600 0 1265844284
> 122 3 hier.foo.bar CNAME hallo 3600 0 1265844301
> What am I missing here? Why doesn't it recurse over it's own CNAME records?
You did not 'terminate' the CNAME record. With BIND style zone files it is a
convenience feature that if there is not a terminating '.' the record will be
qualified with the current scope you're in.
As PowerDNS does not try to outguess you it just takes what you put in the
content column of your database for granted, hence the CNAME for hier.foo.bar.
actually returns 'hallo'.
Try putting 'hallo.foo.bar.' in the content column of that CNAME.
Latin is a language as dead as dead can be.
It killed the ancient Romans, and now it's killing me.
- A. Buckeridge
More information about the Pdns-users