Setting up an internal caching dns server with internal web server

Barry Margolin barmar at alum.mit.edu
Fri Mar 25 02:18:49 UTC 2005


In article <d1v1jf$s1v$1 at sf1.isc.org>, skydiver_morgan at yahoo.com wrote:
> zone "jazzkitchen.com" {

But you don't want to take over the entire zone, you just wanted to have 
a local version of www.jazzkitchen.com.  So that should be:

zone "www.jazzkitchen.com" {

>         type master;
>         file "/var/named/jazzkitchen.com.hosts";
>         };
> 
> Here  is the zone file for one of the domains which I am hosting the
> website for and am having problems with:
> 
> $ttl 38400
> jazzkitchen.com.	IN	SOA	mail.srmservices.com.
> postmaster.srmservices.com. (
> 			1111606895
> 			10800
> 			3600
> 			604800
> 			38400 )
> jazzkitchen.com.	IN	NS	mail.srmservices.com.
> www.jazzkitchen.com.	IN	A	192.168.2.2
> jazzkitchen.com.	IN	A	192.168.2.2
> mail.jazzkitchen.com.	IN	A	198.190.219.7
> jazzkitchen.com.	IN	MX	10 mail.jazzkitchen.com.

The only names in the zone file should be www.jazzkitchen.com.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list