ip dns server configures a Cisco IOS router to answer DNS queries from network hosts. The router can cache responses and forward unresolved queries to servers configured with ip name-server. section 3.2.2
Configure and verify the service with related IOS commands:
- Enable server behavior with ip dns server; configure an upstream resolver with ip name-server 8.8.8.8. section 3.2.2 section 3.3
- Use ip domain name jeremysitlab.com to supply a default domain, and ip host name ip-address for permanent local mappings. section 3.2.2
LAN clients resolve youtube.com through R1
PC1 queries R1. If R1 lacks the answer, it queries 8.8.8.8, caches the response, and replies to PC1; later clients can receive the cached mapping. section 3.2.2
