Show / Hide Table of Contents

Class DhcpSearchDomainOption

DHCP option for specifying a search domain name for DNS queries. For more information, see DNS in Your Virtual Cloud Network.

Inheritance
object
DhcpOption
DhcpSearchDomainOption
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class DhcpSearchDomainOption : DhcpOption

Properties

SearchDomainNames

Declaration
[Required(ErrorMessage = "SearchDomainNames is required.")]
[JsonProperty(PropertyName = "searchDomainNames")]
public List<string> SearchDomainNames { get; set; }
Property Value
Type Description
List<string>

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 {@link 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.

Remarks

Required

In this article
Back to top