[Pdns-users] global wildcard for authoritative server

Joseph McDonald superjoe at gmail.com
Tue Jul 3 19:44:14 UTC 2007


Hi,

I'd like powerdns to serve up a particular A record for all A queries
across all tlds, which would have otherwise been NXDOMAIN.   Here is
how I do it with BIND:

zone "." {
         type master;
         file "wildcard.zone";
};

$ cat wildcard.zone
$TTL 300
@ IN SOA namserver1.domain.com. dnsmaster.domain.com (
        2007050601 ; serial
        10800 ; refresh
        3600 ; retry
        604800 ; expiration
        300 ; minimum ttl
        );

*   IN A     192.168.1.1
@       IN      NS      nameserver1.domain.com.
@       IN      NS      nameserver2.domain.com.

Is there a way to do this with powerdns?

thanks,
-joe


More information about the Pdns-users mailing list