A Few Easy Steps: Cisco IOS, Setup DNS Resolution

DNSIn this session of A Few Easy Steps, we will Setup DNS Resolution on a Cisco Switch.
In General this will work on any Cisco IOS Switch.

Session Prerequisites:

  • You have terminal or console access to your Cisco device.

Session Assumptions:

  • Local Domain Name is Sandpiper.local
  • We will be using DNS server 4.2.2.2

Our goals of this session are:

  • Setup Local Domain Name
  • Configure DNS Server

Setup Local Domain Name

!
conf t
!
ip domain-name sandpiper.local
!
end
!
copy running-config startup-config

Configure DNS Server

!
conf t
!
ip name-server 4.2.2.2
!
end
!
copy running-config startup-config

Entire Session:

!
conf t
!
ip domain-name sandpiper.local
!
ip name-server 4.2.2.2
!
end
!
copy running-config startup-config

Find out more about DNS in Cisco IOS here.

or

Check out this Search at NetworkSuperSearch.com.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.