Access AWS System Manager
In the Start session interface
ping np1.aws.example.com
dig aws.example.com
In the AWS Management Console interface
sudo su
cat /etc/named.conf