Reproposed F19 Feature: Fix Network Name Resolution [Was: DualstackNetworking]

Miloslav Trmač mitr at volny.cz
Tue Jan 29 13:47:39 UTC 2013


Hello,
just a minor point, not getting into the wider "should getaddrinfo()
be the primary interface" debate...

On Tue, Jan 29, 2013 at 4:58 AM, Nick Jones <nick.fa.jones at gmail.com> wrote:
> As a quick summary: I would suggest, in addition to addressing
> the outstanding bugs and issues covered by the Fedora feature,
> a flag be added to the set of getaddrinfo parameters that
> instructs it NOT to do DNS lookups, only perform alternative
> resource lookups supported by nss.  This flag would be something
> like: AI_NODNS
>
> This will allow application developers to make use of
> getaddrinfo for resolving names using non dns sources (hosts
> file is DNS, so this means ldap and others), then perform
> internet domain lookups using an alternative DNS library that
> is standardised in Fedora.

That's unnecessarily difficult for the application developers.
Application should have a single API to call; if they have to call two
separate APIs, some of them won't.
    Mirek


More information about the devel mailing list