Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

system dns-server

Introduction.

config system dns-server
    edit {name}
    # Configure DNS servers.
        set name {string}   DNS server name. size[15] - datasource(s): system.interface.name
        set mode {recursive | non-recursive | forward-only}   DNS server mode.
                recursive      Shadow DNS database and forward.
                non-recursive  Public DNS database only.
                forward-only   Forward only.
        set dnsfilter-profile {string}   DNS filter profile. size[35] - datasource(s): dnsfilter.profile.name
    next
end

system dns-server

Introduction.

config system dns-server
    edit {name}
    # Configure DNS servers.
        set name {string}   DNS server name. size[15] - datasource(s): system.interface.name
        set mode {recursive | non-recursive | forward-only}   DNS server mode.
                recursive      Shadow DNS database and forward.
                non-recursive  Public DNS database only.
                forward-only   Forward only.
        set dnsfilter-profile {string}   DNS filter profile. size[35] - datasource(s): dnsfilter.profile.name
    next
end