- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Various Command-Line Tools
- A-record and CNAME DNS record types
- Windows 10 (21H2) (Virtual Machine name: Client-1)
- Windows Server 2022 (Virtual Machine name: DC-1)
- A-Record Exercise
- Local DNS Cache Exercise
- CNAME Record Exercise
A-Record Exercise
- Connect/log into Client VM (Client-1) as an admin (ex: newdomain\jane_admin)
- Connect/log into Domain Controller VM (DC-1) as an admin (ex: newdomain\jane_admin) and launch Server Manager
- Using Server Manager Tools, create a DNS A-record for a sub-domain (ex: main.newdomain.com) on DC-1
- have the A-record point back to DC-1’s Private IP address
- Go back to Client-1 VM and try to ping the new subdomain created to observe that it works
Local DNS Cache Exercise
- Go back to DC-1 and change the record address for "main" to 8.8.8.8
- Go back to Client-1 and ping “main” again and observe that it still pings the old address
- Observe the local dns cache (ipconfig /displaydns)
- Flush the DNS cache (ipconfig /flushdns) and observe that the cache is empty
- Attempt to ping “main” again and observe the address of the new record is showing up
Before and After flushing DNS cache
CNAME Record Exercise
- In Client-1 VM, attempt to ping “film” to observe the results
- In DC-1 VM, create a CNAME record that points the host “film” to “www.disney.com”
- In Client-1 VM, attempt to ping “film” to observe the results of the CNAME record
- On Client-1, nslookup “search” and observe the results of the CNAME record
Before and After creating CNAME record