1. Packages
  2. Packages
  3. Panos Provider
  4. API Docs
  5. getDnsProxy
Viewing docs for panos 2.0.11
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Viewing docs for panos 2.0.11
published on Tuesday, Apr 28, 2026 by paloaltonetworks

    Using getDnsProxy

    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 getDnsProxy(args: GetDnsProxyArgs, opts?: InvokeOptions): Promise<GetDnsProxyResult>
    function getDnsProxyOutput(args: GetDnsProxyOutputArgs, opts?: InvokeOptions): Output<GetDnsProxyResult>
    def get_dns_proxy(cache: Optional[GetDnsProxyCache] = None,
                      default: Optional[GetDnsProxyDefault] = None,
                      domain_servers: Optional[Sequence[GetDnsProxyDomainServer]] = None,
                      enabled: Optional[bool] = None,
                      interfaces: Optional[Sequence[str]] = None,
                      location: Optional[GetDnsProxyLocation] = None,
                      name: Optional[str] = None,
                      static_entries: Optional[Sequence[GetDnsProxyStaticEntry]] = None,
                      tcp_queries: Optional[GetDnsProxyTcpQueries] = None,
                      udp_queries: Optional[GetDnsProxyUdpQueries] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDnsProxyResult
    def get_dns_proxy_output(cache: Optional[pulumi.Input[GetDnsProxyCacheArgs]] = None,
                      default: Optional[pulumi.Input[GetDnsProxyDefaultArgs]] = None,
                      domain_servers: Optional[pulumi.Input[Sequence[pulumi.Input[GetDnsProxyDomainServerArgs]]]] = None,
                      enabled: Optional[pulumi.Input[bool]] = None,
                      interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                      location: Optional[pulumi.Input[GetDnsProxyLocationArgs]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      static_entries: Optional[pulumi.Input[Sequence[pulumi.Input[GetDnsProxyStaticEntryArgs]]]] = None,
                      tcp_queries: Optional[pulumi.Input[GetDnsProxyTcpQueriesArgs]] = None,
                      udp_queries: Optional[pulumi.Input[GetDnsProxyUdpQueriesArgs]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDnsProxyResult]
    func LookupDnsProxy(ctx *Context, args *LookupDnsProxyArgs, opts ...InvokeOption) (*LookupDnsProxyResult, error)
    func LookupDnsProxyOutput(ctx *Context, args *LookupDnsProxyOutputArgs, opts ...InvokeOption) LookupDnsProxyResultOutput

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

    public static class GetDnsProxy 
    {
        public static Task<GetDnsProxyResult> InvokeAsync(GetDnsProxyArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsProxyResult> Invoke(GetDnsProxyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsProxyResult> getDnsProxy(GetDnsProxyArgs args, InvokeOptions options)
    public static Output<GetDnsProxyResult> getDnsProxy(GetDnsProxyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: panos:index/getDnsProxy:getDnsProxy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    location Property Map
    The location of this object.
    name String
    cache Property Map
    default Property Map
    domainServers List<Property Map>
    enabled Boolean
    Enable or disable processing of DNS requests on interface(s) on this object
    interfaces List<String>
    staticEntries List<Property Map>
    tcpQueries Property Map
    udpQueries Property Map

    getDnsProxy Result

    The following output properties are available:

    Cache GetDnsProxyCache
    Default GetDnsProxyDefault
    DomainServers List<GetDnsProxyDomainServer>
    Enabled bool
    Enable or disable processing of DNS requests on interface(s) on this object
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces List<string>
    Location GetDnsProxyLocation
    The location of this object.
    Name string
    StaticEntries List<GetDnsProxyStaticEntry>
    TcpQueries GetDnsProxyTcpQueries
    UdpQueries GetDnsProxyUdpQueries
    Cache GetDnsProxyCache
    Default GetDnsProxyDefault
    DomainServers []GetDnsProxyDomainServer
    Enabled bool
    Enable or disable processing of DNS requests on interface(s) on this object
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces []string
    Location GetDnsProxyLocation
    The location of this object.
    Name string
    StaticEntries []GetDnsProxyStaticEntry
    TcpQueries GetDnsProxyTcpQueries
    UdpQueries GetDnsProxyUdpQueries
    cache GetDnsProxyCache
    default_ GetDnsProxyDefault
    domainServers List<GetDnsProxyDomainServer>
    enabled Boolean
    Enable or disable processing of DNS requests on interface(s) on this object
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<String>
    location GetDnsProxyLocation
    The location of this object.
    name String
    staticEntries List<GetDnsProxyStaticEntry>
    tcpQueries GetDnsProxyTcpQueries
    udpQueries GetDnsProxyUdpQueries
    cache GetDnsProxyCache
    default GetDnsProxyDefault
    domainServers GetDnsProxyDomainServer[]
    enabled boolean
    Enable or disable processing of DNS requests on interface(s) on this object
    id string
    The provider-assigned unique ID for this managed resource.
    interfaces string[]
    location GetDnsProxyLocation
    The location of this object.
    name string
    staticEntries GetDnsProxyStaticEntry[]
    tcpQueries GetDnsProxyTcpQueries
    udpQueries GetDnsProxyUdpQueries
    cache GetDnsProxyCache
    default GetDnsProxyDefault
    domain_servers Sequence[GetDnsProxyDomainServer]
    enabled bool
    Enable or disable processing of DNS requests on interface(s) on this object
    id str
    The provider-assigned unique ID for this managed resource.
    interfaces Sequence[str]
    location GetDnsProxyLocation
    The location of this object.
    name str
    static_entries Sequence[GetDnsProxyStaticEntry]
    tcp_queries GetDnsProxyTcpQueries
    udp_queries GetDnsProxyUdpQueries
    cache Property Map
    default Property Map
    domainServers List<Property Map>
    enabled Boolean
    Enable or disable processing of DNS requests on interface(s) on this object
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<String>
    location Property Map
    The location of this object.
    name String
    staticEntries List<Property Map>
    tcpQueries Property Map
    udpQueries Property Map

    Supporting Types

    GetDnsProxyCache

    CacheEdns bool
    Cache EDNS UDP response
    Enabled bool
    Turn on caching for this DNS object
    MaxTtl GetDnsProxyCacheMaxTtl
    CacheEdns bool
    Cache EDNS UDP response
    Enabled bool
    Turn on caching for this DNS object
    MaxTtl GetDnsProxyCacheMaxTtl
    cacheEdns Boolean
    Cache EDNS UDP response
    enabled Boolean
    Turn on caching for this DNS object
    maxTtl GetDnsProxyCacheMaxTtl
    cacheEdns boolean
    Cache EDNS UDP response
    enabled boolean
    Turn on caching for this DNS object
    maxTtl GetDnsProxyCacheMaxTtl
    cache_edns bool
    Cache EDNS UDP response
    enabled bool
    Turn on caching for this DNS object
    max_ttl GetDnsProxyCacheMaxTtl
    cacheEdns Boolean
    Cache EDNS UDP response
    enabled Boolean
    Turn on caching for this DNS object
    maxTtl Property Map

    GetDnsProxyCacheMaxTtl

    Enabled bool
    Enable max ttl for this DNS object
    TimeToLive double
    Time in seconds after which entry is cleared
    Enabled bool
    Enable max ttl for this DNS object
    TimeToLive float64
    Time in seconds after which entry is cleared
    enabled Boolean
    Enable max ttl for this DNS object
    timeToLive Double
    Time in seconds after which entry is cleared
    enabled boolean
    Enable max ttl for this DNS object
    timeToLive number
    Time in seconds after which entry is cleared
    enabled bool
    Enable max ttl for this DNS object
    time_to_live float
    Time in seconds after which entry is cleared
    enabled Boolean
    Enable max ttl for this DNS object
    timeToLive Number
    Time in seconds after which entry is cleared

    GetDnsProxyDefault

    Inheritance GetDnsProxyDefaultInheritance
    Primary string
    Primary DNS Name server IP address
    Secondary string
    Secondary DNS Name server IP address
    Inheritance GetDnsProxyDefaultInheritance
    Primary string
    Primary DNS Name server IP address
    Secondary string
    Secondary DNS Name server IP address
    inheritance GetDnsProxyDefaultInheritance
    primary String
    Primary DNS Name server IP address
    secondary String
    Secondary DNS Name server IP address
    inheritance GetDnsProxyDefaultInheritance
    primary string
    Primary DNS Name server IP address
    secondary string
    Secondary DNS Name server IP address
    inheritance GetDnsProxyDefaultInheritance
    primary str
    Primary DNS Name server IP address
    secondary str
    Secondary DNS Name server IP address
    inheritance Property Map
    primary String
    Primary DNS Name server IP address
    secondary String
    Secondary DNS Name server IP address

    GetDnsProxyDefaultInheritance

    Source string
    Dynamic interface
    Source string
    Dynamic interface
    source String
    Dynamic interface
    source string
    Dynamic interface
    source str
    Dynamic interface
    source String
    Dynamic interface

    GetDnsProxyDomainServer

    Cacheable bool
    Turn on caching of domains resolved by this mapping
    DomainNames List<string>
    Name string
    Primary string
    Primary DNS Name server IP address
    Secondary string
    Secondary DNS Name server IP address
    Cacheable bool
    Turn on caching of domains resolved by this mapping
    DomainNames []string
    Name string
    Primary string
    Primary DNS Name server IP address
    Secondary string
    Secondary DNS Name server IP address
    cacheable Boolean
    Turn on caching of domains resolved by this mapping
    domainNames List<String>
    name String
    primary String
    Primary DNS Name server IP address
    secondary String
    Secondary DNS Name server IP address
    cacheable boolean
    Turn on caching of domains resolved by this mapping
    domainNames string[]
    name string
    primary string
    Primary DNS Name server IP address
    secondary string
    Secondary DNS Name server IP address
    cacheable bool
    Turn on caching of domains resolved by this mapping
    domain_names Sequence[str]
    name str
    primary str
    Primary DNS Name server IP address
    secondary str
    Secondary DNS Name server IP address
    cacheable Boolean
    Turn on caching of domains resolved by this mapping
    domainNames List<String>
    name String
    primary String
    Primary DNS Name server IP address
    secondary String
    Secondary DNS Name server IP address

    GetDnsProxyLocation

    Template GetDnsProxyLocationTemplate
    Located in a specific template
    TemplateStack GetDnsProxyLocationTemplateStack
    Located in a specific template stack
    Template GetDnsProxyLocationTemplate
    Located in a specific template
    TemplateStack GetDnsProxyLocationTemplateStack
    Located in a specific template stack
    template GetDnsProxyLocationTemplate
    Located in a specific template
    templateStack GetDnsProxyLocationTemplateStack
    Located in a specific template stack
    template GetDnsProxyLocationTemplate
    Located in a specific template
    templateStack GetDnsProxyLocationTemplateStack
    Located in a specific template stack
    template GetDnsProxyLocationTemplate
    Located in a specific template
    template_stack GetDnsProxyLocationTemplateStack
    Located in a specific template stack
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    GetDnsProxyLocationTemplate

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetDnsProxyLocationTemplateStack

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template stack
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetDnsProxyStaticEntry

    Addresses List<string>
    Domain string
    Fully qualified domain name for specified IP address
    Name string
    Addresses []string
    Domain string
    Fully qualified domain name for specified IP address
    Name string
    addresses List<String>
    domain String
    Fully qualified domain name for specified IP address
    name String
    addresses string[]
    domain string
    Fully qualified domain name for specified IP address
    name string
    addresses Sequence[str]
    domain str
    Fully qualified domain name for specified IP address
    name str
    addresses List<String>
    domain String
    Fully qualified domain name for specified IP address
    name String

    GetDnsProxyTcpQueries

    Enabled bool
    Turn on forwarding of TCP DNS queries
    MaxPendingRequests double
    Upper limit on number of concurrent TCP DNS requests
    Enabled bool
    Turn on forwarding of TCP DNS queries
    MaxPendingRequests float64
    Upper limit on number of concurrent TCP DNS requests
    enabled Boolean
    Turn on forwarding of TCP DNS queries
    maxPendingRequests Double
    Upper limit on number of concurrent TCP DNS requests
    enabled boolean
    Turn on forwarding of TCP DNS queries
    maxPendingRequests number
    Upper limit on number of concurrent TCP DNS requests
    enabled bool
    Turn on forwarding of TCP DNS queries
    max_pending_requests float
    Upper limit on number of concurrent TCP DNS requests
    enabled Boolean
    Turn on forwarding of TCP DNS queries
    maxPendingRequests Number
    Upper limit on number of concurrent TCP DNS requests

    GetDnsProxyUdpQueries

    GetDnsProxyUdpQueriesRetries

    Attempts double
    Maximum number of retries before trying next name server
    Interval double
    Time in seconds for another request to be sent
    Attempts float64
    Maximum number of retries before trying next name server
    Interval float64
    Time in seconds for another request to be sent
    attempts Double
    Maximum number of retries before trying next name server
    interval Double
    Time in seconds for another request to be sent
    attempts number
    Maximum number of retries before trying next name server
    interval number
    Time in seconds for another request to be sent
    attempts float
    Maximum number of retries before trying next name server
    interval float
    Time in seconds for another request to be sent
    attempts Number
    Maximum number of retries before trying next name server
    interval Number
    Time in seconds for another request to be sent

    Package Details

    Repository
    panos paloaltonetworks/terraform-provider-panos
    License
    Notes
    This Pulumi package is based on the panos Terraform Provider.
    Viewing docs for panos 2.0.11
    published on Tuesday, Apr 28, 2026 by paloaltonetworks
      Try Pulumi Cloud free. Your team will thank you.