Newbie: Troubles with dns zone file
Barry Margolin
barmar at genuity.net
Wed Apr 12 14:29:22 UTC 2000
In article <D134CAE80EFFD1118DAB00805F9F5423975157 at msxnc02itscge.gecits.ge.com>,
<Tom.Pockrandt at gecits.ge.com> wrote:
>
>I get the following error if i restarting nameserver:
>
>Jan 12 07:56:41 ns1 named[329]: /etc/named.conf:22: syntax error near type
>
>My named.conf file:
>
>};
>
>//
>// a caching only nameserver config
>//
> type hint; (This is line 22)
> file "named.ca";
>};
>
>zone "0.0.127.in-addr.arpa" {
> type master;
> file "named.local";
>};
>
>I think that on line 21 must stay "zone ?????" or like that. Is it true that
>this section is bad ?. What can I do to correct it ?.
Yes, "type hint" is supposed to be inside a zone statement, as you write
below.
>zone "." {
> type hint;
> file "named.ca";
>};
--
Barry Margolin, barmar at genuity.net
Genuity, Burlington, 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