ExternalMaster

class oci.dns.models.ExternalMaster(**kwargs)

Bases: object

An external master name server used as the source of zone data. May either have a zone-embedded TSIG or reference a TSIG key by OCID, but not both.

Methods

__init__(**kwargs) Initializes a new ExternalMaster object with values from keyword arguments.

Attributes

address [Required] Gets the address of this ExternalMaster.
port Gets the port of this ExternalMaster.
tsig Gets the tsig of this ExternalMaster.
tsig_key_id Gets the tsig_key_id of this ExternalMaster.
__init__(**kwargs)

Initializes a new ExternalMaster 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 ExternalMaster.
  • port (int) – The value to assign to the port property of this ExternalMaster.
  • tsig (TSIG) – The value to assign to the tsig property of this ExternalMaster.
  • tsig_key_id (str) – The value to assign to the tsig_key_id property of this ExternalMaster.
address

[Required] Gets the address of this ExternalMaster. The server’s IP address (IPv4 or IPv6).

Returns:The address of this ExternalMaster.
Return type:str
port

Gets the port of this ExternalMaster. The server’s port. Port value must be a value of 53, otherwise omit the port value.

Returns:The port of this ExternalMaster.
Return type:int
tsig

Gets the tsig of this ExternalMaster.

Returns:The tsig of this ExternalMaster.
Return type:TSIG
tsig_key_id

Gets the tsig_key_id of this ExternalMaster. The OCID of the TSIG key.

Returns:The tsig_key_id of this ExternalMaster.
Return type:str