CCNA Network Services and Security • Set 32
CCNA Network Services and Security Practice Test 32 — 15 questions with explanations. Free, no signup.
You are connected to R1, a multilayer switch acting as a DNS forwarder for two VLANs. Users on VLAN 10 report that they cannot resolve 'files.example.com' while VLAN 20 works fine. The DNS server 198.51.100.53 is reachable but returns SERVFAIL for queries from subnet 192.168.10.0/24, while server 203.0.113.53 responds correctly for both VLANs. Diagnose and fix the DNS resolution issue using nslookup and dig, then adjust the IOS-XE configuration to ensure proper name resolution. Choose the best fix that permanently resolves the problem.
R1# show running-config | section ip domain ip domain lookup ip name-server 198.51.100.53 203.0.113.53 ip domain list example.com R1# show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0/0 10.0.0.1 YES NVRAM up up GigabitEthernet0/0/1.10 192.168.10.1 YES NVRAM up up GigabitEthernet0/0/1.20 192.168.20.1 YES NVRAM up up R1# ping 198.51.100.53 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 198.51.100.53, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5) R1# nslookup files.example.com Server: 198.51.100.53 Address: 198.51.100.53#53 ** server can't find files.example.com: NXDOMAIN R1# nslookup files.example.com 203.0.113.53 Server: 203.0.113.53 Address: 203.0.113.53#53 Name: files.example.com Address: 203.0.113.100 R1# dig @198.51.100.53 files.example.com A ; <<>> DiG 9.16.1 <<>> @198.51.100.53 files.example.com A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12345 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;files.example.com. IN A ;; Query time: 100 msec ;; SERVER: 198.51.100.53#53(198.51.100.53) ;; WHEN: Thu Jan 01 00:00:00 UTC 2024 ;; MSG SIZE rcvd: 42 R1# dig @203.0.113.53 files.example.com A ; <<>> DiG 9.16.1 <<>> @203.0.113.53 files.example.com A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54321 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;files.example.com. IN A ;; ANSWER SECTION: files.example.com. 3600 IN A 203.0.113.100 ;; Query time: 50 msec ;; SERVER: 203.0.113.53#53(203.0.113.53) ;; WHEN: Thu Jan 01 00:00:00 UTC 2024 ;; MSG SIZE rcvd: 60
R1# show running-config | section ip domain ip domain lookup ip name-server 198.51.100.53 203.0.113.53 ip domain list example.com R1# show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0/0 10.0.0.1 YES NVRAM up up GigabitEthernet0/0/1.10 192.168.10.1 YES NVRAM up up GigabitEthernet0/0/1.20 192.168.20.1 YES NVRAM up up R1# ping 198.51.100.53 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 198.51.100.53, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5) R1# nslookup files.example.com Server: 198.51.100.53 Address: 198.51.100.53#53 ** server can't find files.example.com: NXDOMAIN R1# nslookup files.example.com 203.0.113.53 Server: 203.0.113.53 Address: 203.0.113.53#53 Name: files.example.com Address: 203.0.113.100 R1# dig @198.51.100.53 files.example.com A ; <<>> DiG 9.16.1 <<>> @198.51.100.53 files.example.com A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12345 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;files.example.com. IN A ;; Query time: 100 msec ;; SERVER: 198.51.100.53#53(198.51.100.53) ;; WHEN: Thu Jan 01 00:00:00 UTC 2024 ;; MSG SIZE rcvd: 42 R1# dig @203.0.113.53 files.example.com A ; <<>> DiG 9.16.1 <<>> @203.0.113.53 files.example.com A ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54321 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;files.example.com. IN A ;; ANSWER SECTION: files.example.com. 3600 IN A 203.0.113.100 ;; Query time: 50 msec ;; SERVER: 203.0.113.53#53(203.0.113.53) ;; WHEN: Thu Jan 01 00:00:00 UTC 2024 ;; MSG SIZE rcvd: 60