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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What command I should use to change the value of the DNS server?

Status
Not open for further replies.

newtocisco

Technical User
Nov 11, 2009
3
US
I tried to change the IP of the DNS server (alternate) on our Cisco firewall, but got an error saying the
Error message

Result of the command: "no dns-server value 192.168.21.111 192.168.21.222"

no dns-server value 192.168.21.111 192.168.21.222
^
ERROR: % Invalid input detected at '^' marker.


Below is the excerpt of the policy

service-policy global_policy global
ntp server 120.99.99.99 source outside
group-policy mycompany internal
group-policy mycompany attributes
dns-server value 192.168.21.111 192.168.21.222
vpn-filter none

Any idea what command I should use to change the value of the DNS server?
 
PIX# config t
PIX(config)# group-policy mycompany attributes
PIX(config-group-policy)# no dns-server value 192.168.21.111 192.168.21.222

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Try that already

Result of the command: "no dns-server value 192.168.21.111 192.168.21.222"

no dns-server value 192.168.21.111 192.168.21.222
^
ERROR: % Invalid input detected at '^' marker.
 
Are you in config mode?
You should just be able to enter the dns command with the new values.

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
stars...

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
silly burt, you must think this is the router forum. ;)

people don't really give stars in this or the asa forums. maybe i'll start hanging out in the router and switch forums. I would have some serious ground to make up on you though.

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top