Public bug reported: A new AMI launched with the current Ubuntu 18.04 AMI is unable to resolve local Amazon DNS addresses.
This is on a newly started Ubuntu 18.04 AMI ubuntu@ip-172-20-14-123:~$ nslookup primary.test.local Server: 127.0.0.53 Address: 127.0.0.53#53 ** server can't find primary.whitehaven.local: SERVFAIL I changed the symlink for resolv.conf from resolv.conf -> ../run/systemd/resolve/stub-resolv.conf to resolv.conf -> /run/systemd/resolve/resolv.conf and I can now resolve internal DNS ubuntu@ip-172-20-14-123:/etc$ sudo ln -sfn /run/systemd/resolve/resolv.conf resolv.conf ubuntu@ip-172-20-14-123:/etc$ nslookup primary.test.local Server: 172.20.0.2 Address: 172.20.0.2#53 Non-authoritative answer: Name: primary.test.local Address: ***.***.***.*** Seems like for the base AMI this should work by default ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ec2-ami-tools (not installed) ProcVersionSignature: User Name 4.15.0-1044.46-aws 4.15.18 Uname: Linux 4.15.0-1044-aws x86_64 ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 Date: Wed Aug 14 14:58:14 2019 Ec2AMI: ami-07d0cf3af28718ef8 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-east-1b Ec2InstanceType: t2.micro Ec2Kernel: unavailable Ec2Ramdisk: unavailable ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash SourcePackage: ec2-ami-tools UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ec2-ami-tools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic ec2-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840155 Title: new EC2 is unable to resolve local Amazon DNS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ec2-ami-tools/+bug/1840155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs