How to properly use sub-domain

Jeffrey Reasoner jeff.reasoner at mail.hccanet.org
Wed Oct 18 19:05:59 UTC 2006


On Wed, 2006-10-18 at 14:07, John Sherling wrote:
> I'm running BINC 9.3.2, and I have a zonefile on my BIND server called
> myDomain.com. I want to set up a separate sub-domain, called
> 'sub.myDomain.com' and have the data server from a different zone
> file, but on the same server.
> 
> But, my question is, how would my DNS server know how to differentiate
> between a request for 'host.myDomain.com' and 'host.sub.myDomain.com'
> and look in the appropriate zone file for each?

You have included the answer in your question. It is authoritative for
both, so it will answer the query it receives - one answer if the query
is for a host in myDomain.com and another if the host is in
sub.myDomain.com. Try it and see...

> Many thanks...
> 
> J
> 
> 
#####################################################################################

This email has been scanned by MailMarshal, an email content filter. 

#####################################################################################



More information about the bind-users mailing list