[lug] Bind VirtHost

jdavis lug at taproot.bz
Thu Dec 19 18:06:47 MST 2002


Hello,
  
if a dns server is to serve dns for multiple virtual domains, how should
the zone file look.. To be more clear here is what Im working with....

www.taproot.bz virt host web and mail for a few domains using
one IP. ns.taproot.bz is the dns server for all the domains hosted 
as well as taproot.bz. When i make a zone file on NS.taproot.bz
for a domain..let say devnull.bz, it looks like this...


$TTL 86400
@       IN      SOA     www.  root.localhost (
                        1020 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire 
                        86400 ; ttl
                        )


@       IN      NS      ns
@       IN      NS      ns2

@       IN      MX      10      www
www     IN      MX      10      www

@       IN      A       209.155.171.204
www     IN      A       209.155.171.204
ns      IN      A       209.155.168.146
ns2     IN      A       209.155.168.147


dnsreport.com reports ns.devnull.bz as primary name server for
devnull.bz.I would like it to be ns.taproot.bz instead. But if
I type ns.taproot.bz anywhere in the zone file...dnsreport
says ns.taproot.bz.devnull.bz is the primary name server.Either
way it complains because supposedly ns.taproot.bz does not exist  and
this is the ns server listed with the domain registar but not in
the devnull zone file...heres out put from dnsreport when checking
out devnull.bz

ERROR: One or more of the nameservers listed at the root servers are not
listed as NS records at your nameservers. The problem NS records are:
NS.TAPROOT.bz.

dns works...at least mail and web for all domains work...but this error
can't be good. Could one of the DNS masters please tell me what Im doing
wrong.

hope this make since to someone :)

thanks,
jd
jd at taproot.bz
http://www.taproot.bz





More information about the LUG mailing list