Fortinet white logo
Fortinet white logo

CLI Reference

Config DNS-database

Config dns-database

Description: Configures DNS databases.

Config dns-database

Edit <name>

Set status [enable | disable]

Set *domain {string}

Set type [primary]

Set view [shadow | public]

Set primary-name {string}

Set contact {string}

Set ttl [1 – 2147483647]

Set authoritative [enable | disable]

Set forwarder {ipv4-address}, {ipv4-address}, …

Set source-ip {ipv4-address}

Unset

Config DNS-database

Config dns-database

Description: Configures DNS databases.

Config dns-database

Edit <name>

Set status [enable | disable]

Set *domain {string}

Set type [primary]

Set view [shadow | public]

Set primary-name {string}

Set contact {string}

Set ttl [1 – 2147483647]

Set authoritative [enable | disable]

Set forwarder {ipv4-address}, {ipv4-address}, …

Set source-ip {ipv4-address}

Unset