not failing back to IPv4 when AAAA returns SERVFAIL

Bug #1668296 reported by jowfdoijdfdwfwdf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd
Fix Released
Unknown
systemd (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

A reocrd exists, AAAA returns SERVFAIL, in this case resolution fails instead of falling back to IPv4 A record

$ host www.fidelityrewards.com
www.fidelityrewards.com has address 170.135.184.45
Host www.fidelityrewards.com not found: 2(SERVFAIL)

$ wget www.fidelityrewards.com
--2017-02-27 07:41:57-- http://www.fidelityrewards.com/
Resolving www.fidelityrewards.com (www.fidelityrewards.com)... failed: Name or service not known.
wget: unable to resolve host address ‘www.fidelityrewards.com

/etc/nsswitch.conf
hosts: files myhostname mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns wins

libnss-resolve 231-9ubuntu3

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

possibly upstream issue as well

Changed in systemd:
status: Unknown → New
Revision history for this message
Steve Langasek (vorlon) wrote :

I cannot reproduce this with the libnss-resolve in Ubuntu 17.04 or 17.10. The original problem was reported with systemd 231; 17.04 shipped with 232. It is possible that this has been fixed in systemd upstream (the linked upstream bug has been closed), or it's possible that the DNS configuration for www.fidelityrewards.com has changed. I'm closing this fix-released, but if you know of another DNS name that is still broken because of this, please reopen.

Changed in systemd (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Changed in systemd (Ubuntu):
status: Fix Released → New
Revision history for this message
jowfdoijdfdwfwdf (dsfkljo322332) wrote :

www.fidelityrewards.com fixed their broken DNS (now AAAA returns NOERROR instead SERVFAIL). I don't believe this bug is fixed.

Changed in systemd:
status: New → Fix Released
Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.