Internal / external DNS?

Michael Kjorling michael at kjorling.com
Mon May 20 18:25:29 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On May 20 2002 17:17 -0000, John Oliver wrote:

> I want to have two nameds running... one on an internal address to
> resolve private addresses, and one on an external address to resolve
> public addresses.  But, if a lookup against the internal server fails, I
> want it to then query the external server rather than return host
> unknown or whatever.  Is this possible?  If so, what would this behavior
> be called so I can look it up? :-)

You are probably looking for split DNS. However, you must be aware
that "host not found" (NXDOMAIN) or "no data" (NOERROR with
ancount==0) is not a failure. The query was answered successfully.

BIND 9 has views which allows you to do pretty much what you want with
as little hassle as possible.


Michael Kjörling

- -- 
Michael Kjörling  --  Programmer/Network administrator  ^..^
Internet: michael at kjorling.com -- FidoNet: 2:204/254.4   \/
PGP: 95f1 074d 336d f8f0 f297 6a5b 2aa3 7bfd 8a70 e33e

``And indeed people sometimes speak of man's "bestial" cruelty, but
this is very unfair and insulting to the beasts: a beast can never be
so cruel as a man, so ingeniously, so artistically cruel.''
(Ivan Karamazov, in Dostoyevsky's 'The Brothers Karamazov')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Public key is at http://michael.kjorling.com/contact/pgp.html

iD8DBQE86T+cKqN7/Ypw4z4RAv5mAKD5bOK8HWRzWv5KHcoj9mN6XhDeYwCfUwpQ
D5CwHPz12syWAMav1SKpx2I=
=ByOn
-----END PGP SIGNATURE-----




More information about the bind-users mailing list