[Pdns-users] Backend error: lookup() passed zoneId = X but no such zone!
Aki Tuomi
cmouse at youzen.ext.b2.fi
Fri May 15 04:57:03 UTC 2015
On Wed, May 13, 2015 at 07:39:31PM -0400, Sam Barrow wrote:
> I'm at a loss here with an issue with the mydns backend.
>
> -
>
> > PowerDNS version you are using
>
> 3.4.1-4ubuntu0.1
>
> > What backends you use (gMySQL, BIND etc)
>
> Gmysql and mydns
>
> > If you are using DNSSEC
>
> No
>
> > Operating system it is running on
>
> Ubuntu 15.04
>
> > Where you got the binary from, ie did you compile it yourself
> (which compiler, including version), from your distribution or ports
> tree etc
>
> Distro repos.
>
> > What is going wrong
>
> I have the gmysql backend active, works fine, no issues. However,
> when I enable mydns backend, the records from gmysql fail to
> resolve, and the records in the mydns database work just fine.
>
> I see this in the error log:
>
> Backend error: lookup() passed zoneId = X but no such zone!
>
> This is outputted by the mydns backend, however the X appears to
> match the ID of the domain in the powerdns database.
>
> > What you did, or somebody else did, that causes things to go wrong
> What you expect to happen (many problems are in fact wrong
> expectations, and not bugs)
>
> Basic install, nothing custom. Installed pdns-server and both
> backends from ubuntu repos. I expect both backends to be used.
>
> -
>
Hi!
Can you verify that the zoneId 'X' is not in the mydns database?
SELECT origin, minimum FROM soa WHERE id = X?
if this returns no result, then this error is emitted.
Aki
More information about the Pdns-users
mailing list