how to describe subdomains

Adrian Goins Adrian at mamamedia.com
Mon Nov 8 18:13:33 UTC 1999


inside of your zone file, do the following:

<all of the stuff for domain.com>

$ORIGIN sub.domain.com.
name		IN	A	xxx.xxx.xxx.xxx
name2		IN	A	xxx.xxx.xxx.xxx

$ORIGIN sub1.domain.com.
name3		IN	A	xxx.xxx.xxx.xxx

you'll have name.sub.domain.com and name2.sub.domain.com, as well as
name3.sub1.domain.com

Adrian Goins <adrian at mamamedia.com>
Website Server Manager
212.334.3277 x417


> -----Original Message-----
> From: tony_barratt at my-deja.com [mailto:tony_barratt at my-deja.com]
> Sent: Monday, November 08, 1999 11:22 AM
> To: comp-protocols-dns-bind at moderators.isc.org
> Subject: how to describe subdomains
> 
> 
> Hi List,
> I'm setting up a private DNS server for the domain ran, which has,
> asd01, asd02.., asd0n as subdomains. So anyhow I have generated a file
> db.ran which has a SOA that sez this file is authorative for ran.
> But how do I specify the subdomains asd01 etc? All the examples I've
> seen assume that the subdomain are defined on a different server not
> the same one.
> Well that's no quite true I've seen one (ie a db.domainname file) that
> has
> $INCLUDE db.subdomain1.domainname
> $INCLUDE db.subdomain2.domainname
> ...
> $INCLUDE db.subdomainx.domainname
> which seems to work.
> Is there, however, a more sensible approach?
> 
> TIA
> 
> Tony
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
> 


More information about the bind-users mailing list