Fortigate host file manual entry

Fortigate host file manual entry

 config system dns-server
edit " port11"
next
end
config system dns-database
edit " bbb"
config dns-entry
edit 1
set hostname " site1"
set ip 1.1.1.1
next
end
set domain " bbb.com"
next
end 


edit after FortiOS 7.4.0

 

To configure FortiGate as a primary DNS server in the CLI:

config system dns-database
    edit WebServer
        set domain example.com
        set type master
        set view shadow
        set ttl 86400
        set primary-name corporate
        set contact [email protected]
        set authoritative disable
        config dns-entry
            edit 1
                set status enable
                set hostname web.example.com
                set type A
                set ip 192.168.21.12
            next
        end
    next
end

Comments

Popular posts from this blog

How to clean DB from old logs in Magento 1.x

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10