Catch ALL Setup
Mark Andrews
Mark_Andrews at isc.org
Wed Feb 18 23:27:42 UTC 2009
In message <1234976434.12081.26.camel at d410-heron>, "Niall O'Reilly" writes:
> On Wed, 2009-02-18 at 16:19 +1100, Mark Andrews wrote:
> >
> > $ORIGIN .
> > @ 0 SOA ...
> > @ 0 NS ...
> > * 0 A 1.2.3.4
>
> That may be too minimal.
> I found I needed a few couple of extra wildcard records.
>
> $ORIGIN .
> @ IN SOA . bit-bucket.ucd.ie. (
> 2009021302 ; serial
> 14400 ; Refresh - 4 hours
> 7200 ; Retry - 2 hours
> 1209600 ; Expire - 14 days
> 1800 ) ; Neg. Caching - 30 minutes
> ;
> @ IN NS captive.ucd.ie.
> ;
> ; Over-ride wildcard for captive.ucd.ie
> captive.ucd.ie. IN TXT "Unaddressable"
> ;
> ; Target for all name resolution
> netreg.ucd.ie. IN A 137.43.116.32
> ;
> ; Wildcard alias
> * IN CNAME netreg.ucd.ie.
> ;
> ; Wildcards otherwise masked by empty non-terminals
> *.ie. IN CNAME netreg.ucd.ie.
> *.ucd.ie. IN CNAME netreg.ucd.ie.
>
> /Niall
Well if you want to go to such a complicated setup then yes
you need to add the extra wildcards. You also need to add
additional address records which you are missing for "ie"
and "ucd.ie".
The OP said that *everything* had to resolve to the one
address. Everything includes the nameserver. The only
thing that doesn't resolve is the root and I think one can
get by without that resolving to a address.
Mark
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list