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
Post a Comment