Show / Hide Table of Contents

Class CreateContainerDnsConfigDetails

Allow customers to define DNS settings for containers. If this is not provided, the containers use the default DNS settings of the subnet.

Inheritance
object
CreateContainerDnsConfigDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ContainerinstancesService.Models
Assembly: OCI.DotNetSDK.Containerinstances.dll
Syntax
public class CreateContainerDnsConfigDetails

Properties

Nameservers

Declaration
[JsonProperty(PropertyName = "nameservers")]
public List<string> Nameservers { get; set; }
Property Value
Type Description
List<string>

IP address of a name server that the resolver should query, either an IPv4 address (in dot notation), or an IPv6 address in colon (and possibly dot) notation. If null, uses nameservers from subnet dhcpDnsOptions.

Options

Declaration
[JsonProperty(PropertyName = "options")]
public List<string> Options { get; set; }
Property Value
Type Description
List<string>

Options allows certain internal resolver variables to be modified. Options are a list of objects in https://man7.org/linux/man-pages/man5/resolv.conf.5.html. Examples: ["ndots:n", "edns0"].

Searches

Declaration
[JsonProperty(PropertyName = "searches")]
public List<string> Searches { get; set; }
Property Value
Type Description
List<string>

Search list for host-name lookup. If null, we will use searches from subnet dhcpDnsOptios.

In this article
Back to top