Bind 9.17.7 host -C error
Summary
host -C
either returns "host: isc_nm_udpconnect: network unreachable" or core dumps on Ubuntu 19.10 and Fedora 25.
This does not appear to affect CentOS Linux 8.
BIND version used
host 9.17.7 - compiled with '--enable-fixed-rrset' '--enable-dnstap' '--enable-querytrace'
Steps to reproduce
Host -C
What is the current bug behavior?
Ubuntu 19.10
peter@haparanda:/git/kea$ host -C google.com/git/kea$ host -C google.com
host: isc_nm_udpconnect: network unreachable
peter@haparanda:
Segmentation fault (core dumped)
Fedora 25
[root@mombassa log]# host -C google.com
host: isc_nm_udpconnect: network unreachable
[root@mombassa log]# host -C google.com
host: isc_nm_udpconnect: network unreachable
[root@mombassa log]# host -C google.com
Segmentation fault (core dumped)
What is the expected correct behavior?
It should return a soa record for each name server in the domain:
(07:39:42 <~/Cisco/Cisco_17336>) 0 $ host -C google.com
Nameserver 2001:4860:4802:34::a:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 216.239.34.10:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 2001:4860:4802:36::a:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 216.239.36.10:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 2001:4860:4802:38::a:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 216.239.38.10:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 2001:4860:4802:32::a:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60
Nameserver 216.239.32.10:
google.com has SOA record ns1.google.com. dns-admin.google.com. 344392775 900 900 1800 60