cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
524
Views
0
Helpful
2
Replies
TecDragon
Beginner

How do I - change the dns-server in a group policy

Cisco Novice - I know enough to log in and make simple changes.  I am replacing a Domain Controller, primary DNS server.  I cant reuse the old IP address.  I need to change a few lines in a group policy.  svc dns-server primary, svc dns-server secondary.  Usually I would simply say  - no blah blah blah and replace it with new blah blah blah but I can't figure out how to get to the svc to change the IP addresses.   Please see screenshot.  I am looking for the commands to change the svc dns-server primary and the svc dns-server secondary

dnsrtr.png

1 ACCEPTED SOLUTION

Accepted Solutions
Seb Rupik
VIP Advisor

Hi there,

Those svc commands are nested within the webvpn-context and then webvpn-group comman sets. 

The commands would be:

 

!
webvn context FOO
!
policy group POLICY-BAR
!
svc dns-server primary 192.168.1.1
svc dns-server secondary 192.168.1.2
!
exit
exit
exit

... obviously substitute FOO and BAR for the real attributes.

 

 

cheers,

Seb.

View solution in original post

2 REPLIES 2
Seb Rupik
VIP Advisor

Hi there,

Those svc commands are nested within the webvpn-context and then webvpn-group comman sets. 

The commands would be:

 

!
webvn context FOO
!
policy group POLICY-BAR
!
svc dns-server primary 192.168.1.1
svc dns-server secondary 192.168.1.2
!
exit
exit
exit

... obviously substitute FOO and BAR for the real attributes.

 

 

cheers,

Seb.

TecDragon
Beginner

OMG, thank you!