@origin

Joseph S D Yao jsdy at center.osis.gov
Thu Jan 24 19:34:32 UTC 2002


On Thu, Jan 24, 2002 at 01:38:23AM -0500, Ken wrote:
> Newsgroups: comp.protocols.dns.bind
> Sent: Thursday, January 24, 2002 1:32 AM
> Subject: Re: @origin
> 
> > Hello Joseph,
> >
> > So if "$ORIGIN" is 'not' specified it's based on the name of the file, not
> > the name of the zone from named.conf?
> >
> > Thanks again,
> > Ken

No, absolutely not!

Say your file were called "zone.mine.one.and.only".  But in your
"named.conf" file, you specify three zones:

zone "screaming.name"	IN {
	type master;
	file "zone.mine.one.and.only";
};

zone "mimi.name"	IN {
	type master;
	file "zone.mine.one.and.only";
};

zone "munch.name"	IN {
	type master;
	file "zone.mine.one.and.only";
};

When the file is called for the first zone, the default zone name ("@")
is "screaming.name".  When the file is called for the second zone, the
default zone name ("@") is "mimi.name".  And for the third, of course,
it's "munch.name".  It depends on the zone for which the file is
called.  The zone file name could be anything else.  Even "WIN.INI" or
"COMMAND.COM", e.g., as long as you specified it correctly in the
zone{} statement.

<URL: http://www.ibiblio.org/wm/paint/auth/munch/munch.scream.jpg>

-- 
Joe Yao				jsdy at center.osis.gov - Joseph S. D. Yao
OSIS Center Systems Support					EMT-B
-----------------------------------------------------------------------
   This message is not an official statement of OSIS Center policies.


More information about the bind-users mailing list