Red Hat Bugzilla – Bug 469441
'host -4 hostname' fails even though ipv4 nameservers are available.
Last modified: 2013-04-30 19:41:18 EDT
Description of problem:
I have a mix of ipv4 and ipv6 DNS servers listed in /etc/resolv.conf:
% grep -v '^#' /etc/resolv.conf
Using 'host -4' fails:
% host -4 listserv.vt.edu
host: couldn't get address for '2001:468:c80:2101:0:100:0:22': address family not supported
Even though the actual target exists:
% host -6 listserv.vt.edu
listserv.vt.edu has address 184.108.40.206
listserv.vt.edu has IPv6 address 2001:468:c80:2105:211:43ff:feda:d769
listserv.vt.edu mail is handled by 0 smtp.vt.edu.
'host -4' *should* have gone ahead and tried the 3 listed IPv4 servers.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I've also opened bug #469440 against Fedora Rawhide for this.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.