This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/12154] Cannot resolve hosts which have aliases not in host name syntax


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]