NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts



On 6/19/14, 2:19 PM, Martin Husemann wrote:
> On Thu, Jun 19, 2014 at 09:18:01PM +0200, Martin Husemann wrote:
>> On Thu, Jun 19, 2014 at 01:58:27PM -0500, J. Lewis Muir wrote:
>>> I do not have that problem on my system:
>>
>> I can reproduce it both on netbsd-6 as well as on -current when using
>> names that are not in DNS.
>
> Actually I can *ONLY* reproduce it with IPv6 entries, v4 ones work
> fine.

The only IPv6 entry in my /etc/hosts is the loopback entry:

===
::1                     localhost localhost.
===

Lewis


Home | Main Index | Thread Index | Old Index