[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03454) Re: getnameinfo() gets DNS non-recoverable error Solaris 2.8+
- To: "mclellan, dave" <mclellan_dave@xxxxxxx>, "'users@xxxxxxxx'" <users@xxxxxxxx>, "'Usagi-Users (usagi-users@xxxxxxxxxxxxxx)'" <usagi-users@xxxxxxxxxxxxxx>
- Subject: (usagi-users 03454) Re: getnameinfo() gets DNS non-recoverable error Solaris 2.8+
- From: Ed Kapitein <ed@xxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 21:07:11 +0200
- In-reply-to: <56089AAC80E082438E7D3F0228DA368B059068F7@srmarino.eng.emc.com>
- References: <56089AAC80E082438E7D3F0228DA368B059068F7@srmarino.eng.emc.com>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- Resent-date: Wed, 27 Jul 2005 04:10:01 +0900
- Resent-from: sekiya@xxxxxxxxxxxxxx
- Resent-message-id: <200507270410.FMLAAB12367.usagi-users@linux-ipv6.org>
- Resent-to: usagi-users@xxxxxxxxxxxxxx (moderated)
- User-agent: KMail/1.5.1
Hi Dave,
Perhaps you can debug it by using truss, a command to see how a program is
executed, and snoop, to trace network packets to and from the dnsserver.
For all the other questions i hope someone else can help :-)
Kind regards,
@
On Tuesday 26 July 2005 16:07, mclellan, dave wrote:
> Hi all: DUMB QUESTION ALERT:
>
> if I call getnameinfo() with a sockaddr_in6 that describes a link-local
> address on Solaris 2.8+, it returns EAI_FAIL (DNS non-recoverable error).
> The address is configured I the /etc/net/ipnodes file correctly, I think.
> that is, I can find the address given the name, but can't find the name
> given the address.
>
> 1) is this because it doesn't like link-local, and should I skip the
> getnameinfo() if I know it's a link-local (translate the address by
> inet_ntop for example).
>
> OR
>
> 2) should this work, and how might I best debug the DNS query to figure why
> the configuration is wrong.
>
> Thanks for any hint.
>
>
>
> Dave McLellan --Consulting Software Engineer - SPEA Engineering
> EMC Corporation
> 228 South St. Mail Stop: 228 LL/AA-24
> Hopkinton, MA 01748 USA
> +1-508-249-1257 F: +1-508-497-8030 mclellan_dave@xxxxxxx
>
> ---------------------------------------------------------------------
> The IPv6 Users Mailing List
> Unsubscribe by sending "unsubscribe users" to majordomo@xxxxxxxx