Article View: news.software.nntp
Article #78642Re: Regarding INN - name to address resolution for peers
From: Russ Allbery
Date: Tue, 05 Feb 2008 06:28
Date: Tue, 05 Feb 2008 06:28
16 lines
1937 bytes
1937 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> I actually noted that the code is AF independent, but that it only tries
> the first address returned from the first address family returned.
> Technically, if a non-IP address family record were returned (such as
> from an APL record instead of A or AAAA), that would be tried too.
That sounds like a horribly broken getaddrinfo. getaddrinfo specifically
looks up the address of a host. It shouldn't be returning random other
DNS RRs, whether they be APL, MX, AFSDB, TXT, or anything else.
--
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:
<87odavzzlq.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!postnews.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$1@snarked.org> <87ejbs0ytv.fsf@windlord.stanford.edu> <fo8uhn$o2q$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <87odavzzlq.fsf@windlord.stanford.edu> Subject: Re: Regarding INN - name to address resolution for peers Date: Mon, 04 Feb 2008 22:28:17 -0800 From: Russ Allbery <rra@stanford.edu> References: <fnqsnb$e8h$1@snarked.org> <fo82tr$14d$1@bongo.bofh.it> <fo8pcb$nkd$1@snarked.org> <87ejbs0ytv.fsf@windlord.stanford.edu> <fo8uhn$o2q$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!postnews.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 16 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1202192897 17954 171.64.19.147 (5 Feb 2008 06:28:17 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:WRexmJs0HhVNXmoJMs7vGvSnW2o=