# DNS in Cisco IOS





For hosts in a network to use DNS, you don't need to configure DNS on the routers. They will simply forward the DNS messages like any other packets.

However, a Cisco router can be configured as a DNS server, although it's rare.

* If an internal DNS server is used, usually it's a Windows or Linux server.

A Cisco router can also be configured as a DNS client.

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FFP6GpHT0amB7NIOfh8pY%2FScreenshot%20from%202023-08-01%2014-18-12.png?alt=media&#x26;token=f5d0c946-90ed-4079-ad19-3142943fc45e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FFBk4Vt6z1z6o2eT50GPM%2FScreenshot%20from%202023-08-01%2014-19-19.png?alt=media&#x26;token=d63562bb-530f-410f-8a32-89196c6f2520" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FZ4krNgMrfd7e9VxL1KWu%2FScreenshot%20from%202023-08-01%2014-20-51.png?alt=media&#x26;token=48c36f6d-6c8b-4fe4-8ebb-93a99a74a6da" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FTtnqd92vBiNd2hMaSr8E%2FScreenshot%20from%202023-08-01%2014-21-13.png?alt=media&#x26;token=e63f6ed1-de5b-4864-8712-39dca24e3bad" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FgAKHQ2ukLlhH2wIJzERI%2FScreenshot%20from%202023-08-01%2014-22-23.png?alt=media&#x26;token=5b06f608-1e20-4319-b705-8c0643c7ed54" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FUVN8cKJgeUOOwaZ1ChjU%2FScreenshot%20from%202023-08-01%2014-23-16.png?alt=media&#x26;token=e7f9cd29-83b9-44c3-9c13-71aafc105e23" alt=""><figcaption></figcaption></figure>
