public static class DhcpSearchDomainOption.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DhcpSearchDomainOption |
build() |
DhcpSearchDomainOption.Builder |
copy(DhcpSearchDomainOption model) |
DhcpSearchDomainOption.Builder |
searchDomainNames(List<String> searchDomainNames)
|
public DhcpSearchDomainOption.Builder searchDomainNames(List<String> searchDomainNames)
A single search domain name according to RFC 952 and RFC 1123. During a DNS query, the OS will append this search domain name to the value being queried.
If you set DhcpDnsOption
to VcnLocalPlusInternet
, and you assign a DNS
label to the VCN during creation, the search domain name in the VCN's default set of DHCP
options is automatically set to the VCN domain (for example, vcn1.oraclevcn.com
).
If you don't want to use a search domain name, omit this option from the set of DHCP options. Do not include this option with an empty list of search domain names, or with an empty string as the value for any search domain name.
searchDomainNames
- the value to setpublic DhcpSearchDomainOption build()
public DhcpSearchDomainOption.Builder copy(DhcpSearchDomainOption model)
Copyright © 2016–2024. All rights reserved.