1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. getDns
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.getDns

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Use this data source to get information on fortios system dns

Using getDns

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDns(args: GetDnsArgs, opts?: InvokeOptions): Promise<GetDnsResult>
function getDnsOutput(args: GetDnsOutputArgs, opts?: InvokeOptions): Output<GetDnsResult>
Copy
def get_dns(vdomparam: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetDnsResult
def get_dns_output(vdomparam: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetDnsResult]
Copy
func LookupDns(ctx *Context, args *LookupDnsArgs, opts ...InvokeOption) (*LookupDnsResult, error)
func LookupDnsOutput(ctx *Context, args *LookupDnsOutputArgs, opts ...InvokeOption) LookupDnsResultOutput
Copy

> Note: This function is named LookupDns in the Go SDK.

public static class GetDns 
{
    public static Task<GetDnsResult> InvokeAsync(GetDnsArgs args, InvokeOptions? opts = null)
    public static Output<GetDnsResult> Invoke(GetDnsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDnsResult> getDns(GetDnsArgs args, InvokeOptions options)
public static Output<GetDnsResult> getDns(GetDnsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/getDns:getDns
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

getDns Result

The following output properties are available:

AltPrimary string
Alternate primary DNS server. (This is not used as a failover DNS server.)
AltSecondary string
Alternate secondary DNS server. (This is not used as a failover DNS server.)
CacheNotfoundResponses string
Enable/disable response from the DNS server when a record is not in cache.
DnsCacheLimit int
Maximum number of records in the DNS cache.
DnsCacheTtl int
Duration in seconds that the DNS cache retains information.
DnsOverTls string
Enable/disable/enforce DNS over TLS.
Domains List<Pulumiverse.Fortios.System.Outputs.GetDnsDomain>
DNS search domain list separated by space (maximum 8 domains)
FqdnCacheTtl int
FQDN cache time to live in seconds (0 - 86400, default = 0).
FqdnMaxRefresh int
FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
FqdnMinRefresh int
FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
Id string
The provider-assigned unique ID for this managed resource.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server.
Ip6Primary string
Primary DNS server IPv6 address.
Ip6Secondary string
Secondary DNS server IPv6 address.
Log string
Local DNS log setting.
Primary string
Primary DNS server IP address.
Protocol string
DNS protocols.
Retry int
Number of times to retry (0 - 5).
Secondary string
Secondary DNS server IP address.
ServerHostnames List<Pulumiverse.Fortios.System.Outputs.GetDnsServerHostname>
DNS server host name list. The structure of server_hostname block is documented below.
ServerSelectMethod string
Specify how configured servers are prioritized.
SourceIp string
IP address used by the DNS server as its source IP.
SslCertificate string
Name of local certificate for SSL connections.
Timeout int
DNS query timeout interval in seconds (1 - 10).
Vdomparam string
AltPrimary string
Alternate primary DNS server. (This is not used as a failover DNS server.)
AltSecondary string
Alternate secondary DNS server. (This is not used as a failover DNS server.)
CacheNotfoundResponses string
Enable/disable response from the DNS server when a record is not in cache.
DnsCacheLimit int
Maximum number of records in the DNS cache.
DnsCacheTtl int
Duration in seconds that the DNS cache retains information.
DnsOverTls string
Enable/disable/enforce DNS over TLS.
Domains []GetDnsDomain
DNS search domain list separated by space (maximum 8 domains)
FqdnCacheTtl int
FQDN cache time to live in seconds (0 - 86400, default = 0).
FqdnMaxRefresh int
FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
FqdnMinRefresh int
FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
Id string
The provider-assigned unique ID for this managed resource.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server.
Ip6Primary string
Primary DNS server IPv6 address.
Ip6Secondary string
Secondary DNS server IPv6 address.
Log string
Local DNS log setting.
Primary string
Primary DNS server IP address.
Protocol string
DNS protocols.
Retry int
Number of times to retry (0 - 5).
Secondary string
Secondary DNS server IP address.
ServerHostnames []GetDnsServerHostname
DNS server host name list. The structure of server_hostname block is documented below.
ServerSelectMethod string
Specify how configured servers are prioritized.
SourceIp string
IP address used by the DNS server as its source IP.
SslCertificate string
Name of local certificate for SSL connections.
Timeout int
DNS query timeout interval in seconds (1 - 10).
Vdomparam string
altPrimary String
Alternate primary DNS server. (This is not used as a failover DNS server.)
altSecondary String
Alternate secondary DNS server. (This is not used as a failover DNS server.)
cacheNotfoundResponses String
Enable/disable response from the DNS server when a record is not in cache.
dnsCacheLimit Integer
Maximum number of records in the DNS cache.
dnsCacheTtl Integer
Duration in seconds that the DNS cache retains information.
dnsOverTls String
Enable/disable/enforce DNS over TLS.
domains List<GetDnsDomain>
DNS search domain list separated by space (maximum 8 domains)
fqdnCacheTtl Integer
FQDN cache time to live in seconds (0 - 86400, default = 0).
fqdnMaxRefresh Integer
FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
fqdnMinRefresh Integer
FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
id String
The provider-assigned unique ID for this managed resource.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server.
interface_ String
Specify outgoing interface to reach server.
ip6Primary String
Primary DNS server IPv6 address.
ip6Secondary String
Secondary DNS server IPv6 address.
log String
Local DNS log setting.
primary String
Primary DNS server IP address.
protocol String
DNS protocols.
retry Integer
Number of times to retry (0 - 5).
secondary String
Secondary DNS server IP address.
serverHostnames List<GetDnsServerHostname>
DNS server host name list. The structure of server_hostname block is documented below.
serverSelectMethod String
Specify how configured servers are prioritized.
sourceIp String
IP address used by the DNS server as its source IP.
sslCertificate String
Name of local certificate for SSL connections.
timeout Integer
DNS query timeout interval in seconds (1 - 10).
vdomparam String
altPrimary string
Alternate primary DNS server. (This is not used as a failover DNS server.)
altSecondary string
Alternate secondary DNS server. (This is not used as a failover DNS server.)
cacheNotfoundResponses string
Enable/disable response from the DNS server when a record is not in cache.
dnsCacheLimit number
Maximum number of records in the DNS cache.
dnsCacheTtl number
Duration in seconds that the DNS cache retains information.
dnsOverTls string
Enable/disable/enforce DNS over TLS.
domains GetDnsDomain[]
DNS search domain list separated by space (maximum 8 domains)
fqdnCacheTtl number
FQDN cache time to live in seconds (0 - 86400, default = 0).
fqdnMaxRefresh number
FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
fqdnMinRefresh number
FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
id string
The provider-assigned unique ID for this managed resource.
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server.
ip6Primary string
Primary DNS server IPv6 address.
ip6Secondary string
Secondary DNS server IPv6 address.
log string
Local DNS log setting.
primary string
Primary DNS server IP address.
protocol string
DNS protocols.
retry number
Number of times to retry (0 - 5).
secondary string
Secondary DNS server IP address.
serverHostnames GetDnsServerHostname[]
DNS server host name list. The structure of server_hostname block is documented below.
serverSelectMethod string
Specify how configured servers are prioritized.
sourceIp string
IP address used by the DNS server as its source IP.
sslCertificate string
Name of local certificate for SSL connections.
timeout number
DNS query timeout interval in seconds (1 - 10).
vdomparam string
alt_primary str
Alternate primary DNS server. (This is not used as a failover DNS server.)
alt_secondary str
Alternate secondary DNS server. (This is not used as a failover DNS server.)
cache_notfound_responses str
Enable/disable response from the DNS server when a record is not in cache.
dns_cache_limit int
Maximum number of records in the DNS cache.
dns_cache_ttl int
Duration in seconds that the DNS cache retains information.
dns_over_tls str
Enable/disable/enforce DNS over TLS.
domains Sequence[GetDnsDomain]
DNS search domain list separated by space (maximum 8 domains)
fqdn_cache_ttl int
FQDN cache time to live in seconds (0 - 86400, default = 0).
fqdn_max_refresh int
FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
fqdn_min_refresh int
FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
id str
The provider-assigned unique ID for this managed resource.
interface str
Specify outgoing interface to reach server.
interface_select_method str
Specify how to select outgoing interface to reach server.
ip6_primary str
Primary DNS server IPv6 address.
ip6_secondary str
Secondary DNS server IPv6 address.
log str
Local DNS log setting.
primary str
Primary DNS server IP address.
protocol str
DNS protocols.
retry int
Number of times to retry (0 - 5).
secondary str
Secondary DNS server IP address.
server_hostnames Sequence[GetDnsServerHostname]
DNS server host name list. The structure of server_hostname block is documented below.
server_select_method str
Specify how configured servers are prioritized.
source_ip str
IP address used by the DNS server as its source IP.
ssl_certificate str
Name of local certificate for SSL connections.
timeout int
DNS query timeout interval in seconds (1 - 10).
vdomparam str
altPrimary String
Alternate primary DNS server. (This is not used as a failover DNS server.)
altSecondary String
Alternate secondary DNS server. (This is not used as a failover DNS server.)
cacheNotfoundResponses String
Enable/disable response from the DNS server when a record is not in cache.
dnsCacheLimit Number
Maximum number of records in the DNS cache.
dnsCacheTtl Number
Duration in seconds that the DNS cache retains information.
dnsOverTls String
Enable/disable/enforce DNS over TLS.
domains List<Property Map>
DNS search domain list separated by space (maximum 8 domains)
fqdnCacheTtl Number
FQDN cache time to live in seconds (0 - 86400, default = 0).
fqdnMaxRefresh Number
FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
fqdnMinRefresh Number
FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
id String
The provider-assigned unique ID for this managed resource.
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server.
ip6Primary String
Primary DNS server IPv6 address.
ip6Secondary String
Secondary DNS server IPv6 address.
log String
Local DNS log setting.
primary String
Primary DNS server IP address.
protocol String
DNS protocols.
retry Number
Number of times to retry (0 - 5).
secondary String
Secondary DNS server IP address.
serverHostnames List<Property Map>
DNS server host name list. The structure of server_hostname block is documented below.
serverSelectMethod String
Specify how configured servers are prioritized.
sourceIp String
IP address used by the DNS server as its source IP.
sslCertificate String
Name of local certificate for SSL connections.
timeout Number
DNS query timeout interval in seconds (1 - 10).
vdomparam String

Supporting Types

GetDnsDomain

Domain This property is required. string
DNS search domain list separated by space (maximum 8 domains)
Domain This property is required. string
DNS search domain list separated by space (maximum 8 domains)
domain This property is required. String
DNS search domain list separated by space (maximum 8 domains)
domain This property is required. string
DNS search domain list separated by space (maximum 8 domains)
domain This property is required. str
DNS search domain list separated by space (maximum 8 domains)
domain This property is required. String
DNS search domain list separated by space (maximum 8 domains)

GetDnsServerHostname

Hostname This property is required. string
DNS server host name list separated by space (maximum 4 domains).
Hostname This property is required. string
DNS server host name list separated by space (maximum 4 domains).
hostname This property is required. String
DNS server host name list separated by space (maximum 4 domains).
hostname This property is required. string
DNS server host name list separated by space (maximum 4 domains).
hostname This property is required. str
DNS server host name list separated by space (maximum 4 domains).
hostname This property is required. String
DNS server host name list separated by space (maximum 4 domains).

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse