Host-level forwarding override
Jan Ceuleers
janspam.ceuleers at skynet.be
Sun Oct 15 09:01:45 UTC 2006
Barry Margolin wrote:
> Create a master zone for proxy.foo.tld instead of foo.tld.
I tried this and it works. Many thanks.
The zone file looks like this:
====
$TTL 86400
@ IN SOA @ root.localhost (
3 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
@ IN NS penta.xperim.be.
@ IN A 155.132.188.61
@ IN A 155.132.188.24
====
If the above file is created as /var/named/proxy1.foo.tld and declared
as follows in /etc/named.conf, then queries to the A record
proxy1.foo.tld resolve to the two IP addresses shown above, and all
other queries to hosts in the foo.tld domain are forwarded.
zone "proxy1.foo.tld" {
type master;
file "proxy1.foo.tld.zone";
};
Thanks again.
Jan
More information about the bind-users
mailing list