Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 1700

Status
Not open for further replies.

crmayer

Programmer
Nov 22, 2002
280
US
Can somebody tell me how to change the DNS Server on a Cisco 1700?
 
in privilege mode type
"no ip name-server xxx.xxx.xxx.xxx"
to remove the old name server then
"ip name-server xxx.xxx.xxx.xxx"
to list the new

unless you are talking about a DNS server for dhcp or VPN
 
I am talking about DNS Server for Dhcp.
 
I am assuming you mean that the cisco is the dhcp server and in that case you would change it the way I showed you. dhcp will then hand those dns servers to the clients.
 
I need to change the 64.233... since we changed ISP's. But when I do a show name-server is lists 255.255.255.255...

Building configuration...

Current configuration : 2354 bytes
!
version 12.3
service config
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname ciscoexec
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$zs2h$a1UPchE5Y7l9VrBYCzvRg/
enable password 7 072C205E5C001C1704425F
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
ip dhcp excluded-address 10.0.3.100 10.0.3.120
!
ip dhcp pool exec
network 10.0.3.0 255.255.255.0
default-router 10.0.3.1
dns-server 64.233.72.10
netbios-name-server 10.0.0.10
lease 7

The dns-server above is the one that i need to change.

HELP
 
ok here is what you type.

router(config)#ip dhcp pool exec
router(dhcp-config)#no dns-server 64.233.72.10
router(dhcp-config)#dns-server (new DNS server IP Address)
router(dhcp-config)#exit
router(config)#exit
router#write

try that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top