Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bind9: unknown RR type, unknown class/type errors

7,363 views
Skip to first unread message

Frank Moeller

unread,
Apr 14, 2009, 10:01:35 AM4/14/09
to
Hello All,

I have a little problem while setting up my DNS.

In my LAN I want to use the local domain go.wiki. So I make the following
settings to the bind9 on my ubuntu server (hardy):

named.conf:
=======
include "/etc/bind/named.conf.options";

zone "." {
type hint;
file "/etc/bind/db.root";
};

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

named.conf.options:
============
options {
directory "/var/cache/bind";

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};

named.conf.local:
==========
zone "go.wiki" IN {
type master;
file "/etc/bind/db.go.wiki";
};


/etc/bind/db.go.wiki:
============
$ORIGIN go.wiki.
$TTL 1D
@ IN SOA localhost. hostmaster. (
200405191 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ) ; minimum
IN NS localhost.
IN A 10.3.64.39


After restarting bind9 I receive the following message in the daemon.log:

Apr 14 15:51:34 ingobert named[14090]: /etc/bind/db.go.wiki:1: unknown RR
type 'go.wiki.'
Apr 14 15:51:34 ingobert named[14090]: zone go.wiki/IN: loading from master
file /etc/bind/db.go.wiki failed: unknown class/type

Any idea what's going wrong? Are there any limitations to zone or domain
names?
Thanks in advance.

Best regards

Frank
_______________________________________________
bind-users mailing list
bind-...@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Chris Buxton

unread,
Apr 14, 2009, 10:10:28 AM4/14/09
to

On Apr 14, 2009, at 7:01 AM, Frank Moeller wrote:
> /etc/bind/db.go.wiki:
> ============
> $ORIGIN go.wiki.
> $TTL 1D
> @ IN SOA localhost. hostmaster. (
> 200405191 ; serial
> 8H ; refresh
> 4H ; retry
> 4W ; expire
> 1D ) ; minimum
> IN NS localhost.
> IN A 10.3.64.39
>
>
> After restarting bind9 I receive the following message in the
> daemon.log:
>
> Apr 14 15:51:34 ingobert named[14090]: /etc/bind/db.go.wiki:1:
> unknown RR
> type 'go.wiki.'
> Apr 14 15:51:34 ingobert named[14090]: zone go.wiki/IN: loading from
> master
> file /etc/bind/db.go.wiki failed: unknown class/type
>
> Any idea what's going wrong? Are there any limitations to zone or
> domain
> names?

The message says you have an error on line 1, and that go.wiki. is
being parsed as a record type. Check the file again and make sure you
have a $ before "ORIGIN". Or better yet, take out the $ORIGIN
statement, as it's completely unnecessary.

Chris Buxton
Professional Services
Men & Mice

0 new messages