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

Charlie Brady <charlieb-sourceware.org at budge dot apana.org.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |charlieb-sourceware.org@bud
                   |                            |ge.apana.org.au

--- Comment #7 from Charlie Brady <charlieb-sourceware.org at budge dot apana.org.au> ---

(In reply to Florian Weimer from comment #6)

> glibc follows the syntactical requirements of RFC 1123:
> 
>   http://tools.ietf.org/html/rfc1123#page-13
> 
> extended with support for underscores in 1998.

rfc 4592 "The Role of Wildcards in the Domain Name System" (from 2006) needs to
be considered.

I found this issue when investigating lookup failures on the name
3d06bae3-cff4-43c6-825d-96175822a583.um.outlook.com.

DNS is returning a valid response:

    Answers
        3d06bae3-cff4-43c6-825d-96175822a583.um.outlook.com: type CNAME, class
IN, cname *.um.outlook.com
.glbdns2.microsoft.com
            Name: 3d06bae3-cff4-43c6-825d-96175822a583.um.outlook.com
            Type: CNAME (Canonical NAME for an alias) (5)
            Class: IN (0x0001)
            Time to live: 297
            Data length: 37
            CNAME: *.um.outlook.com.glbdns2.microsoft.com
        *.um.outlook.com.glbdns2.microsoft.com: type CNAME, class IN, cname
wildcard-namnorth.um.outlook.com
            Name: *.um.outlook.com.glbdns2.microsoft.com
            Type: CNAME (Canonical NAME for an alias) (5)
            Class: IN (0x0001)
            Time to live: 300
            Data length: 20
            CNAME: wildcard-namnorth.um.outlook.com
        wildcard-namnorth.um.outlook.com: type A, class IN, addr 65.55.94.57
            Name: wildcard-namnorth.um.outlook.com
            Type: A (Host Address) (1)
            Class: IN (0x0001)
            Time to live: 300
            Data length: 4
            Address: 65.55.94.57 (65.55.94.57)
        wildcard-namnorth.um.outlook.com: type A, class IN, addr 207.46.198.124
            Name: wildcard-namnorth.um.outlook.com
            Type: A (Host Address) (1)
            Class: IN (0x0001)
           Time to live: 300
            Data length: 4
            Address: 207.46.198.124 (207.46.198.124)

which glibc is discarding/ignoring.

-- 
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]