A network administrator is troubleshooting an issue where a client workstation fails to connect to an internal database server named `db01.prod.lan`. The technician executes two commands on the workstation and observes the following output:
C:\Users\Admin> ipconfig /displaydns
Record Name . . . . . : db01.prod.lan
Record Type . . . . . : 1
Time To Live . . . . : 86400
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 10.20.4.150
C:\Users\Admin> nslookup db01.prod.lan 192.168.1.10
Server: dns01.corp.lan
Address: 192.168.1.10
Name: db01.prod.lan
Address: 10.20.4.200
Which TWO of the following statements correctly identify the cause of the connection failure and the required step to resolve it?
- The client system is attempting to connect using a stale IP address stored in its local DNS resolver cache.Cevap
- Running `ipconfig /flushdns` on the workstation will clear the outdated entry and allow applications to obtain the updated IP address from the DNS server.Cevap
- CThe `nslookup` command returned an invalid answer because it queried the local HOSTS file rather than the specified DNS server.
- DAn AAAA record must be created on the primary DNS server to synchronize the IPv4 address mapping across subnets.
Cevap
The workstation is attempting to connect to the server using a stale IP address stored in its local DNS resolver cache. Running `ipconfig /flushdns` on the client clears this cached entry so the system queries the authoritative DNS server for the correct address.
The output demonstrates that the client's local DNS resolver cache holds an outdated A record (`10.20.4.150`), which the OS uses when applications initiate network traffic. Because `nslookup` bypasses local client caching and queries the DNS server directly, it returns the current IP address (`10.20.4.200`). Flushing the local resolver cache with `ipconfig /flushdns` purges the stale entry and restores proper connectivity.
Adım Adım Çözüm
Anahtar Kavram
Operating System DNS Resolver Cache vs. Direct Command-Line DNS Queries