DNS / NAT

Saad Kadhi bsdguy at docisland.org
Mon Nov 4 06:31:44 UTC 2002


On Sun, Nov 03, 2002 at 10:42:53AM -0800, Oliver wrote:
> Can i set up my internal DNS to give the internal clients a reply with
> my internal private address for just this one host
> (mywebserver.somedomain.com)and forwars all other requests for
> somedomain.com ?
sure. create a zone for mywebserver.somedomain.com and make your DNS server
authoritative for it. The zone should look like:
@		IN SOA 	mydns.xxx.yyy. hostmaster.zzz.ttt. (...)
		IN NS	mydns.xxx.yyy.
		IN A	<internal_ip_addr>

hth
-- 
Saad Kadhi -- [saad at docisland.org] [bsdguy at docisland.org]
[pgp keyid: 35592A6D http://pgp.mit.edu]
[pgp fingerprint: BF7D D73E 1FCF 4B4F AF63  65EB 34F1 DBBF 3559 2A6D]
---
"Si ce que tu dis n'est ni beau, ni bon, ni vrai, alors tais-toi!"
							    - Socrate


More information about the bind-users mailing list