Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system.getDns
Explore with Pulumi AI
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>
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]
func LookupDns(ctx *Context, args *LookupDnsArgs, opts ...InvokeOption) (*LookupDnsResult, error)
func LookupDnsOutput(ctx *Context, args *LookupDnsOutputArgs, opts ...InvokeOption) LookupDnsResultOutput
> 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)
}
public static CompletableFuture<GetDnsResult> getDns(GetDnsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getDns:getDns
arguments:
# arguments dictionary
The following arguments are supported:
- Vdomparam 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 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 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 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 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 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:
- Alt
Primary string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- Alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- Cache
Notfound stringResponses - Enable/disable response from the DNS server when a record is not in cache.
- Dns
Cache intLimit - Maximum number of records in the DNS cache.
- Dns
Cache intTtl - Duration in seconds that the DNS cache retains information.
- Dns
Over stringTls - Enable/disable/enforce DNS over TLS.
- Domains
List<Pulumiverse.
Fortios. System. Outputs. Get Dns Domain> - DNS search domain list separated by space (maximum 8 domains)
- Fqdn
Cache intTtl - FQDN cache time to live in seconds (0 - 86400, default = 0).
- Fqdn
Max intRefresh - FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
- Fqdn
Min intRefresh - 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.
- Interface
Select stringMethod - 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.
- Server
Hostnames List<Pulumiverse.Fortios. System. Outputs. Get Dns Server Hostname> - DNS server host name list. The structure of
server_hostname
block is documented below. - Server
Select stringMethod - Specify how configured servers are prioritized.
- Source
Ip string - IP address used by the DNS server as its source IP.
- Ssl
Certificate string - Name of local certificate for SSL connections.
- Timeout int
- DNS query timeout interval in seconds (1 - 10).
- Vdomparam string
- Alt
Primary string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- Alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- Cache
Notfound stringResponses - Enable/disable response from the DNS server when a record is not in cache.
- Dns
Cache intLimit - Maximum number of records in the DNS cache.
- Dns
Cache intTtl - Duration in seconds that the DNS cache retains information.
- Dns
Over stringTls - Enable/disable/enforce DNS over TLS.
- Domains
[]Get
Dns Domain - DNS search domain list separated by space (maximum 8 domains)
- Fqdn
Cache intTtl - FQDN cache time to live in seconds (0 - 86400, default = 0).
- Fqdn
Max intRefresh - FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
- Fqdn
Min intRefresh - 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.
- Interface
Select stringMethod - 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.
- Server
Hostnames []GetDns Server Hostname - DNS server host name list. The structure of
server_hostname
block is documented below. - Server
Select stringMethod - Specify how configured servers are prioritized.
- Source
Ip string - IP address used by the DNS server as its source IP.
- Ssl
Certificate string - Name of local certificate for SSL connections.
- Timeout int
- DNS query timeout interval in seconds (1 - 10).
- Vdomparam string
- alt
Primary String - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary String - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- cache
Notfound StringResponses - Enable/disable response from the DNS server when a record is not in cache.
- dns
Cache IntegerLimit - Maximum number of records in the DNS cache.
- dns
Cache IntegerTtl - Duration in seconds that the DNS cache retains information.
- dns
Over StringTls - Enable/disable/enforce DNS over TLS.
- domains
List<Get
Dns Domain> - DNS search domain list separated by space (maximum 8 domains)
- fqdn
Cache IntegerTtl - FQDN cache time to live in seconds (0 - 86400, default = 0).
- fqdn
Max IntegerRefresh - FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
- fqdn
Min IntegerRefresh - FQDN cache minimum refresh time in seconds (10 - 3600, default = 60).
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Select StringMethod - 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.
- server
Hostnames List<GetDns Server Hostname> - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select StringMethod - Specify how configured servers are prioritized.
- source
Ip String - IP address used by the DNS server as its source IP.
- ssl
Certificate String - Name of local certificate for SSL connections.
- timeout Integer
- DNS query timeout interval in seconds (1 - 10).
- vdomparam String
- alt
Primary string - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary string - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- cache
Notfound stringResponses - Enable/disable response from the DNS server when a record is not in cache.
- dns
Cache numberLimit - Maximum number of records in the DNS cache.
- dns
Cache numberTtl - Duration in seconds that the DNS cache retains information.
- dns
Over stringTls - Enable/disable/enforce DNS over TLS.
- domains
Get
Dns Domain[] - DNS search domain list separated by space (maximum 8 domains)
- fqdn
Cache numberTtl - FQDN cache time to live in seconds (0 - 86400, default = 0).
- fqdn
Max numberRefresh - FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
- fqdn
Min numberRefresh - 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.
- interface
Select stringMethod - 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.
- server
Hostnames GetDns Server Hostname[] - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select stringMethod - Specify how configured servers are prioritized.
- source
Ip string - IP address used by the DNS server as its source IP.
- ssl
Certificate 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_ strresponses - Enable/disable response from the DNS server when a record is not in cache.
- dns_
cache_ intlimit - Maximum number of records in the DNS cache.
- dns_
cache_ intttl - Duration in seconds that the DNS cache retains information.
- dns_
over_ strtls - Enable/disable/enforce DNS over TLS.
- domains
Sequence[Get
Dns Domain] - DNS search domain list separated by space (maximum 8 domains)
- fqdn_
cache_ intttl - FQDN cache time to live in seconds (0 - 86400, default = 0).
- fqdn_
max_ intrefresh - FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
- fqdn_
min_ intrefresh - 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_ strmethod - 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[GetDns Server Hostname] - DNS server host name list. The structure of
server_hostname
block is documented below. - server_
select_ strmethod - 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
- alt
Primary String - Alternate primary DNS server. (This is not used as a failover DNS server.)
- alt
Secondary String - Alternate secondary DNS server. (This is not used as a failover DNS server.)
- cache
Notfound StringResponses - Enable/disable response from the DNS server when a record is not in cache.
- dns
Cache NumberLimit - Maximum number of records in the DNS cache.
- dns
Cache NumberTtl - Duration in seconds that the DNS cache retains information.
- dns
Over StringTls - Enable/disable/enforce DNS over TLS.
- domains List<Property Map>
- DNS search domain list separated by space (maximum 8 domains)
- fqdn
Cache NumberTtl - FQDN cache time to live in seconds (0 - 86400, default = 0).
- fqdn
Max NumberRefresh - FQDN cache maximum refresh time in seconds (3600 - 86400, default = 3600).
- fqdn
Min NumberRefresh - 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.
- interface
Select StringMethod - 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.
- server
Hostnames List<Property Map> - DNS server host name list. The structure of
server_hostname
block is documented below. - server
Select StringMethod - Specify how configured servers are prioritized.
- source
Ip String - IP address used by the DNS server as its source IP.
- ssl
Certificate String - Name of local certificate for SSL connections.
- timeout Number
- DNS query timeout interval in seconds (1 - 10).
- vdomparam String
Supporting Types
GetDnsDomain
- Domain string
- DNS search domain list separated by space (maximum 8 domains)
- Domain string
- DNS search domain list separated by space (maximum 8 domains)
- domain String
- DNS search domain list separated by space (maximum 8 domains)
- domain string
- DNS search domain list separated by space (maximum 8 domains)
- domain str
- DNS search domain list separated by space (maximum 8 domains)
- domain String
- DNS search domain list separated by space (maximum 8 domains)
GetDnsServerHostname
- Hostname string
- DNS server host name list separated by space (maximum 4 domains).
- Hostname string
- DNS server host name list separated by space (maximum 4 domains).
- hostname String
- DNS server host name list separated by space (maximum 4 domains).
- hostname string
- DNS server host name list separated by space (maximum 4 domains).
- hostname str
- DNS server host name list separated by space (maximum 4 domains).
- hostname 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.