We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Verifying DNS

We have a www.patientping.internal domain name, but it's only accessible within our VPC.

In other words, this command won't produce a meaningful IP address locally:

dig www.patientping.internal +short

but if you run that command from the patientping-web-v2 EC2 instance (that's inside the VPC), you should be able to resolve the domain name!

ssh patientping
dig www.patientping.internal +short
# 10.0.10.50

Assignment

Verify that www.patientping.internal resolves from inside patientping-web-v2 over SSH.

  1. ssh patientping
    
  2. sudo dnf install bind-utils
    
  3. dig www.patientping.internal +short
    
  4. exit
    

Run and submit the CLI tests from your own machine.