$ORIGIN . problems
Barry Margolin
barmar at genuity.net
Fri Sep 7 17:55:19 UTC 2001
In article <9naukc$k7i at pub3.rc.vix.com>, news.easynet.net <fhgfj at fhf.nm> wrote:
>For now I have removed the $ORIGIN . files from my zonefiles so that the
>nameserver is working but this is clearly not the way to do it
Why not? The default origin is the zone name from named.conf, and this is
usually sufficient. $ORIGIN is useful if you have a subdomain and you
don't want to have to keep repeating it, e.g. instead of:
www.accounting IN A 1.2.3.4
mail.accounting IN A 1.2.3.5
you might do:
$ORIGIN accounting.company.com.
www IN A 1.2.3.4
mail IN A 1.2.3.5
But there's little reason to use $ORIGIN if everything is just in the
domain named in the named.conf.
--
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users
mailing list