Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Switch DNS-server

Is there any cisco IOS, perhaps IP services that can be configured as a dns server itself? this would be useful in a lab setup using Wireless LAN controllers so that APs can use DNS for WLC discovery without the need for an actual dns server

  • LAN Switching and Routing
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Switch DNS-server

The ip dns server command is introduced in IOS 12.2(4)T, but not in the IOS 12.2SE.

http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_08.html#wp1011412

Regards,

jerry

8 REPLIES
VIP Super Bronze

Re: Switch DNS-server

Hello MARVIN,

Cisco routers or switches can not be configure as DNS servers.

HTH

Reza

Cisco Employee

Re: Switch DNS-server

Re: Switch DNS-server

Hi,

Cisco router can be configured to act as Authoritive DNS Server check out the below some configuration commands to configure cisco router to act as DNS, Hope this helps for your query !!

Enable DNS Server

From the Global configuration mode, enable the DNS server on your Cisco Router

    ciscorouter# conf term

    ciscorouter(config)# ip dns server

Configure as Primary DNS Server

Configures the router as the primary DNS name server for a domain (zone) and as the start of authority (SOA) record source. Unless Distributed Director is enabled, the TTL on locally defined resource records will always be ten seconds.

    ciscorouter(config)# ip dns primary test.com soa ns.test.com postmaster.test.com

The above command configures the Cisco Router as a Authoritative Primary DNS server for the domain "test.com" where ns.test.com is the Primary DNS Server and

postmaster.test.com is the email account for the postmaster (read as postmaster@test.com)

Create NS Records

Create NS resource record to be returned when the DNS server is queried for the associated domain. This configuration is needed only if the zone for which the system is authoritative will also be served by other name servers

    ciscorouter(config)# ip host test.com ns ns.test.com

Regards

Ganesh.H

New Member

Re: Switch DNS-server

hi thanks for your replies - I am trying to configure a 3750 switch with IP services IOS but now I notice it is ver 12.2(35)SE5 and the guide you sent lin of is of IOS ver 12.4. my switch does not recognise the command IP DNS .. could it be because of older IOS?

Re: Switch DNS-server

It can be i am not sure but the above commands is for making routers to act as DNS.

Hope this helps

Regards

Ganesh.H

New Member

Re: Switch DNS-server

ok many thanks

Cisco Employee

Re: Switch DNS-server

The ip dns server command is introduced in IOS 12.2(4)T, but not in the IOS 12.2SE.

http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_08.html#wp1011412

Regards,

jerry

VIP Super Bronze

Re: Switch DNS-server

Jerry,

Thanks for clarify that.  No wonder I could not find it in the 12.2SX version either.

Reza

9702
Views
5
Helpful
8
Replies
This widget could not be displayed.