[Pdns-dev] Change query to return srv fail for a domain

bert hubert bert.hubert at netherlabs.nl
Sun Jan 27 13:12:18 CET 2008

On Sun, Jan 27, 2008 at 12:52:11PM +1100, Anil Madikonda wrote:
> Hi All,
> I want to change the gmysql query to return a SRV fail to the requests for 
> any domain that was set with a status of zero (disabled)


Many PowerDNS installations in fact do this. You need to do more however,
and include the check for 'status=' in all queries. This also means joining
those queries to the domains table.

For performance reasons, powerdns does not do the info-zone-query for every
query, nor periodically.

In other words, answers do not depend on a zone appearing in

Good luck!

http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

More information about the Pdns-dev mailing list