From: Rick Jones <rick.jones2@hp.com>
To: Dave Hart <davehart_gmail_exchange_tee@davehart.net>
Cc: bismark-bootcamp@projectbismark.net,
bloat-devel <bloat-devel@lists.bufferbloat.net>,
bismark-devel@lists.bufferbloat.net
Subject: Re: smoketest #6 of cerowrt is go for testing
Date: Mon, 18 Jul 2011 10:40:07 -0700 [thread overview]
Message-ID: <4E246FF7.7060405@hp.com> (raw)
In-Reply-To: <CAMbSiYBFNteUdRhBH2CgPL-SOEA2_DPgymK9VPHM_gAPYH=TVA@mail.gmail.com>
On 07/16/2011 09:35 PM, Dave Hart wrote:
> On Sun, Jul 17, 2011 at 00:02 UTC, Rick Jones<rick.jones2@hp.com> wrote:
>> If you configure ntpd with bare IP addresses rather than names, will the
>> getaddrinfo() return without attempting any DNS in the first place?
>
> Yes, basically. ntpd might not even call getaddrinfo() in that case
> (it may use inet_pton() or similar to convert the IP address to binary
> representation). At any rate, using only numeric IPv4 or IPv6
> addresses will avoid any DNS lookups.
If it does still call getaddrinfo(), like netperf does, and if it does
happen to set AI_ADDRCONFIG, like netperf does, then the getaddrinfo()
call for a bare IPv6 address will fail if there are only link-scope IPv6
addresses assigned and the getaddrinfo() is the same as Ubuntu's. This
seems to be a change in the linux space since 2008, although I cannot
say that conclusively because in 2008, netperf wasn't setting
AI_ADDRCONFIG. But I have vague recollections of the calls working under
linux since AI_ADDRCONFIG was set in netperf.
rick jones
next prev parent reply other threads:[~2011-07-18 17:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-16 2:40 Dave Taht
2011-07-16 4:05 ` Dave Hart
2011-07-17 0:02 ` Rick Jones
2011-07-17 4:35 ` Dave Hart
2011-07-17 12:34 ` Dave Taht
2011-07-17 15:50 ` Fwd: " Dave Hart
2011-07-17 20:40 ` Evan Hunt
2011-07-18 17:40 ` Rick Jones [this message]
2011-07-17 0:01 ` Rick Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E246FF7.7060405@hp.com \
--to=rick.jones2@hp.com \
--cc=bismark-bootcamp@projectbismark.net \
--cc=bismark-devel@lists.bufferbloat.net \
--cc=bloat-devel@lists.bufferbloat.net \
--cc=davehart_gmail_exchange_tee@davehart.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox