🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78693

Re: Regarding INN - name to address resolution for peers

#78693
From: Russ Allbery
Date: Sat, 09 Feb 2008 06:55
34 lines
3187 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> No, that's not what I'm talking about.  I'm talking about the ordering
>> returned by the resolver, not something maintained in INN (which is not
>> where it really belongs, IMO).  Address ordering for hosts with
>> multiple A records is used fairly widely for preference ranking and is
>> implemented by many resolver clients.

> Only on systems that have that enabled as an option (another
> assumption),

No, this does *not* only happen on systems where it is enabled by an
option.  Either the resolver returns the records in the order returned by
the remote DNS server, which *is* sometimes significant (if unreliable),
or it applies a local sorting algorithm (such as all glibc Linux systems).

Again, *please* go read RFC 3484.  Note, for example, the second paragraph
of the abstract:

   All IPv6 nodes, including both hosts and routers, must implement
   default address selection as defined in this specification.

and section 2:

   As a consequence, we intend that implementations of getaddrinfo()
   will use the destination address selection algorithm specified here
   to sort the list of IPv6 and IPv4 addresses that they return.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87ve4yehzz.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <fnqsnb$e8h$1@snarked.org> <87odavzzlq.fsf@windlord.stanford.edu> <fo93cm$oik$1@snarked.org> <87prvbyhy9.fsf@windlord.stanford.edu> <fo969n$qhl$1@snarked.org> <87fxw71bi4.fsf@windlord.stanford.edu> <foaqf4$jnr$1@snarked.org> <87lk5zrntp.fsf@windlord.stanford.edu> <fob7v7$kma$1@snarked.org> <87hcgmn3wz.fsf@windlord.stanford.edu> <fodcpa$12p$1@snarked.org> <87prv94slm.fsf@windlord.stanford.edu> <fodncj$1s2$1@snarked.org> <878x1x1r5s.fsf@windlord.stanford.edu> <fodtia$36i$1@snarked.org> <fohnj8$7ub$1@news.trigofacile.com> <foiice$bgm$1@snarked.org> <87tzkj15qe.fsf@windlord.stanford.edu> <fojd9e$e8e$1@snarked.org> <874pcig0hq.fsf@windlord.stanford.edu> <fojfj8$ecn$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <87ve4yehzz.fsf@windlord.stanford.edu>
Subject: Re: Regarding INN - name to address resolution for peers
Date: Fri, 08 Feb 2008 22:55:28 -0800
From: Russ Allbery <rra@stanford.edu>
References: <fnqsnb$e8h$1@snarked.org> <87odavzzlq.fsf@windlord.stanford.edu> <fo93cm$oik$1@snarked.org> <87prvbyhy9.fsf@windlord.stanford.edu> <fo969n$qhl$1@snarked.org> <87fxw71bi4.fsf@windlord.stanford.edu> <foaqf4$jnr$1@snarked.org> <87lk5zrntp.fsf@windlord.stanford.edu> <fob7v7$kma$1@snarked.org> <87hcgmn3wz.fsf@windlord.stanford.edu> <fodcpa$12p$1@snarked.org> <87prv94slm.fsf@windlord.stanford.edu> <fodncj$1s2$1@snarked.org> <878x1x1r5s.fsf@windlord.stanford.edu> <fodtia$36i$1@snarked.org> <fohnj8$7ub$1@news.trigofacile.com> <foiice$bgm$1@snarked.org> <87tzkj15qe.fsf@windlord.stanford.edu> <fojd9e$e8e$1@snarked.org> <874pcig0hq.fsf@windlord.stanford.edu> <fojfj8$ecn$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 34
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1202540128 2314 171.64.19.147 (9 Feb 2008 06:55:28
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Cancel-Lock: sha1:Qb9FWB6vyohFhklnevbjqOdXdzk=