0

I am running the latest version of powerdns authoritative server version 3.3 on a Linux server. PowerDNS is using a MySQL database for it's list of resolvable sites. I need powerdns to return a specific response IP for all requests that it cannot resolve. The end result will be the user will see a specific web page for all locally unresolvable requests. How do I do that?

1 Answer 1

0

I had a similar problem, about setting prioritary domains, or fallbacks. Have a look : Add extra zones outside the MySQL database.

Basically, this is about setting a secondary backend. In your case, set a Bind backend in your launch clause, after your gMySQL value :

launch=gmysql,bind

If gMySQL fails, the Bind backend will have a chance to try. Create zones and records as you need them ;)

You can also use a custom backend, which always answers the same thing. You can find more about this topic on the PowerDNS backends details page.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .