Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2000 00:51:26 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        peter kok <aoypcc@hotmail.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: DNS set up question
Message-ID:  <20000629005125.F451@dialin-client.earthlink.net>
In-Reply-To: <20000629071320.15941.qmail@hotmail.com>; from aoypcc@hotmail.com on Thu, Jun 29, 2000 at 07:13:20AM %2B0000
References:  <20000629071320.15941.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 29, 2000 at 07:13:20AM +0000, peter kok wrote:
> Hi
> 
> I have DNS set up question
> 
> the file setting: named.conf
> -----------------------------
> zone "abc.com.hk" in {
>         type master;
>         file "db.abc";
> };
> 
> zone "0.168.192.in-addr.arpa" in {
>         type master;
>         file "db.192.168.0";
> };
> 
> zone "0.0.127.in-addr.arpa" in {
>         type master;
>         file "db.127.0.0";
> };
> 
> zone "." in {
>         type hint;
>         file "db.cache";
> };
> 
> ---------------------------------
> when I run /etc/named, and grep /var/log/messages. error messages:
             ^^^^^^^^^^
ITYM, /usr/sbin/named?

> Jun 29 15:00:29 email named[521]: starting.  named 8.2.2-P5-NOESW Mon Mar 20 
> 20:
> 43:54 GMT 2000  root@monster.cdrom.com:/usr/obj/usr/src/usr.sbin/named
> Jun 29 15:00:29 email named[521]: limit files set to fdlimit (1024)
> Jun 29 15:00:29 email named[521]: Zone "nikoyo.com.hk" (file db.nikoyo): No 
> defa
> ult TTL set using SOA minimum instead

Just a warning about no TTL set.

> Jun 29 15:00:29 email named[521]: db.abc:1: SOA for "abc.com" not at zone
> top "abc.com.hk"
> Jun 29 15:00:29 email named[521]: Zone "abc.com.hk" (file db.abc): no NS R
> Rs found at zone top
> Jun 29 15:00:29 email named[521]: master zone "abc.com.hk" (IN) rejected due
> to errors (serial 2000062901)

Looks like the zone file, db.abc, is pretty messed up.

> Jun 29 15:00:29 email named[521]: Zone "0.168.192.in-addr.arpa" (file 
> db.192.168
> .0): No default TTL set using SOA minimum instead

Again, no TTL set.

> Jun 29 15:00:29 email named[521]: /etc/namedb/named.conf:123: cannot 
> redefine zo
> ne '0.0.127.in-addr.arpa' class IN
> Jun 29 15:00:29 email named[521]: /etc/namedb/named.conf:128: cannot 
> redefine zo
> ne '.' class IN

Hmmm... Is that the _whole_ file you showed us?

> kindly help and I don't know what is my mistake

DNS is a very picky beast not to be toyed with if these are real
domain records.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000629005125.F451>