a domain default resolution

mayer at gis.net mayer at gis.net
Thu Apr 21 03:15:12 UTC 2005


----- Original Message Follows -----
> I could be wrong about this, but I think what you are looking for is a
> wildcard subdomain. The format I have had success is to put the
> wildcard (*) at the bottom of your zone file.

The order of the records are irrelevant. All records are loaded into
memory and processed using the methods specified in the RFC 1034
protocol.

> For example, if you
> have:
> 
> real1.domain.com            1.2.3.4
> real2.domain.com            1.2.3.5
> real3.domain.com            1.2.3.6
> *.domain.com                  1.2.3.7
> 
> It should have the output you want. It will hit the wildcard last, so
> if you have www, pop, smtp or any other"real" sub it will be given the
> correct IP for that, and then if it fails all of those, it hits the
> wildcard last, which will return true for anything not specified
> earlier.
> 

Yes but not based on the record order. See above.

Danny



More information about the bind-users mailing list