Cloud DNS and Name Resolution
Cloud workloads should not depend on people remembering IP addresses. DNS provides the naming layer that allows users, applications, and services to locate resources reliably.
Welcome to Lab 06 of the CompTIA Cloud+ practical lab sequence.
In the previous labs, you built:
- a cloud virtual network
- public, application, and database subnets
- route tables
- public and private connectivity
- network security controls
You can now answer:
Can traffic reach the destination?
Now you will add the naming layer and answer:
Can the workload find the destination by name?
You will move from:
10.10.20.15to:
app.cloudplus.laband understand how that hostname is resolved to the correct IP address.
π― Mission Information
Section titled βπ― Mission Informationβ| Item | Details |
|---|---|
| Lab | 06 β Cloud DNS and Name Resolution |
| Difficulty | Beginner β Intermediate |
| Estimated Time | 60β90 Minutes |
| Certification Alignment | CompTIA Cloud+ |
| Primary Focus | DNS & Service Name Resolution |
| Previous Lab | 05 β Cloud Security Groups and Network Access Controls |
| Career Alignment | Cloud Administrator, Cloud Engineer, Cloud Support Engineer, Cloud Security Engineer |
| Major Skills | DNS Records, Public DNS, Private DNS, Resolution, Troubleshooting |
| Deliverable | Cloud DNS Design + Name Resolution Validation Report |
π’ Scenario
Section titled βπ’ ScenarioβYour cloud environment now contains:
Internet βWeb Tier βApplication Tier βDatabase TierThe application team has been using IP addresses during initial testing.
For example:
Web Server:10.10.10.10
Application Server:10.10.20.10
Database:10.10.30.10This approach becomes difficult to maintain because:
-
addresses may change
-
workloads may be replaced
-
applications should not hard-code infrastructure IPs
-
troubleshooting becomes harder
Your manager asks you to implement DNS-based naming.
The desired model is:
web.cloudplus.lab β10.10.10.x
app.cloudplus.lab β10.10.20.x
db.cloudplus.lab β10.10.30.xThe web application should locate the application server by name, and the application server should locate the database by name.
π― Lab Objectives
Section titled βπ― Lab ObjectivesβBy completing this lab, you should be able to:
-
explain DNS
-
understand hostname-to-IP resolution
-
distinguish public and private DNS
-
understand DNS zones
-
explain common DNS record types
-
create DNS records
-
understand cloud DNS resolvers
-
configure internal service names
-
validate name resolution
-
distinguish DNS failures from routing failures
-
identify incorrect DNS records
-
understand TTL concepts
-
troubleshoot cloud DNS systematically
-
document cloud DNS architecture
-
explain DNS during cloud technical interviews
π§ Why This Lab Matters
Section titled βπ§ Why This Lab MattersβA beginner may configure an application using:
Database Server:10.10.30.25That works until:
Database Rebuilt βNew IP βApplication BreaksA stronger model uses:
db.cloudplus.lab βDNS βCurrent Database IPThen applications depend on:
a stable service name
rather than:
a potentially changing infrastructure address.
01 β Understand DNS
Section titled β01 β Understand DNSβDNS stands for:
Domain Name System
Its basic purpose is to translate names into network information.
A simplified process is:
User / Application βHostname βDNS Query βDNS Resolver βDNS Record βIP Addressπ§ Simple Example
Section titled βπ§ Simple ExampleβA user enters:
portal.example.comDNS may return:
203.0.113.20The network connection then uses the IP address.
02 β Separate DNS From Connectivity
Section titled β02 β Separate DNS From ConnectivityβDNS performs:
name resolution.
Routing performs:
packet forwarding.
Security controls determine:
whether communication is permitted.
Use this model:
Hostname βDNS βIP Address βRouting βSecurity βServiceπ¨ Important
Section titled βπ¨ ImportantβA DNS record can resolve correctly while the application remains unreachable.
Likewise, the network can work perfectly while DNS is broken.
03 β Review the Current Cloud Environment
Section titled β03 β Review the Current Cloud EnvironmentβYour environment should resemble:
10.10.0.0/16 | βββ Public β 10.10.10.0/24 | βββ Application β 10.10.20.0/24 | βββ Database 10.10.30.0/24Identify the private IP addresses currently assigned to your test workloads.
π Record
Section titled βπ RecordβWeb VM:
Private IP:
Application VM:
Private IP:
Database VM:
Private IP:04 β Understand a DNS Zone
Section titled β04 β Understand a DNS ZoneβA DNS zone represents an administrative namespace.
For this lab, use a private training namespace such as:
cloudplus.labThe zone can contain records such as:
web.cloudplus.labapp.cloudplus.labdb.cloudplus.labπ§ DNS Hierarchy
Section titled βπ§ DNS HierarchyβConceptually:
cloudplus.lab | βββ web.cloudplus.lab βββ app.cloudplus.lab βββ db.cloudplus.lab05 β Understand Public DNS
Section titled β05 β Understand Public DNSβPublic DNS provides records accessible from public DNS infrastructure.
Example:
www.example.com βPublic DNS βPublic IPPublic DNS is appropriate for services intended to be publicly discoverable.
06 β Understand Private DNS
Section titled β06 β Understand Private DNSβPrivate DNS provides naming inside controlled environments.
Example:
db.cloudplus.lab βPrivate DNS β10.10.30.10This name should not necessarily need to exist on the public internet.
π§ Security Benefit
Section titled βπ§ Security BenefitβPrivate DNS helps keep internal service names and addresses within the environment where they are required.
07 β Public vs Private DNS
Section titled β07 β Public vs Private DNSβUse:
| Public DNS | Private DNS |
|---|---|
| Internet-facing names | Internal service names |
| Publicly resolvable | Private-network resolvable |
| Often maps to public services | Often maps to private IPs |
| Used by external users | Used by internal workloads |
08 β Understand DNS Resolvers
Section titled β08 β Understand DNS ResolversβA DNS resolver receives DNS queries from clients and attempts to find the answer.
Conceptually:
Application βDNS Resolver βDNS Namespace βRecordCloud providers often provide built-in DNS-resolution services for workloads.
09 β Identify the DNS Resolver Used by Your VM
Section titled β09 β Identify the DNS Resolver Used by Your VMβOn a Linux VM, inspect the current resolver configuration.
Depending on the system, use:
cat /etc/resolv.confor appropriate system-resolution tooling.
Record:
DNS Resolver:
Search Domain:
Notes:π§ Important
Section titled βπ§ ImportantβModern Linux distributions may use local resolver components, so the address visible in /etc/resolv.conf may not always be the upstream DNS server directly.
Focus on understanding:
which resolution path the system uses.
10 β Test Existing DNS Resolution
Section titled β10 β Test Existing DNS ResolutionβFrom a lab VM, test a known hostname.
For example:
nslookup example.comor:
dig example.comif available.
Observe:
-
query name
-
returned IP
-
responding resolver
11 β Understand A Records
Section titled β11 β Understand A RecordsβAn A record maps a hostname to an IPv4 address.
Example:
app.cloudplus.lab βA β10.10.20.1012 β Understand AAAA Records
Section titled β12 β Understand AAAA RecordsβAn AAAA record maps a hostname to an IPv6 address.
Conceptually:
app.example βAAAA βIPv6 Address13 β Understand CNAME Records
Section titled β13 β Understand CNAME RecordsβA CNAME creates an alias to another hostname.
Example:
portal.cloudplus.lab βCNAME βweb.cloudplus.labπ§ CNAME Use
Section titled βπ§ CNAME UseβCNAME can help when:
multiple user-friendly names should reference another canonical hostname.
14 β Understand MX Records
Section titled β14 β Understand MX RecordsβMX records identify mail servers for a domain.
They are not the focus of this lab, but you should understand their purpose for Cloud+.
15 β Understand TXT Records
Section titled β15 β Understand TXT RecordsβTXT records can store text-based information.
They are commonly used for:
-
domain verification
-
security-related configuration
-
email-related validation
16 β Understand PTR Records
Section titled β16 β Understand PTR RecordsβPTR records support reverse lookup.
Instead of:
Name β IPreverse DNS can support:
IP β Name17 β Understand TTL
Section titled β17 β Understand TTLβTTL means:
Time To Live
It determines how long DNS information may be cached.
Conceptually:
DNS Record βTTL βCache Durationπ§ Why TTL Matters
Section titled βπ§ Why TTL MattersβA long TTL may:
-
reduce DNS queries
-
make changes take longer to propagate through caches
A short TTL may:
-
support faster change
-
increase DNS-query frequency
18 β Create the Private DNS Zone
Section titled β18 β Create the Private DNS ZoneβUsing your providerβs supported private DNS service, create a lab zone.
Example:
Zone:cloudplus.labAssociate it with:
cloudplus-lab-net-01or your equivalent virtual network where required.
π§ Important
Section titled βπ§ ImportantβPrivate DNS association determines:
which networks can resolve the private namespace.
19 β Apply Tags
Section titled β19 β Apply TagsβUse your lab standards.
Example:
| Tag | Value |
|---|---|
| Environment | Lab |
| Course | CompTIA-CloudPlus |
| Purpose | DNS |
| Owner | Student |
20 β Create the Web DNS Record
Section titled β20 β Create the Web DNS RecordβCreate:
Name:web.cloudplus.lab
Type:A
Value:<Web Private IP>π§ Why Use the Private IP?
Section titled βπ§ Why Use the Private IP?βInternal workload-to-workload communication should generally use the private network where appropriate.
21 β Create the Application DNS Record
Section titled β21 β Create the Application DNS RecordβCreate:
Name:app.cloudplus.lab
Type:A
Value:<Application Private IP>22 β Create the Database DNS Record
Section titled β22 β Create the Database DNS RecordβCreate:
Name:db.cloudplus.lab
Type:A
Value:<Database Private IP>23 β Record the DNS Design
Section titled β23 β Record the DNS Designβ| Hostname | Record | Address | Purpose |
|---|---|---|---|
| web.cloudplus.lab | A | 10.10.10.x | Web Tier |
| app.cloudplus.lab | A | 10.10.20.x | App Tier |
| db.cloudplus.lab | A | 10.10.30.x | DB Tier |
24 β Validate the Web Record
Section titled β24 β Validate the Web RecordβFrom an appropriate VM, run:
nslookup web.cloudplus.labor:
dig web.cloudplus.labExpected:
web.cloudplus.lab βWeb Private IP25 β Validate the Application Record
Section titled β25 β Validate the Application RecordβRun:
nslookup app.cloudplus.labExpected:
application server private IP.
26 β Validate the Database Record
Section titled β26 β Validate the Database RecordβRun:
nslookup db.cloudplus.labExpected:
database private IP.
27 β Test Application-Tier Resolution
Section titled β27 β Test Application-Tier ResolutionβFrom the web workload, test:
app.cloudplus.labThis validates the intended service-discovery path:
Web βDNS βApplication IP28 β Test Database Resolution
Section titled β28 β Test Database ResolutionβFrom the application workload, test:
db.cloudplus.labThe intended path is:
Application βDNS βDatabase IP29 β Separate Resolution From Port Connectivity
Section titled β29 β Separate Resolution From Port ConnectivityβSuppose:
db.cloudplus.labresolves correctly to:
10.10.30.10but the application cannot connect.
DNS is probably not the root cause.
Check:
DNS β βRouting βSecurity Group βHost Firewall βDatabase Service30 β Test by Name and IP
Section titled β30 β Test by Name and IPβFor a workload service, perform both:
Connection by IPand:
Connection by HostnameUse the results to narrow the problem.
π§ Diagnostic Matrix
Section titled βπ§ Diagnostic Matrixβ| IP | Hostname | Likely Area |
|---|---|---|
| Works | Works | Connectivity Healthy |
| Works | Fails | DNS |
| Fails | Fails | Routing/Security/Service |
| Fails | Resolves | DNS Works; Connectivity Issue |
31 β Understand Internal Service Discovery
Section titled β31 β Understand Internal Service DiscoveryβApplications should ideally use names such as:
db.cloudplus.labrather than hard-coded IPs.
This allows infrastructure to change underneath the application.
π§ Example
Section titled βπ§ ExampleβToday:
db.cloudplus.lab β10.10.30.10Tomorrow:
db.cloudplus.lab β10.10.30.25The application configuration can remain the same if DNS is updated correctly.
32 β Change a DNS Record
Section titled β32 β Change a DNS RecordβIn your lab, modify one test record to another approved test address or secondary workload.
Observe that:
Hostnameremains unchanged while:
Resolved IPchanges.
33 β Observe DNS Caching
Section titled β33 β Observe DNS CachingβImmediately query the record again.
Depending on:
-
TTL
-
resolver
-
local cache
you may temporarily see the previous result.
π§ DNS Troubleshooting Lesson
Section titled βπ§ DNS Troubleshooting LessonβAfter DNS changes, ask:
Could I be seeing cached information?
34 β Restore the Correct Record
Section titled β34 β Restore the Correct RecordβReturn the hostname to its intended workload IP.
Validate again.
35 β Understand DNS Propagation
Section titled β35 β Understand DNS PropagationβPublic DNS changes may take time to appear consistently because of caching.
Private cloud DNS environments may behave differently depending on implementation.
Do not assume:
DNS update means every client instantly sees the change.
36 β Create an Alias Record Concept
Section titled β36 β Create an Alias Record ConceptβWhere supported, create or document an alias such as:
portal.cloudplus.lab βweb.cloudplus.labThis demonstrates:
one service can have more than one logical name.
37 β Test the Alias
Section titled β37 β Test the AliasβResolve:
portal.cloudplus.labConfirm it ultimately maps to the expected web workload.
38 β Review the Private DNS Association
Section titled β38 β Review the Private DNS AssociationβConfirm the DNS zone is associated with the correct:
-
virtual network
-
project
-
private environment
π¨ Common Misconfiguration
Section titled βπ¨ Common MisconfigurationβThe zone and records may be correct, but if the private network is not associated:
workloads may not be able to resolve them.
39 β Test Resolution From the Wrong Environment
Section titled β39 β Test Resolution From the Wrong EnvironmentβWhere safe and practical, attempt to resolve:
db.cloudplus.labfrom outside the associated private environment.
Expected:
private DNS should not necessarily resolve publicly.
π§ Security Lesson
Section titled βπ§ Security LessonβInternal DNS should generally not expose unnecessary internal names to external users.
40 β Understand Split DNS
Section titled β40 β Understand Split DNSβSome architectures use different answers depending on where a query originates.
Conceptually:
Internal User βapp.example.com βPrivate IPwhile:
External User βapp.example.com βPublic IPThis is sometimes called:
-
split DNS
-
split-horizon DNS
41 β Understand DNS and Load Balancing
Section titled β41 β Understand DNS and Load BalancingβLater, when you introduce load balancing, DNS may point to:
Application Name βLoad Balancer βMultiple Workloadsrather than directly to one VM.
π§ Architecture Evolution
Section titled βπ§ Architecture EvolutionβYour current model:
web.cloudplus.lab βSingle VMmay later become:
web.cloudplus.lab βLoad Balancer βVM 1VM 242 β Understand DNS Failure Symptoms
Section titled β42 β Understand DNS Failure SymptomsβCommon DNS symptoms include:
-
hostname not found
-
wrong IP returned
-
intermittent resolution
-
stale IP
-
public name works but private name fails
-
one VM resolves while another does not
43 β Troubleshooting Scenario β IP Works, Hostname Fails
Section titled β43 β Troubleshooting Scenario β IP Works, Hostname FailsβThis is the classic DNS scenario.
Use:
Application Works by IP βHostname Fails βCheck DNSDo not immediately modify:
-
route tables
-
security groups
without evidence.
44 β Check the Hostname
Section titled β44 β Check the HostnameβConfirm there is no typing error.
Example:
Expected:
app.cloudplus.labEntered:
apps.cloudplus.lab45 β Query the DNS Record Directly
Section titled β45 β Query the DNS Record DirectlyβUse:
nslookup app.cloudplus.labor:
dig app.cloudplus.labCheck whether:
-
response exists
-
address is correct
46 β Check the Resolver
Section titled β46 β Check the ResolverβVerify the client is using the expected DNS resolver.
Ask:
Is this workload actually sending its queries to the cloud/private DNS service?
47 β Check DNS Zone Association
Section titled β47 β Check DNS Zone AssociationβVerify:
Private DNS Zone βCorrect Cloud Network48 β Check the DNS Record
Section titled β48 β Check the DNS RecordβReview:
-
hostname
-
record type
-
IP value
-
TTL
49 β Troubleshooting Scenario β Wrong Address Returned
Section titled β49 β Troubleshooting Scenario β Wrong Address ReturnedβSuppose:
app.cloudplus.labreturns:
10.10.30.10instead of the application address.
This is primarily:
a DNS-record configuration problem.
50 β Correct the Record
Section titled β50 β Correct the RecordβUpdate it to the intended application IP.
Re-query the name.
If the old answer remains temporarily:
consider caching.
51 β Troubleshooting Scenario β One VM Resolves, Another Does Not
Section titled β51 β Troubleshooting Scenario β One VM Resolves, Another Does NotβCompare:
VM A ResolvervsVM B ResolverAlso check:
-
subnet
-
virtual network
-
DNS configuration
-
zone association
52 β Troubleshooting Scenario β Resolution Works, Connection Fails
Section titled β52 β Troubleshooting Scenario β Resolution Works, Connection FailsβSuppose:
app.cloudplus.lab β10.10.20.10resolves successfully.
But TCP connectivity fails.
Move down the stack:
DNS β βRouting βCloud Security βHost Firewall βService53 β Troubleshooting Scenario β Public DNS Works, Private DNS Fails
Section titled β53 β Troubleshooting Scenario β Public DNS Works, Private DNS FailsβInvestigate:
-
private DNS zone
-
network association
-
resolver settings
-
private record
54 β Troubleshooting Scenario β DNS Recently Changed
Section titled β54 β Troubleshooting Scenario β DNS Recently ChangedβConsider:
Cached Recordbefore repeatedly changing the DNS configuration.
55 β Deliberately Break a Record
Section titled β55 β Deliberately Break a RecordβIn your isolated lab, temporarily change:
app.cloudplus.labto an incorrect test IP.
Attempt to use the application name.
Observe the failure.
56 β Investigate the Failure
Section titled β56 β Investigate the FailureβUse:
Hostname βDNS Query βReturned IP βExpected IP ComparisonIdentify:
incorrect DNS record.
57 β Restore the Correct DNS Record
Section titled β57 β Restore the Correct DNS RecordβReturn:
app.cloudplus.labto the correct application IP.
Re-test until the correct result is returned.
58 β Document the DNS Incident
Section titled β58 β Document the DNS IncidentβUse:
Problem:
Affected Hostname:
Expected IP:
Resolved IP:
Root Cause:
Corrective Action:
Validation:
Lesson Learned:59 β Create a DNS Troubleshooting Flow
Section titled β59 β Create a DNS Troubleshooting FlowβUse:
Hostname Correct? βDNS Query Sent? βResolver Correct? βRecord Exists? βRecord Value Correct? βZone Association Correct? βCache? βResolved IP Reachable?60 β Review DNS Security Considerations
Section titled β60 β Review DNS Security ConsiderationsβDNS is part of the security architecture.
Consider:
-
who can modify DNS records
-
whether administrative changes are logged
-
which zones are public
-
which zones are private
π§ Why DNS Administration Is Sensitive
Section titled βπ§ Why DNS Administration Is SensitiveβAn unauthorized DNS change could redirect:
Users βTrusted Hostname βWrong DestinationDNS modification should therefore be protected by:
-
IAM
-
logging
-
change control
61 β Review Public DNS Exposure
Section titled β61 β Review Public DNS ExposureβDo not publish internal records publicly without requirement.
Avoid exposing unnecessary information such as:
internal-db.example.comif it provides no business benefit.
62 β Review DNS Logging
Section titled β62 β Review DNS LoggingβWhere your provider supports DNS query or administrative logging, identify what telemetry is available.
Possible events include:
-
DNS query activity
-
record creation
-
record modification
-
record deletion
π§ Incident Response Connection
Section titled βπ§ Incident Response ConnectionβDNS logs can help answer:
Which domain did this workload attempt to contact?
63 β Review DNS and Malware Detection
Section titled β63 β Review DNS and Malware DetectionβSecurity teams often use DNS activity to investigate:
-
unusual domains
-
newly contacted destinations
-
suspicious external communication
This becomes more important later in:
-
CySA+
-
incident-response labs
-
cloud incident investigation
64 β Build the Final DNS Architecture Diagram
Section titled β64 β Build the Final DNS Architecture Diagramβ Private DNS Zone cloudplus.lab | +--------------+--------------+ | | | v v v web.cloudplus.lab app.cloudplus.lab db.cloudplus.lab | | | v v v 10.10.10.x 10.10.20.x 10.10.30.x | | | v v v Web Tier App Tier DB Tier65 β Build the Service Communication Diagram
Section titled β65 β Build the Service Communication DiagramβUser / Client βweb.cloudplus.lab βWeb Tier βapp.cloudplus.lab βApplication Tier βdb.cloudplus.lab βDatabase Tier66 β Create the DNS Record Register
Section titled β66 β Create the DNS Record Registerβ| Name | Type | Value | Scope | Purpose |
|---|---|---|---|---|
| web.cloudplus.lab | A | 10.10.10.x | Private | Web |
| app.cloudplus.lab | A | 10.10.20.x | Private | Application |
| db.cloudplus.lab | A | 10.10.30.x | Private | Database |
| portal.cloudplus.lab | Alias/CNAME | web.cloudplus.lab | Private | Friendly Name |
67 β Update Your Resource Inventory
Section titled β67 β Update Your Resource InventoryβAdd:
| Resource | Type | Purpose | Status |
|---|---|---|---|
| cloudplus.lab | Private DNS Zone | Internal Naming | Active |
| web.cloudplus.lab | DNS Record | Web Tier | Active |
| app.cloudplus.lab | DNS Record | App Tier | Active |
| db.cloudplus.lab | DNS Record | Database Tier | Active |
68 β Capture Evidence
Section titled β68 β Capture EvidenceβCapture sanitized evidence of:
-
DNS zone
-
records
-
network association
-
successful name resolution
-
intentionally broken resolution
-
restored resolution
Do not capture:
-
private credentials
-
account secrets
-
sensitive production names
69 β Perform Final Validation
Section titled β69 β Perform Final ValidationβVerify:
web.cloudplus.lab βCorrect Web IP
app.cloudplus.lab βCorrect App IP
db.cloudplus.lab βCorrect DB IPThen verify:
Name Resolution βRouting βSecurity βApplication Connectivityπ§ͺ Final Validation Checklist
Section titled βπ§ͺ Final Validation Checklistβ| Validation | Status |
|---|---|
| Private DNS zone created | |
| Network association configured | |
| Web DNS record created | |
| App DNS record created | |
| DB DNS record created | |
| Web record resolves correctly | |
| App record resolves correctly | |
| DB record resolves correctly | |
| Public/private DNS understood | |
| TTL reviewed | |
| Alias concept tested | |
| DNS vs routing differentiated | |
| Broken record tested | |
| Root cause identified | |
| Record restored | |
| DNS documentation completed | |
| Resource inventory updated |
70 β Cleanup Decision
Section titled β70 β Cleanup DecisionβKeep the private DNS zone and core records if you are continuing the Cloud+ sequence.
They will be useful in later labs involving:
-
three-tier architecture
-
load balancing
-
high availability
-
monitoring
-
troubleshooting
Remove only temporary test records that are no longer required.
π― Certification Connection
Section titled βπ― Certification ConnectionβA Cloud+ scenario may say:
A user can access a server by IP but not by hostname.
Think:
IP WorksHostname Fails βDNSAnother may say:
The hostname resolves correctly, but the application still cannot connect.
Think:
DNS β βRouting βSecurity βServiceThe key is learning to isolate:
which layer is failing.
π€ Interview Questions
Section titled βπ€ Interview QuestionsβPractice without notes.
1. What is DNS?
Section titled β1. What is DNS?β2. What problem does DNS solve?
Section titled β2. What problem does DNS solve?β3. What is a DNS resolver?
Section titled β3. What is a DNS resolver?β4. What is a DNS zone?
Section titled β4. What is a DNS zone?β5. What is an A record?
Section titled β5. What is an A record?β6. What is an AAAA record?
Section titled β6. What is an AAAA record?β7. What is a CNAME?
Section titled β7. What is a CNAME?β8. What is a PTR record?
Section titled β8. What is a PTR record?β9. What is TTL?
Section titled β9. What is TTL?β10. Public DNS vs private DNS?
Section titled β10. Public DNS vs private DNS?β11. Why should applications use hostnames instead of hard-coded IP addresses?
Section titled β11. Why should applications use hostnames instead of hard-coded IP addresses?β12. How would you troubleshoot a hostname that does not resolve?
Section titled β12. How would you troubleshoot a hostname that does not resolve?β13. Why can a DNS change appear delayed?
Section titled β13. Why can a DNS change appear delayed?β14. What is DNS caching?
Section titled β14. What is DNS caching?β15. What is split DNS?
Section titled β15. What is split DNS?β16. Why is DNS administration security-sensitive?
Section titled β16. Why is DNS administration security-sensitive?β17. What logs can help investigate DNS-related activity?
Section titled β17. What logs can help investigate DNS-related activity?β18. If DNS resolves correctly but the application is unreachable, what would you check?
Section titled β18. If DNS resolves correctly but the application is unreachable, what would you check?β19. Why might one VM resolve a private hostname while another cannot?
Section titled β19. Why might one VM resolve a private hostname while another cannot?β20. How does DNS support cloud high availability?
Section titled β20. How does DNS support cloud high availability?βπ¨ Scenario Interview Question 1
Section titled βπ¨ Scenario Interview Question 1βA user can access
10.10.20.10but cannot accessapp.cloudplus.lab.
Focus on:
DNS Resolver βDNS Record βZone Association βCachingπ¨ Scenario Interview Question 2
Section titled βπ¨ Scenario Interview Question 2β
db.cloudplus.labresolves, but the application cannot connect to the database.
DNS is working.
Move to:
Route βSecurity Group βHost Firewall βDatabase Listener βAuthenticationπ¨ Scenario Interview Question 3
Section titled βπ¨ Scenario Interview Question 3βA DNS record was updated, but some clients still receive the old address.
Consider:
cached DNS information and TTL.
π¨ Scenario Interview Question 4
Section titled βπ¨ Scenario Interview Question 4βInternal workloads cannot resolve a private DNS record, but public DNS works.
Check:
-
private zone
-
virtual-network association
-
resolver configuration
-
record existence
π¨ Scenario Interview Question 5
Section titled βπ¨ Scenario Interview Question 5βThe database server was replaced and received a new IP.
A strong design uses:
db.cloudplus.lab βUpdate DNS βNew Database IPrather than modifying every application configuration with a new IP.
π¨ Scenario Interview Question 6
Section titled βπ¨ Scenario Interview Question 6βA developer wants to publish all internal hostnames in public DNS because it makes troubleshooting easier.
Discuss:
-
whether public publication is required
-
information exposure
-
private DNS
-
operational alternatives
π¨ Scenario Interview Question 7
Section titled βπ¨ Scenario Interview Question 7βAn unauthorized DNS record change redirects a production hostname.
Discuss:
-
IAM
-
audit logging
-
change history
-
immediate record restoration
-
impact assessment
-
prevention
π§ DNS Troubleshooting Interview Framework
Section titled βπ§ DNS Troubleshooting Interview FrameworkβUse:
Hostname βResolver βZone βRecord βReturned IP βRoute βSecurity βServiceπ¬ Interview Tip
Section titled βπ¬ Interview TipβAvoid:
βI would restart DNS.β
A stronger answer is:
βI would first confirm the exact hostname and query it directly, verify which resolver the client is using, check the relevant public or private zone and record value, validate network or zone association, consider TTL and caching, and then test connectivity to the resolved IP to determine whether the remaining issue is DNS, routing, security, or the application.β
That demonstrates Cloud Support Engineer thinking.
π Portfolio Deliverables
Section titled βπ Portfolio DeliverablesβKeep sanitized versions of:
1. DNS Architecture Diagram
Section titled β1. DNS Architecture DiagramβShow:
Private DNS βWeb / App / DB Names βPrivate IPs2. DNS Record Register
Section titled β2. DNS Record RegisterβDocument:
-
hostname
-
record type
-
IP
-
scope
-
purpose
3. DNS Troubleshooting Case
Section titled β3. DNS Troubleshooting CaseβShow:
Incorrect Record βWrong IP βInvestigation βCorrection βValidation4. Public vs Private DNS Design
Section titled β4. Public vs Private DNS DesignβExplain which records belong in each namespace and why.
5. Service Naming Architecture
Section titled β5. Service Naming ArchitectureβShow the application using:
app.cloudplus.labdb.cloudplus.labrather than hard-coded addresses.
π Resume Examples
Section titled βπ Resume ExamplesβInstead of:
Configured DNS.
Use:
Implemented private cloud DNS for segmented web, application, and database workloads using internal service hostnames, DNS records, virtual-network association, and validated hostname-to-IP resolution.
Or:
Troubleshot cloud name-resolution failures by validating client resolver configuration, DNS zones, record values, caching, network associations, routing, and downstream service connectivity.
β Job-Readiness Check
Section titled ββ Job-Readiness CheckβYou should now be able to:
-
explain DNS clearly
-
describe hostname-to-IP resolution
-
understand DNS resolvers
-
distinguish public and private DNS
-
explain DNS zones
-
understand A and AAAA records
-
explain CNAME concepts
-
explain TTL
-
understand DNS caching
-
create internal service names
-
validate DNS queries
-
troubleshoot incorrect records
-
identify zone-association issues
-
distinguish DNS failures from routing failures
-
explain how DNS supports application flexibility
-
understand DNS security and audit concerns
-
document cloud DNS architecture professionally
π Mission Complete
Section titled βπ Mission CompleteβYou have now added the naming layer to your cloud environment.
Your architecture has progressed from:
IP Addressto:
Service Name βDNS βIP Address βNetwork βWorkloadYour application can now follow a cleaner model:
web.cloudplus.lab βapp.cloudplus.lab βdb.cloudplus.labThe key lesson from this lab is:
DNS solves naming. It does not replace routing, security, or application availability. Strong cloud troubleshooting requires identifying exactly which layer is failing.
π Whatβs Next?
Section titled βπ Whatβs Next?βYour environment now has:
-
compute
-
segmented networking
-
routing
-
network security
-
DNS
The next lab moves into another fundamental cloud capability:
storage.
You will work with:
-
block storage
-
object storage
-
file storage
-
storage use cases
-
capacity
-
performance
-
persistence
-
attachment and mounting
-
cloud storage selection
-
basic storage troubleshooting
You will compare:
Block StoragevsFile StoragevsObject Storageand learn when each model should be used.
β‘οΈ Next: Lab 07 β Cloud Storage Fundamentals Lab