Internal and external resource records on the same server
Cricket Liu
cricket at acmebw.com
Tue Aug 10 23:16:57 UTC 1999
Cricket Liu <cricket at acmebw.com> wrote in message
news:<000f01bee378$fd46aa40$b477a8ce at acmebw.com>...
> Not from a single name server, but you can do this by running multiple
> named processes on the same host, each with its own named.conf and
> copy of the acme.com zone.
Since this isn't an obvious configuration, here are a couple of sample
named.confs:
named1.conf:
// This is the external name server
options {
directory "/var/named1";
listen-on { 1.2.3.4; };
pid-file "/var/run/named1.pid";
recursion no;
fetch-glue no;
};
zone "acmebw.com" {
type master;
file "db.acmebw.com.external";
};
named2.conf:
// This is the internal name server
acl internal-net { 192.168/16; };
options {
directory "/var/named2";
listen-on { 192.168.0.1; };
pid-file "/var/run/named2.pid";
allow-query { internal-net; };
};
zone "acmebw.com" {
type master;
file "db.acmebw.com.internal";
};
Or something like that.
cricket
Acme Byte & Wire
cricket at acmebw.com
www.acmebw.com
Attend our next DNS and BIND class! See
www.acmebw.com/training.htm for the
schedule and to register for upcoming
classes.
More information about the bind-users
mailing list