From owner-freebsd-questions Wed Apr 4 13:17:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.total.net (rossine.total.net [154.11.89.167]) by hub.freebsd.org (Postfix) with SMTP id 9FA9737B71B for ; Wed, 4 Apr 2001 13:17:50 -0700 (PDT) (envelope-from cckok00@hotmail.com) Received: (qmail 4883 invoked from network); 4 Apr 2001 20:11:12 -0000 Received: from unknown (HELO hotmail.com) (154.20.96.101) by smtp.total.net with SMTP; 4 Apr 2001 20:11:12 -0000 Message-ID: <3ACB7FF0.A0497039@hotmail.com> Date: Wed, 04 Apr 2001 16:11:28 -0400 From: Peter Kok X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mark Drayton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DNS primary, secondary question References: <20010404151623.A9882@tethys.valhalla.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I also have the Secondary name server question: the var/log/message is found in the following messages Apr 5 04:13:29 dns2 named: named startup succeeded Apr 5 04:13:29 dns2 named[5453]: group = 25 Apr 5 04:13:29 dns2 named[5453]: user = named Apr 5 04:13:29 dns2 named[5453]: Ready to answer queries. Apr 5 04:13:36 dns2 named[5453]: secondary zone "0.168.192.in-addr.arpa" expire d Apr 5 04:13:36 dns2 named[5453]: hint zone "" (IN) loaded (serial 0) Apr 5 04:13:36 dns2 named-xfer[5457]: can't make tmpfile (/var/named/db.192.168 .0.HABHfi): Permission denied Apr 5 04:13:43 dns2 named[5453]: secondary zone "akc.com" expired Apr 5 04:13:43 dns2 named[5453]: hint zone "" (IN) loaded (serial 0) Apr 5 04:13:43 dns2 named-xfer[5458]: can't make tmpfile (/var/named/db.akc. com.JdEOJz): Permission denied What is the meaning of? Apr 5 04:13:36 dns2 named-xfer[5457]: can't make tmpfile (/var/named/db.192.168 .0.HABHfi): Permission denied Apr 5 04:13:43 dns2 named-xfer[5458]: can't make tmpfile (/var/named/db.akc. com.JdEOJz): Permission denied The nslookup is no problem in the first time, but it couldn't work in second time. please teach me what is this problem. Tks much regards Peter Mark Drayton wrote: > Evren Yurtesen (eyurtese@turkuamk.fi) wrote: > > I wonder how does resolvers lookup dns names. Do they check primary > > and secondary randomly or they check secondary only if they can't > > reach the primary server? or does it work so the fastest one which > > answer is chosen? Anybody has an idea? Thanks Evren > > Primary nameservers don't have a higher precedance than secondary > nameservers. The purpose of having primary and secondary nameservers to > to make maintainance easier. You update the zone data on the primary and > it's automagically propagated out to the secondaries. They should be > queried in a random order to balance the load. > > Cheers, > > -- > > Mark Drayton > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message