Re: hostname resolution in libshout
RJ Ryan <[email protected]>
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <CAKrSP5aDxQ28+TNEJxz8KJWU-_L2+0v9B__cNCduCa6c8us2hw@mail.gmail.com> |
Hm, I attempted to file a ticket but was rejected: Submission rejected as potential spam - BotScout says this is spam (Y|MULTI|IP|0|MAIL|0|NAME|2) - StopForumSpam says this is spam (username [40]) Maybe because I just registered? On Mon, Nov 17, 2014 at 12:59 PM, Ralph Giles <[email protected]> wrote: > On 2014-11-17 7:55 AM, RJ Ryan wrote: > > > They are requesting that libshout "fall back" on the ipv4 resolution of > > the hostname if the ipv6 version fails to connect. > > Binding only ipv4 on an dual-stack server is a deployment bug, but > libshout should fall back when running on a dual-stack client, as they > say. Please do file a bug. > > I believe RFC 6555 describes the current best practice for this: clients > should probe over both protocols when dns returns both ipv6 and ipv4 > addresses and use whichever to work around breakage like this (which can > occur at intermediate routers as well as at servers). > > The http module in the opusfile library has an implementation of this if > you want code to borrow. > > -r > _______________________________________________ > Icecast-dev mailing list > [email protected] > http://lists.xiph.org/mailman/listinfo/icecast-dev > _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev