Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
MarcelV
New Contributor

DNS settings lost on FortiGate when re-installing policy package

I see a strange behavior here on our FortiManager when re-installing a policy package to any of our FortiGates. Every time I perform this action, the DNS settings on the FortiGate are removed. An example, I add an address under Object Configurations and want to deploy that to a FortiGate. I select that FortiGate and choose "Re-install policy". In the following screen, I can see the two buttons for "Install Preview" and "Policy Package Diff". The "Policy Package Diff" shows what needs to be changed (the new address object). But when I select "Install Preview" I notice four CLI command I didn't set, nor understand how these end up in there:

config system dns
unset primary
unset secondary
end
 

Anyone ever seen this and perhaps knows how to fix this?

 

Kind regards,

Marcel

1 REPLY 1
MarcelV
New Contributor

And all of a sudden I have found it. Turns out, in our provisioning template, the DNS settings were set but not filled in. So every time I deployed a package, the setting was overwritten.

 

Problem solved!

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors