FS#30944 - [glibc] error in gethostbyname()
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Tuesday, 31 July 2012, 18:43 GMT
Last edited by Allan McRae (Allan) - Wednesday, 01 August 2012, 13:04 GMT
Opened by Matthias Dienstbier (fs4000) - Tuesday, 31 July 2012, 18:43 GMT
Last edited by Allan McRae (Allan) - Wednesday, 01 August 2012, 13:04 GMT
|
Details
I just discovered a weird bug. When I go to www.sparhandy.de
in Chromium I get a DNS error but Firefox and Epiphany can
display the website. Then I noticed that I cannot ping that
host either:
$ ping www.sparhandy.de ping: unknown host www.sparhandy.de and tracepath: $ tracepath www.sparhandy.de gethostbyname: Unknown host dig gives me this result: ;; ANSWER SECTION: www.sparhandy.de. 300 IN CNAME sparhandy.de. www.sparhandy.de. 300 IN A 80.237.187.220 Seems like a misconfiguration of their DNS which cannot be handled by the obsoleted gethostbyname(). But all programs utilizing getaddrinfo() work flawlessly. I hope somebody can reproduce this. Some DNS servers seem to correct the answer. For example there is no problem with Google's DNS 8.8.8.8 |
This task depends upon
EDIT: I'm just trying Fedora and here are exactly the same problems. I probably should ask upstream if this is inteded.
The solution is not to use a broken DNS server. Not much more can be done here.