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?
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
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.
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 Live Community as a whole!
The Live Community thanks you for your participation!