One Newbie, totally confused

Jonathan Horne freebsd at dfwlp.com
Mon Oct 2 15:59:22 UTC 2006


> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of Slackr
> Sent: Monday, October 02, 2006 12:23 AM
> To: comp-protocols-dns-bind at isc.org
> Subject: One Newbie, totally confused
> 
> I want to create a bind-based setup for  www.domain1.com, a.domain1.com
> for host 127.0.0.1
> (obviously these aren't the real addresses)!
> Can I get anyone's help?




Probably a domain.hosts file like this would do the trick:


$ttl 38400
domain1.com.  IN      SOA     your.bindserver.dom. dnsadmin.your.dom. (
                        2006100201
                        10800
                        3600
                        604800
                        38400 )
domain1.com.  IN      NS      your.bindserver.dom.
www.domain1.com	IN	A	127.0.0.1

you would need to set up a phony domain1.hosts file for each domain you want
to break.  All the computers you manage must be set to query your dns server
(your.bindserver.dom in the example), or else they will lookup the
correct/real ip address from the wild, and bypass all your hard work.

Cheers,
jonathan



More information about the bind-users mailing list