DNS Issues with Cloud formation template
Which flavor of Linux are you using? (eg Ubuntu/Debian, RHEL/CentOS etc)
Also which version? (eg Ubuntu started using the &quot;netplan&quot; configuration by default in 20.04)
At first glance, it looks like your DNS nameservers are hosed somehow.
And can you post the results for doing a: netstat -nutpl?
Look at which PID/Program Name is listening on port 53 (systemd-resolve? dnsmasq?) and check its nameserver configuration.
Maybe check here: sudo cat /etc/resolv.conf  and make sure the nameserver(s) listed there are what you think you should have them.
or check the DNS-related services are even running with something like:
Ubuntu:  sudo service systemd-resolved status (NOTE BOTH of the 'd' endings)
CentOS/RHEL: sudo service dnsmasq status
(or whatever is using port 53, which is the default DNS port on most OSes)