This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/12154] Cannot resolve hosts which have aliases not in host name syntax
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 11 Jan 2016 12:20:02 +0000
- Subject: [Bug network/12154] Cannot resolve hosts which have aliases not in host name syntax
- Auto-submitted: auto-generated
- References: <bug-12154-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=12154
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Cannot resolve hosts which |Cannot resolve hosts which
|have aliases which follow |have aliases not in host
|not host name syntax |name syntax
--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Yang Yu from comment #5)
> imo if DNS resolvers does not fail this kind of wildcard recursive query,
> the client should not fail it either.
I agree that failing the query is unnecessary. Not extracting syntactically
questionable aliases should be sufficient.
> What are the current restrictions (I
> am unable to find out where they are documented) on received dns response?
glibc follows the syntactical requirements of RFC 1123:
http://tools.ietf.org/html/rfc1123#page-13
extended with support for underscores in 1998.
The relevant function is res_hnok in resolv/res_comp.c.
--
You are receiving this mail because:
You are on the CC list for the bug.