On Sat, Feb 20, 2016 at 01:37:39PM -0500, Curtis Maurand wrote: > Nothing is chrooted. resolv.conf is world readable. Wietse's program > returns a valid address. It might not match the reverse, but it did return > an address. > # ./getaddr delivery.mailspamprotection.com > Hostname: delivery.mailspamprotection.com > Addresses: 108.163.228.171
There's your problem, it is supposed to return *all* the addresses. On my system: $ ./getaddrinfo delivery.mailspamprotection.com Hostname: delivery.mailspamprotection.com Addresses: 108.163.220.52 108.163.201.229 69.175.69.94 108.163.204.150 198.143.161.10 108.163.201.230 96.127.190.5 184.154.58.227 198.143.161.21 184.154.48.173 198.143.161.29 69.175.69.92 108.163.243.190 96.127.190.4 198.143.161.30 108.178.24.182 108.163.243.188 108.163.228.171 69.175.69.93 184.154.208.34 184.154.208.36 96.127.176.253 96.127.190.2 198.143.161.27 108.163.220.54 198.143.161.11 108.163.228.170 198.143.161.13 184.154.58.230 108.163.243.189 108.163.228.174 108.163.201.228 108.178.24.171 108.163.201.226 108.178.24.181 108.163.201.227 184.154.208.37 108.178.24.174 198.143.161.12 184.154.48.171 96.127.176.250 108.163.243.186 108.178.24.180 69.175.69.90 108.163.243.187 108.163.228.172 96.127.176.252 184.154.177.50 184.154.48.172 108.163.204.148 198.143.161.28 108.163.204.146 184.154.208.35 108.163.204.149 96.127.190.6 69.175.69.91 184.154.58.226 108.163.228.173 108.178.24.173 108.178.24.178 96.127.176.254 198.143.161.18 184.154.48.174 198.143.161.20 184.154.58.229 108.163.220.51 96.127.176.251 108.163.220.50 108.178.24.170 108.163.220.53 198.143.161.22 184.154.208.38 184.154.48.170 184.154.58.228 108.178.24.172 198.143.161.14 108.178.24.179 198.143.161.19 108.163.204.147 198.143.161.26 96.127.190.3 If your getaddrinfo returns only the first address, it is busted. Perhaps this is controlled via /etc/hosts.conf: http://www.linfo.org/etc_host_conf.html /etc/hosts.conf: multi on > That said. Since the unit has been updated, but not rebooted, I may need to > reboot to get the kernel fix. Ubuntu does, at least, backport fixes. The getaddrinfo issue is not resolved via a kernel fix, it is addressed via a glibc fix. -- Viktor.