Possible to redirect to custom "A" record all domains that do not have a DNS Zone?

jmorrisey71 at gmail.com jmorrisey71 at gmail.com
Sat Sep 2 02:21:41 UTC 2006


intel69 at gmail.com wrote:
> - Is this possible using Named/bind?

// You would have this in your named.conf:
zone "." {
        type master;
        file "named.dot";
};


// Then your "named.dot" file would look something like this:
$ORIGIN .
$TTL 3600       ; 1 hour
@                       IN SOA  ns1.yourdomain.com.
admin.yourdomain.com. (
                                1997022714 ; serial
                                28800      ; refresh (8 hours)
                                14400      ; retry (4 hours)
                                3600000    ; expire (5 weeks 6 days 16
hours)
                                86400      ; minimum (1 day)
                                )
                        NS      ns1.yourdomain.com.
                        NS      ns2.yourdomain.com.
$TTL 600        ; 10 minutes
*                       A       111.222.111.222



You would of course use the IP that you want for that wildcard record.

-Jake



More information about the bind-users mailing list