All Products
Search
Document Center

Function Compute:CustomDNS

更新時間:Sep 23, 2024
ParameterTypeDescriptionExample
object

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

nameServersarray

The IP addresses of DNS servers.

string

The IP address of the DNS server.

8.8.x.x
searchesarray

The search domains of the DNS server.

string

The search domain of the DNS server.

ns1.svc.cluster-domain.example
dnsOptionsarray

The configuration items in the resolv.conf file. Each item is a key-value pair in the key:value format, in which the key is required.

DNSOption

The configuration item in the resolv.conf file.