[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Importing zone files to DNS



Vesa Gynther wrote:

> This is how I tried to accomplish this:
> 
> 1. copied zone file from existing primary to /etc/named/pri.foobar.fi
> 
> 2. added line
> 
>         zone "foobar.fi" { type master; file "pri.foobar.fi"; };
> 
> 3. restarted BIND.
> 
> The name service for the new domain DOES work e.g.
> 
>         nslookup ahost.foobar.fi
> 
> gives me the right IP address

So far so good.

> BUT the new domain doesn't appear in the
> GUI.
> 
> Am I right in assuming that the 'records' file in the /etc/named is the
> key ?

Yes, that's correct.

> I think GUI updates the 'records' file and then uses it to create
> the zone files to be used by BIND ?

Yes, that's correct.

> If this is the case, then I'd have to know the exact format of the
> 'records' file or to have a tool which would take a zone file as its input
> and append "appropriate lines" (tm) to 'records'.  Is there such a tool in
> then known universe ;-) ?

Not that I know of.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205