[lug] Re: Dumb virt host question

jdavis lug at taproot.bz
Thu Dec 19 19:08:34 MST 2002


On Thu, 2002-12-19 at 18:44, Mark.Andrews at isc.org wrote:
> > 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 virt 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 (
> 
> 	The MNAME and RNAME fields above are invalid.
> 	MNAME should be "NS.TAPROOT.bz." not "www." which does not exist.
> 	RNAME should be "lug.taproot.bz." or an otherwise valid
> 	global email address.  There is no "localhost" on this zone also
> 	localhost in normally not a valid global reachable hostname.
> 	The field is for reporting errors detected with the zone.
> 
> >                         1020 ; serial
> >                         28800 ; refresh
> >                         7200 ; retry
> >                         604800 ; expire 
> >                         86400 ; ttl
> >                         )
> > 
> > 
> > @       IN      NS      ns
> > @       IN      NS      ns2
> 	
> 	I suggest that rather than adding a glue records for every zone
> 	that you use the real names of the nameservers here. 
> 
> 	@ IN NS NS.TAPROOT.bz.
> 	@ IN NS <real name of 209.155.168.147>
> 
> 
> > @       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
> 
> 	Remove the ns and ns2 entries.
> > 
> > 
> > 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
> 
> 	I suspect that you didn't have ns.taproot.bz fully qualified
> 	in the zone when you made the test.  Take care to ensure
> 	those entries that should be absolute are and those that
> 	shouldn't be arn't.  It looks like you make both mistakes.
> 
> > 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 output 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
> > 
> --
> Mark Andrews, Internet Software Consortium
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


thank you very much. My dnsreport is looking pretty good...still need to
set up reverse dns.DNS makes much more since now. part of my problem was
no traling '.'  in the important places. heres how it looks now

$TTL 86400
@       IN      SOA     ns.taproot.bz.  jd.taproot.bz. (
                        2002121901 ; serial
                        3600 ; refresh
                        7200 ; retry
                        604800 ; expire 
                        86400 ; ttl
                        )


@       IN      NS      ns.taproot.bz.

@       IN      MX      10      www.taproot.bz.
www     IN      MX      10      www.taproot.bz.

@       IN      A       209.155.171.204
www     IN      A       209.155.171.204


p.s. also need to get a box for ns2.taproot.bz :)

thanks again,
Jason Davis
jd at taproot.bz
http://www.taproot.bz




More information about the LUG mailing list