Soru

Zorluk: KolayTroubleshooting DNS and Name Resolution Services

A network technician is troubleshooting a client workstation that cannot connect to an internal server named `appserver.corp.local`. When the technician checks the local client cache using `ipconfig /displaydns`, the following output is returned:

text Record Name . . . . . : appserver.corp.local Record Type . . . . . : 1 Time To Live . . . . : 480 Data Length . . . . . : 4 Section . . . . . . . : Answer A (Host) Record . . . : 10.0.1.50

The system administrator notes that `appserver.corp.local` was recently migrated to IP address `10.0.1.150`. Which TWO of the following solutions will address the stale resolution issue on this workstation? (Select TWO.)

  1. Run the `ipconfig /flushdns` command on the workstation to purge the local DNS resolver cache.Cevap
  2. B
    Reconfigure outbound port rules on the workstation to block TCP port 53 traffic.
  3. Allow the record's Time to Live (TTL) timer to expire naturally before making subsequent connection requests.Cevap
  4. D
    Change the DNS record type on the client from an A record to a CNAME record.

Cevap

Running `ipconfig /flushdns` to immediately clear the local DNS resolver cache and allowing the Time to Live (TTL) period to expire naturally are the two valid methods to resolve the stale record issue.
When a host IP address changes on the server side, workstations that have recently resolved the old IP address store that mapping in their local DNS resolver cache until the TTL expires. Running `ipconfig /flushdns` forcibly purges the cache immediately so the next request queries the server for the new IP address (`10.0.1.150`). Alternatively, waiting for the remaining TTL timer to count down to zero will cause the client to purge the entry naturally.

Adım Adım Çözüm

1
Analyze the `ipconfig /displaydns` output
The output reveals a cached A record mapping `appserver.corp.local` to an outdated IP address (`10.0.1.50`) with 480 seconds remaining on its TTL.
The client system relies on locally cached entries before querying upstream DNS servers.
2
Identify immediate cache remediation
Executing `ipconfig /flushdns` clears all cached host entries from memory immediately.
Clearing the cache forces the OS DNS resolver to send a new query to the DNS server, receiving the updated IP (`10.0.1.150`).
3
Identify passive cache remediation
Waiting out the 480-second TTL countdown automatically invalidates the stale record.
Once TTL reaches zero, the workstation discards the cached entry and queries the server for a fresh record.

Anahtar Kavram

DNS Client Cache and TTL Management
Bu soruyu puanla