Skip to main content
aagrafi
New Member
July 21, 2018
Solved

Installation fails due to dnsfilter profile purge

Hello,

 

A FortiGate with VDOMs configured, was already added to an FMG for several days working fine. The FMG is operating in advanced ADOM mode. When I created a new VDOM in the FMG for this FG, I faced the following issue:

 

The VDOM was created OK, but when I tried to install a policy for the first time, the installation failed at the following command:

 

config dnsfilter profile

purge

 

giving the error message: "default can not be deleted because it is a static entry."

 

I'm totally confused and do not have a clue about what to do. I had created several VDOMs via this FMG without a problem. I don't understand why the FMG decides to purge the dnsfilter profile for this particular VDOM. I tried to delete the VDOM and reconstruct it but I got the same issue. The problem is that I don't even understand why FMG is doing that change for this VDOM and how can I stop that.

 

Has anybody an idea of possible causes of this problem and how to resolve this?

 

Thanks

 

 

    chall_FTNT
    Staff
    July 30, 2018

    An upgrade of the FortiManager to 5.6.5 is recommended. 

     

    Background:

    A change in FortiOS syntax in 5.6.5 made the default dnsfilter profile a static entry.  In FortiManager 5.6.5, the FortiManager will no longer try to purge dsnfilter profiles for FortiGates running 5.6.5 or later as a result.

     

    As a workaround, you need at least 1 policy in each policy package to reference the default dnsfilter profile.

     

    We are investing updates to both the FortiManager 5.6.5 release notes and the FortiManager compatibility guide.

     

     

    6 replies

    chall_FTNT
    Staff
    Staff
    July 23, 2018

    Could you identify the version of FortiManager and FortiGate? 

     

    In later patches of FOS 5.6, dnsfilter profile "default" became a reserved entry.  FortiManager 5.6.5 recognizes this changes in FortiOS syntax.

    SecurityResearch
    New Member
    July 26, 2018

    i have the same exact problem

     

    Fortigate model 900D

    Fortigate Firmware 5.6.5

    Fortimanager-VM Firmware 5.6.3

     

    Based on compatibility chart they should be fine working with each other, however upon importing the device for first time, and assigning global header/footer, or just trying to push any policy changes, I get the error, this is the log:

    Starting log (Run on device)

    Start installing fwlcompany $ config vdom fwlcompany (vdom) $ edit PLANT_TEST current vf=PLANT_TEST:7 fwlcompany (PLANT_TEST) $ config dnsfilter profile fwlcompany (profile) $ purge default can not be deleted because it is a static entry. fwlcompany (profile) $ end fwlcompany (PLANT_TEST) $ end

    ---> generating verification report <--- done generating verification report

     

    ------- Start to retry --------

    fwlcompany $ config vdom fwlcompany (vdom) $ edit PLANT_TEST current vf=PLANT_TEST:7 fwlcompany (PLANT_TEST) $ config dnsfilter profile fwlcompany (profile) $ purge default can not be deleted because it is a static entry. fwlcompany (profile) $ end fwlcompany (PLANT_TEST) $ end

    ---> generating verification report <--- done generating verification report

    install failed

     

    Please advise if Fortimanager upgrade is necessary or if the documentation that fortinet provided is wrong, 

    chall_FTNT
    Staff
    Staff
    July 30, 2018

    An upgrade of the FortiManager to 5.6.5 is recommended. 

     

    Background:

    A change in FortiOS syntax in 5.6.5 made the default dnsfilter profile a static entry.  In FortiManager 5.6.5, the FortiManager will no longer try to purge dsnfilter profiles for FortiGates running 5.6.5 or later as a result.

     

    As a workaround, you need at least 1 policy in each policy package to reference the default dnsfilter profile.

     

    We are investing updates to both the FortiManager 5.6.5 release notes and the FortiManager compatibility guide.

     

     

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT