internal and external lookup

Michael Kjorling michael at kjorling.com
Thu Mar 14 16:50:28 UTC 2002


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

Use views in BIND 9, or run multiple instances if you prefer BIND 8.
Just remember that either way, you'll have to maintain two copies of
the zone file. By clever use of $INCLUDE directives, the additional
burden of that can be minimized, though.


Michael Kjörling


On Mar 14 2002 09:53 -0500, David Hill wrote:

> Hello -
> I have a DNS machine running BIND.  It has a both an external and internal
> NIC.
>
> Say I have mail.domain.com
>
> Is it possible to make it so if my internal hosts (192.168.1.x) lookup
> mail.domain.com, it returns 192.168.1.5, but if someone from the internet
> (external) looks up mail.domain.com, it returns the public IP.
>
> I dont want to have it returning both.
>
> Thanks
> David

- -- 
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')

*** Spammers: see http://michael.kjorling.com/spam ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public key is at http://michael.kjorling.com/contact/pgp.html

iD8DBQE8kNTXKqN7/Ypw4z4RAtoaAJ4lNek8kM3mJ/5fwCSt5YYmM8FCawCfS/9F
9toWxynDdubAv4OAeVYerv0=
=ffYv
-----END PGP SIGNATURE-----




More information about the bind-users mailing list