All Products
Search
Document Center

Function Compute (2.0):CustomDNS

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The custom DNS configurations of the function.

nameServersarray

The IP addresses of the DNS servers.

string

The IP address of the DNS server.

8.8.x.x
searchesarray

The search domains of the DNS server.

string

The value of the DNS search domain.

ns1.svc.cluster-domain.example
dnsOptionsarray

The list of configuration items 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 configurations in the resolv.conf file.