Internet & Localnet
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Fri Oct 1 01:29:19 UTC 1999
Run two copies of named with different config files. Create
two named.confs (named.conf.internal and named.conf.external)
like below.
named.conf.internal:
controls {
unix "/var/run/ndc.internal" perm 0600 owner 0 group 0;
};
options {
...
listen-on { 192.168.0.1; }
};
zone wms-hn.de {
...
};
named.conf.external:
controls {
unix "/var/run/ndc.external" perm 0600 owner 0 group 0;
};
options {
...
listen-on { 141.7.87.2; }
};
zone wms-hn.de {
...
};
> Hi
> I use Linux with 2 Networkcards as Internetrouter.
> My domainname is wms-hn.de
>
> I want to use different zone-files for internal and external connection.
> (internal is 192.168.0.1, external is 141.7.87.2).
>
> eg
>
> www.wms-hn.de for internal connections : 192.168.0.1
> www.wms-hn.de for external connection : 141.7.87.2
>
> I've tried to use two zones in /etc/named.conf with the same name but with a
> different interface.
> But It doesn't work.
>
> Does anybody know a solution ?
>
> Tilo
>
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list