All Products
Search
Document Center

Function Compute:CustomDNS

Last Updated:Nov 22, 2024
ParameterTypeDescriptionExample
object

The information about the custom Domain Name System (DNS) configurations of the function.

dnsOptionsarray

The DNS resolution configurations in the resolv.conf file. Each item corresponds to a key-value pair in the key:value format, in which the key is required.

DNSOption

The DNS option.

nameServersarray

The IP addresses of the DNS server.

string

The DNS server.

8.8.x.x
searchesarray

The search domains of DNS server.

string

The search domain of the DNS server.

ns1.svc.cluster-domain.example