postfix name lookup failed after dist-upgrade (Aug-2018)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Internal DNS cache configured on LXD system:
Upon further investigation, nslookup is having similar issues:
18.04 LTS system:
# nslookup oracle.com - 192.168.0.30
Server: 192.168.0.30
Address: 192.168.0.30#53
Non-authoritative answer:
Name: oracle.com
Address: 137.254.120.50
** server can't find oracle.com: SERVFAIL
# nslookup www.oracle.com - 192.168.0.30
Server: 192.168.0.30
Address: 192.168.0.30#53
Non-authoritative answer:
www.oracle.com canonical name = ds-www.
ds-www.
Name: e870.dscx.
Address: 23.62.67.62
Notice SERVFAIL on first lookup. However on older Ubuntu system (16.10) pointing to the same DNS server
# nslookup oracle.com - 192.168.0.30
Server: 192.168.0.30
Address: 192.168.0.30#53
Non-authoritative answer:
Name: oracle.com
Address: 137.254.120.50
# nslookup www.oracle.com - 192.168.0.30
Server: 192.168.0.30
Address: 192.168.0.30#53
Non-authoritative answer:
www.oracle.com canonical name = ds-www.
ds-www.
Name: e870.dscx.
Address: 23.62.67.62
Most lookup requests will end in the SERVFAIL but retrieve the correct address.
# nslookup www.ubuntu.com - 192.168.0.30
Server: 192.168.0.30
Address: 192.168.0.30#53
Non-authoritative answer:
Name: www.ubuntu.com
Address: 91.189.89.110
** server can't find www.ubuntu.com: SERVFAIL
Internal systems look up without any issues.
In order to resolve postfix, I had to create an entry in the DNS server with the IP address of the external mail server.
This was working until I did a apt update; apt dist-upgrade -y; around the 15th of August, 2018
Pointing to external DNS resolver does not have the issue:
# nslookup www.ubuntu.com - 1.1.1.1
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
Name: www.ubuntu.com
Address: 91.189.89.103
So there seems to be some incompatibility between bind9 package/server and the dns library/tools on 18.04.
Can replicate this in virtualbox with the ubuntu-
# lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
# apt show bind9
Package: bind9
Version: 1:9.11.
# apt show dnsutils
Package: dnsutils
Version: 1:9.11.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: dnsutils 1:9.11.
ProcVersionSign
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 18 09:43:02 2018
InstallationDate: Installed on 2018-07-30 (19 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bind9
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in bind9 (Ubuntu): | |
status: | New → Incomplete |
Attaching Vagrant file to duplicate issue