- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-24-2019 11:08 PM
Palo Alto Firewall has following configuration.
set deviceconfig setting management initcfg dns-primary x.x.x.x
set deviceconfig setting management initcfg dns-secondary y.y.y.y
I was trying to change DNS ip address to another ones, but I couldn't.
It was giving me "Invalid syntax" error message.
"initcfg" option was not there when I check command with question mark after "management".
Does anyone know how to change?
11-25-2019 02:27 AM
Hi @Hae-Gab ,
If you want to change your DNS servers you can use the following command :
(active)# set deviceconfig system dns-setting servers
+ primary Primary DNS server IP address
+ secondary Secondary DNS server IP address
<Enter> Finish input
Cheers !,
-Kiwi.
11-25-2019 04:15 PM
Thank you @kiwi
DNS IP address under "system dns-setting" did not have problem. I was able to change it.
Problem is initial config related.
My understand is that "initcfg dns-primary" is related with initial configuration when it was installed.
I couldn't remove nor change dns ip for it, but it does exist when I check running-config.
Cheers,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!