I have recently installed 2 virtual machines using Ubuntu 18.04, both appear to be configured the same, but one will not resolve addresses.

Both servers have a minimal install.

Server 1 runs nginx proxy server.
Server 2 runs bind for external DNS

Both servers point to 10.0.181.1 and 10.0.181.2 in their netplan config for DNS.

Both servers have no firewall enabled locally.

Both servers can ping the internal DNS servers.

Server 2:

[email protected]:/etc/netplan# ping uksvl-web01-rs
PING uksvl-web01-rs (10.0.52.1) 56(84) bytes of data.
64 bytes from uksvl-web01-rs (10.0.52.1): icmp_seq=1 ttl=64 time=1.19 ms

Server 1:

[email protected]:/etc/nginx/conf.d# ping uksvl-web01-rs
ping: uksvl-web01-rs: Temporary failure in name resolution

I have seen references to disabling systemd-resolve, this has no impact.

There is no DHCP involved here, everything is static.

Leave a Reply

Your email address will not be published. Required fields are marked *