1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSystemDnsdatabase
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
fortimanager logo
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev

    Configure DNS databases.

    The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

    • dns_entry: fortimanager.ObjectSystemDnsdatabaseDnsentry

    Create ObjectSystemDnsdatabase Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ObjectSystemDnsdatabase(name: string, args?: ObjectSystemDnsdatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectSystemDnsdatabase(resource_name: str,
                                args: Optional[ObjectSystemDnsdatabaseArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectSystemDnsdatabase(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                adom: Optional[str] = None,
                                allow_transfers: Optional[Sequence[str]] = None,
                                authoritative: Optional[str] = None,
                                contact: Optional[str] = None,
                                dns_entries: Optional[Sequence[ObjectSystemDnsdatabaseDnsEntryArgs]] = None,
                                domain: Optional[str] = None,
                                dynamic_sort_subtable: Optional[str] = None,
                                forwarder6: Optional[str] = None,
                                forwarders: Optional[Sequence[str]] = None,
                                interface_select_method: Optional[str] = None,
                                interfaces: Optional[Sequence[str]] = None,
                                ip_master: Optional[str] = None,
                                ip_primary: Optional[str] = None,
                                name: Optional[str] = None,
                                object_system_dnsdatabase_id: Optional[str] = None,
                                primary_name: Optional[str] = None,
                                rr_max: Optional[float] = None,
                                scopetype: Optional[str] = None,
                                source_ip: Optional[str] = None,
                                source_ip6: Optional[str] = None,
                                source_ip_interfaces: Optional[Sequence[str]] = None,
                                status: Optional[str] = None,
                                ttl: Optional[float] = None,
                                type: Optional[str] = None,
                                view: Optional[str] = None,
                                vrf_select: Optional[float] = None)
    func NewObjectSystemDnsdatabase(ctx *Context, name string, args *ObjectSystemDnsdatabaseArgs, opts ...ResourceOption) (*ObjectSystemDnsdatabase, error)
    public ObjectSystemDnsdatabase(string name, ObjectSystemDnsdatabaseArgs? args = null, CustomResourceOptions? opts = null)
    public ObjectSystemDnsdatabase(String name, ObjectSystemDnsdatabaseArgs args)
    public ObjectSystemDnsdatabase(String name, ObjectSystemDnsdatabaseArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectSystemDnsdatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ObjectSystemDnsdatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ObjectSystemDnsdatabaseArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ObjectSystemDnsdatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectSystemDnsdatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectSystemDnsdatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var objectSystemDnsdatabaseResource = new Fortimanager.ObjectSystemDnsdatabase("objectSystemDnsdatabaseResource", new()
    {
        Adom = "string",
        AllowTransfers = new[]
        {
            "string",
        },
        Authoritative = "string",
        Contact = "string",
        DnsEntries = new[]
        {
            new Fortimanager.Inputs.ObjectSystemDnsdatabaseDnsEntryArgs
            {
                CanonicalName = "string",
                Hostname = "string",
                Id = 0,
                Ip = "string",
                Ipv6 = "string",
                Preference = 0,
                Status = "string",
                Ttl = 0,
                Type = "string",
            },
        },
        Domain = "string",
        DynamicSortSubtable = "string",
        Forwarder6 = "string",
        Forwarders = new[]
        {
            "string",
        },
        InterfaceSelectMethod = "string",
        Interfaces = new[]
        {
            "string",
        },
        IpMaster = "string",
        IpPrimary = "string",
        Name = "string",
        ObjectSystemDnsdatabaseId = "string",
        PrimaryName = "string",
        RrMax = 0,
        Scopetype = "string",
        SourceIp = "string",
        SourceIp6 = "string",
        SourceIpInterfaces = new[]
        {
            "string",
        },
        Status = "string",
        Ttl = 0,
        Type = "string",
        View = "string",
        VrfSelect = 0,
    });
    
    example, err := fortimanager.NewObjectSystemDnsdatabase(ctx, "objectSystemDnsdatabaseResource", &fortimanager.ObjectSystemDnsdatabaseArgs{
    	Adom: pulumi.String("string"),
    	AllowTransfers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Authoritative: pulumi.String("string"),
    	Contact:       pulumi.String("string"),
    	DnsEntries: fortimanager.ObjectSystemDnsdatabaseDnsEntryTypeArray{
    		&fortimanager.ObjectSystemDnsdatabaseDnsEntryTypeArgs{
    			CanonicalName: pulumi.String("string"),
    			Hostname:      pulumi.String("string"),
    			Id:            pulumi.Float64(0),
    			Ip:            pulumi.String("string"),
    			Ipv6:          pulumi.String("string"),
    			Preference:    pulumi.Float64(0),
    			Status:        pulumi.String("string"),
    			Ttl:           pulumi.Float64(0),
    			Type:          pulumi.String("string"),
    		},
    	},
    	Domain:              pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Forwarder6:          pulumi.String("string"),
    	Forwarders: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	InterfaceSelectMethod: pulumi.String("string"),
    	Interfaces: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IpMaster:                  pulumi.String("string"),
    	IpPrimary:                 pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	ObjectSystemDnsdatabaseId: pulumi.String("string"),
    	PrimaryName:               pulumi.String("string"),
    	RrMax:                     pulumi.Float64(0),
    	Scopetype:                 pulumi.String("string"),
    	SourceIp:                  pulumi.String("string"),
    	SourceIp6:                 pulumi.String("string"),
    	SourceIpInterfaces: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Status:    pulumi.String("string"),
    	Ttl:       pulumi.Float64(0),
    	Type:      pulumi.String("string"),
    	View:      pulumi.String("string"),
    	VrfSelect: pulumi.Float64(0),
    })
    
    var objectSystemDnsdatabaseResource = new ObjectSystemDnsdatabase("objectSystemDnsdatabaseResource", ObjectSystemDnsdatabaseArgs.builder()
        .adom("string")
        .allowTransfers("string")
        .authoritative("string")
        .contact("string")
        .dnsEntries(ObjectSystemDnsdatabaseDnsEntryArgs.builder()
            .canonicalName("string")
            .hostname("string")
            .id(0.0)
            .ip("string")
            .ipv6("string")
            .preference(0.0)
            .status("string")
            .ttl(0.0)
            .type("string")
            .build())
        .domain("string")
        .dynamicSortSubtable("string")
        .forwarder6("string")
        .forwarders("string")
        .interfaceSelectMethod("string")
        .interfaces("string")
        .ipMaster("string")
        .ipPrimary("string")
        .name("string")
        .objectSystemDnsdatabaseId("string")
        .primaryName("string")
        .rrMax(0.0)
        .scopetype("string")
        .sourceIp("string")
        .sourceIp6("string")
        .sourceIpInterfaces("string")
        .status("string")
        .ttl(0.0)
        .type("string")
        .view("string")
        .vrfSelect(0.0)
        .build());
    
    object_system_dnsdatabase_resource = fortimanager.ObjectSystemDnsdatabase("objectSystemDnsdatabaseResource",
        adom="string",
        allow_transfers=["string"],
        authoritative="string",
        contact="string",
        dns_entries=[{
            "canonical_name": "string",
            "hostname": "string",
            "id": 0,
            "ip": "string",
            "ipv6": "string",
            "preference": 0,
            "status": "string",
            "ttl": 0,
            "type": "string",
        }],
        domain="string",
        dynamic_sort_subtable="string",
        forwarder6="string",
        forwarders=["string"],
        interface_select_method="string",
        interfaces=["string"],
        ip_master="string",
        ip_primary="string",
        name="string",
        object_system_dnsdatabase_id="string",
        primary_name="string",
        rr_max=0,
        scopetype="string",
        source_ip="string",
        source_ip6="string",
        source_ip_interfaces=["string"],
        status="string",
        ttl=0,
        type="string",
        view="string",
        vrf_select=0)
    
    const objectSystemDnsdatabaseResource = new fortimanager.ObjectSystemDnsdatabase("objectSystemDnsdatabaseResource", {
        adom: "string",
        allowTransfers: ["string"],
        authoritative: "string",
        contact: "string",
        dnsEntries: [{
            canonicalName: "string",
            hostname: "string",
            id: 0,
            ip: "string",
            ipv6: "string",
            preference: 0,
            status: "string",
            ttl: 0,
            type: "string",
        }],
        domain: "string",
        dynamicSortSubtable: "string",
        forwarder6: "string",
        forwarders: ["string"],
        interfaceSelectMethod: "string",
        interfaces: ["string"],
        ipMaster: "string",
        ipPrimary: "string",
        name: "string",
        objectSystemDnsdatabaseId: "string",
        primaryName: "string",
        rrMax: 0,
        scopetype: "string",
        sourceIp: "string",
        sourceIp6: "string",
        sourceIpInterfaces: ["string"],
        status: "string",
        ttl: 0,
        type: "string",
        view: "string",
        vrfSelect: 0,
    });
    
    type: fortimanager:ObjectSystemDnsdatabase
    properties:
        adom: string
        allowTransfers:
            - string
        authoritative: string
        contact: string
        dnsEntries:
            - canonicalName: string
              hostname: string
              id: 0
              ip: string
              ipv6: string
              preference: 0
              status: string
              ttl: 0
              type: string
        domain: string
        dynamicSortSubtable: string
        forwarder6: string
        forwarders:
            - string
        interfaceSelectMethod: string
        interfaces:
            - string
        ipMaster: string
        ipPrimary: string
        name: string
        objectSystemDnsdatabaseId: string
        primaryName: string
        rrMax: 0
        scopetype: string
        sourceIp: string
        sourceIp6: string
        sourceIpInterfaces:
            - string
        status: string
        ttl: 0
        type: string
        view: string
        vrfSelect: 0
    

    ObjectSystemDnsdatabase Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ObjectSystemDnsdatabase resource accepts the following input properties:

    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    AllowTransfers List<string>
    DNS zone transfer IP address list.
    Authoritative string
    Enable/disable authoritative zone. Valid values: disable, enable.
    Contact string
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    DnsEntries List<ObjectSystemDnsdatabaseDnsEntry>
    Dns-Entry. The structure of dns_entry block is documented below.
    Domain string
    Domain name.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Forwarder6 string
    Forwarder IPv6 address.
    Forwarders List<string>
    DNS zone forwarder IP address list.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Interfaces List<string>
    Specify outgoing interface to reach server.
    IpMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    IpPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    Name string
    Zone name.
    ObjectSystemDnsdatabaseId string
    an identifier for the resource with format {{name}}.
    PrimaryName string
    Domain name of the default DNS server for this zone.
    RrMax double
    Maximum number of resource records (10 - 65536, 0 means infinite).
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    SourceIp string
    Source IP for forwarding to DNS server.
    SourceIp6 string
    IPv6 source IP address for forwarding to DNS server.
    SourceIpInterfaces List<string>
    IP address of the specified interface as the source IP address.
    Status string
    Enable/disable this DNS zone. Valid values: disable, enable.
    Ttl double
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    Type string
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    View string
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    VrfSelect double
    VRF ID used for connection to server.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    AllowTransfers []string
    DNS zone transfer IP address list.
    Authoritative string
    Enable/disable authoritative zone. Valid values: disable, enable.
    Contact string
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    DnsEntries []ObjectSystemDnsdatabaseDnsEntryTypeArgs
    Dns-Entry. The structure of dns_entry block is documented below.
    Domain string
    Domain name.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Forwarder6 string
    Forwarder IPv6 address.
    Forwarders []string
    DNS zone forwarder IP address list.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Interfaces []string
    Specify outgoing interface to reach server.
    IpMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    IpPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    Name string
    Zone name.
    ObjectSystemDnsdatabaseId string
    an identifier for the resource with format {{name}}.
    PrimaryName string
    Domain name of the default DNS server for this zone.
    RrMax float64
    Maximum number of resource records (10 - 65536, 0 means infinite).
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    SourceIp string
    Source IP for forwarding to DNS server.
    SourceIp6 string
    IPv6 source IP address for forwarding to DNS server.
    SourceIpInterfaces []string
    IP address of the specified interface as the source IP address.
    Status string
    Enable/disable this DNS zone. Valid values: disable, enable.
    Ttl float64
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    Type string
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    View string
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    VrfSelect float64
    VRF ID used for connection to server.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allowTransfers List<String>
    DNS zone transfer IP address list.
    authoritative String
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact String
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dnsEntries List<ObjectSystemDnsdatabaseDnsEntry>
    Dns-Entry. The structure of dns_entry block is documented below.
    domain String
    Domain name.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 String
    Forwarder IPv6 address.
    forwarders List<String>
    DNS zone forwarder IP address list.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces List<String>
    Specify outgoing interface to reach server.
    ipMaster String
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary String
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name String
    Zone name.
    objectSystemDnsdatabaseId String
    an identifier for the resource with format {{name}}.
    primaryName String
    Domain name of the default DNS server for this zone.
    rrMax Double
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    sourceIp String
    Source IP for forwarding to DNS server.
    sourceIp6 String
    IPv6 source IP address for forwarding to DNS server.
    sourceIpInterfaces List<String>
    IP address of the specified interface as the source IP address.
    status String
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl Double
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type String
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view String
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrfSelect Double
    VRF ID used for connection to server.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allowTransfers string[]
    DNS zone transfer IP address list.
    authoritative string
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact string
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dnsEntries ObjectSystemDnsdatabaseDnsEntry[]
    Dns-Entry. The structure of dns_entry block is documented below.
    domain string
    Domain name.
    dynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 string
    Forwarder IPv6 address.
    forwarders string[]
    DNS zone forwarder IP address list.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces string[]
    Specify outgoing interface to reach server.
    ipMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name string
    Zone name.
    objectSystemDnsdatabaseId string
    an identifier for the resource with format {{name}}.
    primaryName string
    Domain name of the default DNS server for this zone.
    rrMax number
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    sourceIp string
    Source IP for forwarding to DNS server.
    sourceIp6 string
    IPv6 source IP address for forwarding to DNS server.
    sourceIpInterfaces string[]
    IP address of the specified interface as the source IP address.
    status string
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl number
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type string
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view string
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrfSelect number
    VRF ID used for connection to server.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allow_transfers Sequence[str]
    DNS zone transfer IP address list.
    authoritative str
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact str
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dns_entries Sequence[ObjectSystemDnsdatabaseDnsEntryArgs]
    Dns-Entry. The structure of dns_entry block is documented below.
    domain str
    Domain name.
    dynamic_sort_subtable str
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 str
    Forwarder IPv6 address.
    forwarders Sequence[str]
    DNS zone forwarder IP address list.
    interface_select_method str
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces Sequence[str]
    Specify outgoing interface to reach server.
    ip_master str
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ip_primary str
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name str
    Zone name.
    object_system_dnsdatabase_id str
    an identifier for the resource with format {{name}}.
    primary_name str
    Domain name of the default DNS server for this zone.
    rr_max float
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    source_ip str
    Source IP for forwarding to DNS server.
    source_ip6 str
    IPv6 source IP address for forwarding to DNS server.
    source_ip_interfaces Sequence[str]
    IP address of the specified interface as the source IP address.
    status str
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl float
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type str
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view str
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrf_select float
    VRF ID used for connection to server.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allowTransfers List<String>
    DNS zone transfer IP address list.
    authoritative String
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact String
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dnsEntries List<Property Map>
    Dns-Entry. The structure of dns_entry block is documented below.
    domain String
    Domain name.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 String
    Forwarder IPv6 address.
    forwarders List<String>
    DNS zone forwarder IP address list.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces List<String>
    Specify outgoing interface to reach server.
    ipMaster String
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary String
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name String
    Zone name.
    objectSystemDnsdatabaseId String
    an identifier for the resource with format {{name}}.
    primaryName String
    Domain name of the default DNS server for this zone.
    rrMax Number
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    sourceIp String
    Source IP for forwarding to DNS server.
    sourceIp6 String
    IPv6 source IP address for forwarding to DNS server.
    sourceIpInterfaces List<String>
    IP address of the specified interface as the source IP address.
    status String
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl Number
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type String
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view String
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrfSelect Number
    VRF ID used for connection to server.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ObjectSystemDnsdatabase resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ObjectSystemDnsdatabase Resource

    Get an existing ObjectSystemDnsdatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ObjectSystemDnsdatabaseState, opts?: CustomResourceOptions): ObjectSystemDnsdatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            allow_transfers: Optional[Sequence[str]] = None,
            authoritative: Optional[str] = None,
            contact: Optional[str] = None,
            dns_entries: Optional[Sequence[ObjectSystemDnsdatabaseDnsEntryArgs]] = None,
            domain: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            forwarder6: Optional[str] = None,
            forwarders: Optional[Sequence[str]] = None,
            interface_select_method: Optional[str] = None,
            interfaces: Optional[Sequence[str]] = None,
            ip_master: Optional[str] = None,
            ip_primary: Optional[str] = None,
            name: Optional[str] = None,
            object_system_dnsdatabase_id: Optional[str] = None,
            primary_name: Optional[str] = None,
            rr_max: Optional[float] = None,
            scopetype: Optional[str] = None,
            source_ip: Optional[str] = None,
            source_ip6: Optional[str] = None,
            source_ip_interfaces: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            ttl: Optional[float] = None,
            type: Optional[str] = None,
            view: Optional[str] = None,
            vrf_select: Optional[float] = None) -> ObjectSystemDnsdatabase
    func GetObjectSystemDnsdatabase(ctx *Context, name string, id IDInput, state *ObjectSystemDnsdatabaseState, opts ...ResourceOption) (*ObjectSystemDnsdatabase, error)
    public static ObjectSystemDnsdatabase Get(string name, Input<string> id, ObjectSystemDnsdatabaseState? state, CustomResourceOptions? opts = null)
    public static ObjectSystemDnsdatabase get(String name, Output<String> id, ObjectSystemDnsdatabaseState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectSystemDnsdatabase    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    AllowTransfers List<string>
    DNS zone transfer IP address list.
    Authoritative string
    Enable/disable authoritative zone. Valid values: disable, enable.
    Contact string
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    DnsEntries List<ObjectSystemDnsdatabaseDnsEntry>
    Dns-Entry. The structure of dns_entry block is documented below.
    Domain string
    Domain name.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Forwarder6 string
    Forwarder IPv6 address.
    Forwarders List<string>
    DNS zone forwarder IP address list.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Interfaces List<string>
    Specify outgoing interface to reach server.
    IpMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    IpPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    Name string
    Zone name.
    ObjectSystemDnsdatabaseId string
    an identifier for the resource with format {{name}}.
    PrimaryName string
    Domain name of the default DNS server for this zone.
    RrMax double
    Maximum number of resource records (10 - 65536, 0 means infinite).
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    SourceIp string
    Source IP for forwarding to DNS server.
    SourceIp6 string
    IPv6 source IP address for forwarding to DNS server.
    SourceIpInterfaces List<string>
    IP address of the specified interface as the source IP address.
    Status string
    Enable/disable this DNS zone. Valid values: disable, enable.
    Ttl double
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    Type string
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    View string
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    VrfSelect double
    VRF ID used for connection to server.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    AllowTransfers []string
    DNS zone transfer IP address list.
    Authoritative string
    Enable/disable authoritative zone. Valid values: disable, enable.
    Contact string
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    DnsEntries []ObjectSystemDnsdatabaseDnsEntryTypeArgs
    Dns-Entry. The structure of dns_entry block is documented below.
    Domain string
    Domain name.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Forwarder6 string
    Forwarder IPv6 address.
    Forwarders []string
    DNS zone forwarder IP address list.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Interfaces []string
    Specify outgoing interface to reach server.
    IpMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    IpPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    Name string
    Zone name.
    ObjectSystemDnsdatabaseId string
    an identifier for the resource with format {{name}}.
    PrimaryName string
    Domain name of the default DNS server for this zone.
    RrMax float64
    Maximum number of resource records (10 - 65536, 0 means infinite).
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    SourceIp string
    Source IP for forwarding to DNS server.
    SourceIp6 string
    IPv6 source IP address for forwarding to DNS server.
    SourceIpInterfaces []string
    IP address of the specified interface as the source IP address.
    Status string
    Enable/disable this DNS zone. Valid values: disable, enable.
    Ttl float64
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    Type string
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    View string
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    VrfSelect float64
    VRF ID used for connection to server.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allowTransfers List<String>
    DNS zone transfer IP address list.
    authoritative String
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact String
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dnsEntries List<ObjectSystemDnsdatabaseDnsEntry>
    Dns-Entry. The structure of dns_entry block is documented below.
    domain String
    Domain name.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 String
    Forwarder IPv6 address.
    forwarders List<String>
    DNS zone forwarder IP address list.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces List<String>
    Specify outgoing interface to reach server.
    ipMaster String
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary String
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name String
    Zone name.
    objectSystemDnsdatabaseId String
    an identifier for the resource with format {{name}}.
    primaryName String
    Domain name of the default DNS server for this zone.
    rrMax Double
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    sourceIp String
    Source IP for forwarding to DNS server.
    sourceIp6 String
    IPv6 source IP address for forwarding to DNS server.
    sourceIpInterfaces List<String>
    IP address of the specified interface as the source IP address.
    status String
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl Double
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type String
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view String
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrfSelect Double
    VRF ID used for connection to server.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allowTransfers string[]
    DNS zone transfer IP address list.
    authoritative string
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact string
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dnsEntries ObjectSystemDnsdatabaseDnsEntry[]
    Dns-Entry. The structure of dns_entry block is documented below.
    domain string
    Domain name.
    dynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 string
    Forwarder IPv6 address.
    forwarders string[]
    DNS zone forwarder IP address list.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces string[]
    Specify outgoing interface to reach server.
    ipMaster string
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary string
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name string
    Zone name.
    objectSystemDnsdatabaseId string
    an identifier for the resource with format {{name}}.
    primaryName string
    Domain name of the default DNS server for this zone.
    rrMax number
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    sourceIp string
    Source IP for forwarding to DNS server.
    sourceIp6 string
    IPv6 source IP address for forwarding to DNS server.
    sourceIpInterfaces string[]
    IP address of the specified interface as the source IP address.
    status string
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl number
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type string
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view string
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrfSelect number
    VRF ID used for connection to server.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allow_transfers Sequence[str]
    DNS zone transfer IP address list.
    authoritative str
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact str
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dns_entries Sequence[ObjectSystemDnsdatabaseDnsEntryArgs]
    Dns-Entry. The structure of dns_entry block is documented below.
    domain str
    Domain name.
    dynamic_sort_subtable str
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 str
    Forwarder IPv6 address.
    forwarders Sequence[str]
    DNS zone forwarder IP address list.
    interface_select_method str
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces Sequence[str]
    Specify outgoing interface to reach server.
    ip_master str
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ip_primary str
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name str
    Zone name.
    object_system_dnsdatabase_id str
    an identifier for the resource with format {{name}}.
    primary_name str
    Domain name of the default DNS server for this zone.
    rr_max float
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    source_ip str
    Source IP for forwarding to DNS server.
    source_ip6 str
    IPv6 source IP address for forwarding to DNS server.
    source_ip_interfaces Sequence[str]
    IP address of the specified interface as the source IP address.
    status str
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl float
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type str
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view str
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrf_select float
    VRF ID used for connection to server.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    allowTransfers List<String>
    DNS zone transfer IP address list.
    authoritative String
    Enable/disable authoritative zone. Valid values: disable, enable.
    contact String
    Email address of the administrator for this zone. You can specify only the username, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone.
    dnsEntries List<Property Map>
    Dns-Entry. The structure of dns_entry block is documented below.
    domain String
    Domain name.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    forwarder6 String
    Forwarder IPv6 address.
    forwarders List<String>
    DNS zone forwarder IP address list.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interfaces List<String>
    Specify outgoing interface to reach server.
    ipMaster String
    IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone.
    ipPrimary String
    IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone.
    name String
    Zone name.
    objectSystemDnsdatabaseId String
    an identifier for the resource with format {{name}}.
    primaryName String
    Domain name of the default DNS server for this zone.
    rrMax Number
    Maximum number of resource records (10 - 65536, 0 means infinite).
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    sourceIp String
    Source IP for forwarding to DNS server.
    sourceIp6 String
    IPv6 source IP address for forwarding to DNS server.
    sourceIpInterfaces List<String>
    IP address of the specified interface as the source IP address.
    status String
    Enable/disable this DNS zone. Valid values: disable, enable.
    ttl Number
    Default time-to-live value for the entries of this DNS zone (0 - 2147483647 sec, default = 86400).
    type String
    Zone type (primary to manage entries directly, secondary to import entries from other zones). Valid values: primary, secondary.
    view String
    Zone view (public to serve public clients, shadow to serve internal clients). Valid values: shadow, public, shadow-ztna, proxy.
    vrfSelect Number
    VRF ID used for connection to server.

    Supporting Types

    ObjectSystemDnsdatabaseDnsEntry, ObjectSystemDnsdatabaseDnsEntryArgs

    CanonicalName string
    Canonical name of the host.
    Hostname string
    Name of the host.
    Id double
    DNS entry ID.
    Ip string
    IPv4 address of the host.
    Ipv6 string
    IPv6 address of the host.
    Preference double
    DNS entry preference (0 - 65535, highest preference = 0, default = 10).
    Status string
    Enable/disable resource record status. Valid values: disable, enable.
    Ttl double
    Time-to-live for this entry (0 to 2147483647 sec, default = 0).
    Type string
    Resource record type. Valid values: NS, MX, CNAME, A, AAAA, PTR, PTR_V6.
    CanonicalName string
    Canonical name of the host.
    Hostname string
    Name of the host.
    Id float64
    DNS entry ID.
    Ip string
    IPv4 address of the host.
    Ipv6 string
    IPv6 address of the host.
    Preference float64
    DNS entry preference (0 - 65535, highest preference = 0, default = 10).
    Status string
    Enable/disable resource record status. Valid values: disable, enable.
    Ttl float64
    Time-to-live for this entry (0 to 2147483647 sec, default = 0).
    Type string
    Resource record type. Valid values: NS, MX, CNAME, A, AAAA, PTR, PTR_V6.
    canonicalName String
    Canonical name of the host.
    hostname String
    Name of the host.
    id Double
    DNS entry ID.
    ip String
    IPv4 address of the host.
    ipv6 String
    IPv6 address of the host.
    preference Double
    DNS entry preference (0 - 65535, highest preference = 0, default = 10).
    status String
    Enable/disable resource record status. Valid values: disable, enable.
    ttl Double
    Time-to-live for this entry (0 to 2147483647 sec, default = 0).
    type String
    Resource record type. Valid values: NS, MX, CNAME, A, AAAA, PTR, PTR_V6.
    canonicalName string
    Canonical name of the host.
    hostname string
    Name of the host.
    id number
    DNS entry ID.
    ip string
    IPv4 address of the host.
    ipv6 string
    IPv6 address of the host.
    preference number
    DNS entry preference (0 - 65535, highest preference = 0, default = 10).
    status string
    Enable/disable resource record status. Valid values: disable, enable.
    ttl number
    Time-to-live for this entry (0 to 2147483647 sec, default = 0).
    type string
    Resource record type. Valid values: NS, MX, CNAME, A, AAAA, PTR, PTR_V6.
    canonical_name str
    Canonical name of the host.
    hostname str
    Name of the host.
    id float
    DNS entry ID.
    ip str
    IPv4 address of the host.
    ipv6 str
    IPv6 address of the host.
    preference float
    DNS entry preference (0 - 65535, highest preference = 0, default = 10).
    status str
    Enable/disable resource record status. Valid values: disable, enable.
    ttl float
    Time-to-live for this entry (0 to 2147483647 sec, default = 0).
    type str
    Resource record type. Valid values: NS, MX, CNAME, A, AAAA, PTR, PTR_V6.
    canonicalName String
    Canonical name of the host.
    hostname String
    Name of the host.
    id Number
    DNS entry ID.
    ip String
    IPv4 address of the host.
    ipv6 String
    IPv6 address of the host.
    preference Number
    DNS entry preference (0 - 65535, highest preference = 0, default = 10).
    status String
    Enable/disable resource record status. Valid values: disable, enable.
    ttl Number
    Time-to-live for this entry (0 to 2147483647 sec, default = 0).
    type String
    Resource record type. Valid values: NS, MX, CNAME, A, AAAA, PTR, PTR_V6.

    Import

    ObjectSystem DnsDatabase can be imported using any of these accepted formats:

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectSystemDnsdatabase:ObjectSystemDnsdatabase labelname {{name}}
    

    $ unset “FORTIMANAGER_IMPORT_TABLE”

    -> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortimanager fortinetdev/terraform-provider-fortimanager
    License
    Notes
    This Pulumi package is based on the fortimanager Terraform Provider.
    fortimanager logo
    fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
      Meet Neo: Your AI Platform Teammate