NetBSD-Bugs archive

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

Re: lib/50367: libc resolver library does not resolve host names with underscores ("_")



The following reply was made to PR lib/50367; it has been noted by GNATS.

From: Brett Lymn <blymn%internode.on.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/50367: libc resolver library does not resolve host names with underscores ("_")
Date: Sun, 25 Oct 2015 14:13:11 +1030

 On Sun, Oct 25, 2015 at 02:25:00AM +0000, schaecsn%gmx.net@localhost wrote:
 > 
 > Such host names are not resolved:
 > 
 > $ mpg123 -yC http://dradio_mp3_dlf_m.akacast.akamaistream.net/7/249/142684/v1/gnl.akacast.akamaistream.net/dradio_mp3_dlf_m
 > High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
 >         version 1.21.0; written and copyright by Michael Hipp and others
 >         free software (LGPL) without any warranty but with best wishes
 > 
 > [resolver.c:289] error: Resolving dradio_mp3_dlf_m.akacast.akamaistream.net:80: Non-recoverable failure in name resolution
 > 
 
 That is actually the correct behaviour, underscores are not legal in
 hostnames.
 
 -- 
 Brett Lymn
 Let go, or be dragged - Zen proverb.
 


Home | Main Index | Thread Index | Old Index