Creating bogus response for a particular subnet
Kevin Darcy
kcd at daimlerchrysler.com
Tue Nov 21 05:00:46 UTC 2006
news wrote:
> Hello group
>
> I'm currently working on a small project that needs a Bind v9 to return the
> same IP address for all requested domains. The catch is that the server
> only needs to do this for xx.xx.xx.xx/xx but not for yy.yy.yy.yy/yy. I know
> this can be done with views to separate the two subnets, but I'm not quite
> sure how to create the bogus response.
>
> Any hints for how to do it?
>
>
Define a root zone e.g.
zone "." {
type master;
file "root";
};
Populate it with the usual SOA and NS records, and after those, a
wildcard A record, i.e.
* a 1.2.3.4
- Kevin
More information about the bind-users
mailing list