public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "akshay.moghe+sourceware at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/11156] DNS name resolution issue when the answer does not allow recursion
Date: Fri, 13 Mar 2020 22:09:58 +0000	[thread overview]
Message-ID: <bug-11156-131-dKPbaiHbFS@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-11156-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=11156

--- Comment #6 from Akshay <akshay.moghe+sourceware at gmail dot com> ---
This issue seems to be due to underscores in the CNAME.

bash#> nslookup vcc.healthdirect.org.au
Server:         127.0.1.1
Address:        127.0.1.1#53

Non-authoritative answer:
vcc.healthdirect.org.au canonical name = _aliased.coviu.com.
_aliased.coviu.com      canonical name =
production-ui-alb-975266950.ap-southeast-2.elb.amazonaws.com.
Name:   production-ui-alb-975266950.ap-southeast-2.elb.amazonaws.com
Address: 52.65.119.14
Name:   production-ui-alb-975266950.ap-southeast-2.elb.amazonaws.com
Address: 13.237.79.63


Now try resolving the canonical name:

akshay@spitfire:~$ nslookup _aliased.coviu.com
Server:         127.0.1.1
Address:        127.0.1.1#53

Non-authoritative answer:
_aliased.coviu.com      canonical name =
production-ui-alb-975266950.ap-southeast-2.elb.amazonaws.com.
Name:   production-ui-alb-975266950.ap-southeast-2.elb.amazonaws.com
Address: 13.237.79.63
Name:   production-ui-alb-975266950.ap-southeast-2.elb.amazonaws.com
Address: 52.65.119.14


But try it thru libc

akshay@spitfire:~$ getent hosts _aliased.coviu.com
akshay@spitfire:~$ 

... returns nothing

So the root cause for the case I reported seems to be that underscores are not
liked by the getaddrinfo implementation?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2020-03-13 22:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-11156-131@http.sourceware.org/bugzilla/>
2011-02-04  1:30 ` [Bug libc/11156] " pasky at suse dot cz
2014-06-30 20:25 ` fweimer at redhat dot com
2020-03-13  7:17 ` akshay.moghe+sourceware at gmail dot com
2020-03-13  7:21 ` akshay.moghe+sourceware at gmail dot com
2020-03-13  7:25 ` [Bug network/11156] " fw at deneb dot enyo.de
2020-03-13 22:09 ` akshay.moghe+sourceware at gmail dot com [this message]
2020-03-14  7:31 ` fw at deneb dot enyo.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-11156-131-dKPbaiHbFS@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).