ExternalDownstream¶
- class oci.dns.models.ExternalDownstream(**kwargs)¶
Bases:
objectExternal downstream nameserver for the zone. This field is currently not supported when zoneType is SECONDARY or scope is PRIVATE.
Methods:
__init__(**kwargs)Initializes a new ExternalDownstream object with values from keyword arguments.
Attributes:
[Required] Gets the address of this ExternalDownstream.
Gets the port of this ExternalDownstream.
Gets the tsig_key_id of this ExternalDownstream.
- __init__(**kwargs)¶
Initializes a new ExternalDownstream object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
address (str) – The value to assign to the address property of this ExternalDownstream.
port (int) – The value to assign to the port property of this ExternalDownstream.
tsig_key_id (str) – The value to assign to the tsig_key_id property of this ExternalDownstream.
- property address¶
[Required] Gets the address of this ExternalDownstream. The server’s IP address (IPv4 or IPv6).
- Returns
The address of this ExternalDownstream.
- Return type
str
- property port¶
Gets the port of this ExternalDownstream. The server’s port. Port value must be a value of 53, otherwise omit the port value.
- Returns
The port of this ExternalDownstream.
- Return type
int
- property tsig_key_id¶
Gets the tsig_key_id of this ExternalDownstream. The OCID of the TSIG key. A TSIG key is used to secure DNS messages (in this case, zone transfers) between two systems that both have the (shared) secret.
- Returns
The tsig_key_id of this ExternalDownstream.
- Return type
str