Read DNS Service Profiles (v2.1)
GET/sdwan/v2.1/api/dnsserviceprofiles
Read all the DNS service profiles.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
The actual count.
The ID.
items DnsServiceProfileV2N1[]
authoritative_config AuthoritativeConfig
The configuration details of the authoritative DNS server where all the queries will try to resolve without forwarding it to external servers.
caa_records CaaRecord[]
List of valid CAA records. CAA record is a type of DNS record used to provide additional confirmation for the Certification Authority (CA) when validating an SSL certificate.
The CAA record flags.
The CAA record name. Max size = 128.
An information field that can be added to identify the CCA record.
The value of the CAA record. Max size = 256.
cname_records CnameRecords[]
List of valid cname records.
The unique name of the CAA record.
The CAA name record traget. Max size = 128.
The TTL range of the CAA record.
dns_resource_records DnsResourceRecords[]
The list of valid DNS resource records.
The value of the DNS record is given by the hex data. Max size = 128.
The unique name of the DNS resource record. Max size = 128.
The DNS resource record number.
host_records HostRecord[]
The list of valid DNS host records.
The list of configured host record domain names.
The IPv4 address for the host.
The IPv6 address for the host.
The ttl range of the host record.
mx_host_records MxHostRecord[]
The details of the MX host records.
The MX host name. Max size = 128.
The MX name. Max size = 128.
The preference of the MX host record.
naptr_records NaptrRecords[]
The details of the naptr records.
The naptr record flags.
The naptr record name.
The valid order of the naptr record.
The valid naptr prefernce range.
The regexp to match DNS host name or IP address. Max size = 256.
The valid replacement value of the naptr record. Max size = 256.
The service value of the naptr record. Max size = 256.
List of the valid IP addresses of the DNS service profiles.
ptr_records PtrRecords[]
The details of the DNS PTR records. DNS PTR record is used for reverse DNS lookups, and it matches domain names with IP addresses.
The name of the DNS ptr record. Max size = 128.
The ptr record target value. Max size = 256.
he secondary server details of the DNS profile.
servers Server[]
The DNS profile server details.
The ID of the DNS service role.
The domain name of the auth servers.
soa SOA[]
The start of authority (SOA) record which includes administrative information on the zone, as defined by the domain name system (DNS).
The expiry range.
Host Master
The refresh value.
The retry value.
The SOA auth config serial number.
srv_hosts SrvHost[]
The SRV record specifies a host and port for specific services. It includes a port alongwith the IP address.
The SRV host domain name.
The SRV host port.
The SRV host priority.
The SRV host protocol.
The SRV host service.
The SRV host target.
The SRV host weight.
synth_domains SynthDomain[]
Lists the details of the DNS syth domains.
The synth domain name.
The synth domain end IP address.
The synth domain IP address prefix.
The synth domain prefex.
The synth doamin start IP address.
The ttl range.
txt_records TxtRecord[]
Lists the details of DNS TXT records.
The TXT record domain name. Max size = 128.
The text length of the TXT record.
zones Zone[]
List the details of the authoritative zones.
The authoritative config zone domain name.
The exclude prefix of the authoritative config domain.
The inlcude prefix of the authoritative config domain.
cache_config CacheConfig
Lists details of the cache configuration.
The cache size.
If the option disable negative caching option is disabled.
The max cache ttl range.
The min cacahe ttl range.
The negative cache ttl range.
The description of the DNS profiles.
dns_forward_config DnsForwardConfigV2required
Lists details of the DNS forward requests configuration.
dns_servers DnsServersV2[]required
Details of the DNS severs.
Possible values: [ipv4
, ipv6
, ipv4v6
]
The DNS server address values.
The DNS server IP address.
The DNS server port.
The DNS server domain names.
The DNS forward service role ID. Max size = 20.
The DNS server IP prefix.
The DNS server source port.
The DNS service max source port.
The DNS service min source port.
If the option es enabled to send to all DNS servers.
dns_queries_metadata DnsQueriesMetadata
Lists the DNS queries parameters that append the client metadata to the DNS query as it is sent to the upstream DNS server.
add_client_mac ClientMac
The client MAC address of the requestor to DNS queries which are forwarded upstream.
Possible values: [base64
, hexadecimal
]
The MAC encoding format.
add_customer_premises_equipment CustomerPremisesEquipment
The element ID, text, or element name is added based on the DNS query configuration.
The custom string added to the DNS query.
Possible values: [text
, element_id
, element_name
]
The customer premises equipment type.
add_subnets Subnet[]
The subnet ID is added for the DNS query.
The IPv4 address for the add subnet.
The prefix lenth of the IP4 address of the add subnet.
The IPv6 address for the add subnet.
The prefix lenth of the IPv6 address of the add subnet.
dns_rebind_config DnsRebindConfig
The details of the DNS rebind configuration.
Enable localhost rebind.
The DNS rebind domain list.
Stop the DNS rebind private IP.
dns_response_overrides DnsResponseOverrides
The details of the DNS response overrides.
aliases Alias[]
Details of the DNS alias record. This record points your domain name to a hostname instead of an IP address.
Alias mask - Allowed range = 0-32.
The alias original end IP address.
The alias originap IP address.
The alias original start IP address.
The alias replace IP address.
The IP addresses that can be identified as Bogus NX Domains.
Option to disable private IP lookups.
Ignore the IP addresses.
The local TTL value.
The max TTL value.
dnssec_config DnsSecConfig
The DNS secondary server configuration details.
If DNSSEC time check is disabled.
If the DNS check is unsigned.
The DNSSEC is enabled.
trust_anchors TrustAnchor[]
Details on the trust anchors.
The class of the trust anchor.
The domain of the trust anchor.
key_digest KeyDigest
The key digest details of the trust anchor.
If key digest algorithm of the trust anchor. Max = 255.
The key digest config. Max = 256.
The trust anchor key digest type. Max = 255.
The trust anchor key tag.
domains_to_addresses DomainsToAddress[]
The unique domain to address mapping and the IP address.
The domain name.
The IPv4 address for the domain to address mapping.
The IPv6 address for the domain to address mapping.
The EDNS packets size. The default size is 4096.
If DNS loop detection is enabled.
If DNS second proxy is enabled.
If DNS strict domain name is enabled.
The ID.
The ID mapped to the interfaces which are used for listening.
The port where the DNS is listening to the DNS queries.
The DNS profile name.
An information field that can be added to identify the DNS profile.
{
"count": 0,
"id": "string",
"items": [
{
"authoritative_config": {
"caa_records": [
{
"flags": "string",
"name": "string",
"tag": "string",
"value": "string"
}
],
"cname_records": [
{
"name": [
"string"
],
"target": "string",
"ttl": 0
}
],
"dns_resource_records": [
{
"hex_data": "string",
"name": "string",
"rr_number": 0
}
],
"host_records": [
{
"domain_names": [
"string"
],
"ipv4_address": "string",
"ipv6_address": "string",
"ttl": 0
}
],
"mx_host_records": [
{
"hostname": "string",
"mx_name": "string",
"preference": 0
}
],
"naptr_records": [
{
"flags": "string",
"name": "string",
"order": 0,
"preference": 0,
"regexp": "string",
"replacement": "string",
"service": "string"
}
],
"peers": [
"string"
],
"ptr_records": [
{
"name": "string",
"target": "string"
}
],
"secondary_servers": [
"string"
],
"servers": [
{
"dnsservicerole_id": "string",
"domain_name": "string"
}
],
"soa": [
{
"expiry": 0,
"host_master": "string",
"refresh": 0,
"retry": 0,
"serial_number": 0
}
],
"srv_hosts": [
{
"domain_name": "string",
"port": 0,
"priority": 0,
"protocol": "string",
"service": "string",
"target": 0,
"weight": 0
}
],
"synth_domains": [
{
"domain": "string",
"end_ipaddress": "string",
"ipaddress_prefix": "string",
"prefix": "string",
"start_ipaddress": "string"
}
],
"ttl": 0,
"txt_records": [
{
"domain_name": "string",
"texts": [
"string"
]
}
],
"zones": [
{
"domain_name": "string",
"exclude_prefix": [
"string"
],
"include_prefix": [
"string"
]
}
]
},
"cache_config": {
"cache_size": 0,
"disable_negative_caching": true,
"max_cache_ttl": 0,
"min_cache_ttl": 0,
"negative_cache_ttl": 0
},
"dns_forward_config": {
"dns_servers": [
{
"address_family": "ipv4",
"dnsserver_ip": "string",
"dnsserver_port": 0,
"domain_names": [
"string"
],
"forward_dnsservicerole_id": "string",
"ip_prefix": "string",
"source_port": 0
}
],
"max_source_port": 0,
"min_source_port": 0,
"send_to_all_dns_servers": true
},
"dns_queries_metadata": {
"add_client_mac": {
"mac_encoding_format": "base64"
},
"add_customer_premises_equipment": {
"identifier_text": "string",
"type": "text"
},
"add_subnets": [
{
"ipv4_address": "string",
"ipv4_prefix_length": 0,
"ipv6_address": "string",
"ipv6_prefix_length": 0
}
]
},
"dns_rebind_config": {
"enable_localhost_rebind": true,
"rebind_domains": [
"string"
],
"stop_dns_rebind_privateip": true
},
"dns_response_overrides": {
"aliases": [
{
"mask": 0,
"original_end_ip": "string",
"original_ip": "string",
"original_start_ip": "string",
"replace_ip": "string"
}
],
"bogus_nx_domains": [
"string"
],
"disable_private_ip_lookups": true,
"ignore_ip_addresses": [
"string"
],
"local_ttl": 0,
"max_ttl": 0
},
"dnssec_config": {
"disable_dnssec_timecheck": true,
"dns_check_unsigned": true,
"enabled": true,
"trust_anchors": [
{
"class": "string",
"domain": "string",
"key_digest": {
"algorithm": 0,
"digest": "string",
"digest_type": 0,
"key_tag": 0
}
}
]
},
"domains_to_addresses": [
{
"domain_names": [
"string"
],
"ipv4_address": "string",
"ipv6_address": "string"
}
],
"edns_packet_max": 0,
"enable_dns_loop_detection": true,
"enable_dnssec_proxy": true,
"enable_strict_domain_name": true,
"id": "string",
"listen_dnsservicerole_id": "string",
"listen_port": 0,
"name": "string",
"tags": [
"string"
]
}
]
}