From owner-freebsd-questions Thu Apr 5 7:35:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bessel.tekniikka.turkuamk.fi (bessel.tekniikka.turkuamk.fi [193.166.133.10]) by hub.freebsd.org (Postfix) with ESMTP id 00F5B37B440 for ; Thu, 5 Apr 2001 07:35:32 -0700 (PDT) (envelope-from eyurtese@bessel.tekniikka.turkuamk.fi) Received: from localhost (eyurtese@localhost) by bessel.tekniikka.turkuamk.fi (8.9.2/8.9.2) with ESMTP id RAA39952; Thu, 5 Apr 2001 17:35:14 +0300 Date: Thu, 5 Apr 2001 17:35:14 +0300 (WET) From: Evren Yurtesen To: Bill Schoolcraft Cc: Jan Grant , Dru , Evren Yurtesen , freebsd-questions Subject: Re:(2) DNS primary secondary question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG actually what I wanted to know that if it is possible to have 2 seperate web sites at different locations and in each server have an dns server which points the www.foobar.com to itself then we set foobar.com dns servers as primary x.x.x.x and secondary y.y.y.y x.x.x.x is the ip of one site y.y.y.y is the ip of the other site so we would have virtually some kind of load balance and in the case when there is a problem with x.x.x.x site all the clients would go to y.y.y.y site automaticly becuase they cant reach to the dns server of x.x.x.x they would by default try the y.y.y.y site's server since it is secondary (or primary) and it points back to itself. Is this possible? Evren On Wed, 4 Apr 2001, Bill Schoolcraft wrote: > At Wed, 4 Apr 2001 it looks like Jan Grant composed: > > > Jan.Gr->The DNS system as a whole cannot tell the difference between a primary > Jan.Gr->and secondary nameserver for a domain. The whole notion is one of > Jan.Gr->expediency of configuration. Whois and domain registration still list > Jan.Gr->two nameservers (primary and secondary) because it attempts redundancy > Jan.Gr->(that's why two): the primary and secondary distinction there > Jan.Gr->was initially kinda intended to reflect that people would run their own > Jan.Gr->nameserver for a domain (the primary) and get somebody else offsite to > Jan.Gr->host the secondary. > Jan.Gr-> > Jan.Gr->Your machine will query the nameservers listed in /etc/resolv.conf in > Jan.Gr->order when it attempts to resolve a DNS query (ie, punting the question > Jan.Gr->to a named somewhere). > Jan.Gr-> > Jan.Gr->named itself will pick a NS for a remote domain > Jan.Gr->out of the list of NSs for that domain, for each query: each remote NS > Jan.Gr->will be hit 1/n of the time (roughly), where there are n remote NS for > Jan.Gr->that domain. > Jan.Gr-> > Jan.Gr->As clear as mud..? > Jan.Gr-> > > .......... Thanks, I do have a question though. "IF" one is running > BIND on their machine, acting as a "master" for their own domain > (intenal 192.168.x.x network), can they keep they 2nd and 3rd > stanza's as follows: > > search mydomian.com # current local domain > nameserver 0.0.0.0 # current machine it's own master. > nameserver 123.123.123.123 # standard secondary > nameserver 111.111.111.111 # standard tertiary > > > > -- > Bill Schoolcraft > PO Box 210076 -o) > San Francisco CA 94121 /\ > "UNIX, A Way Of Life." _\_v > http://forwardslashunix.com > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message