|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
函数自定义 DNS 配置。 |
||
| dnsOptions |
array |
resolv.conf 文件中的 DNS 解析配置列表。每一项对应一个键值对,格式为 key:value,其中键为必填。 |
|
| DNSOption |
DNS 选项。 |
||
| nameServers |
array |
DNS 服务器的 IP 地址列表。 |
|
|
string |
DNS 服务器。 |
8.8.x.x |
|
| searches |
array |
DNS 搜索域列表。 |
|
|
string |
DNS 搜索域。 |
ns1.svc.cluster-domain.example |