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

Bases: object

A server that has been set up to answer DNS queries for a zone.


Initializes a new Nameserver object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:hostname (str) -- The value to assign to the hostname property of this Nameserver.

[Required] Gets the hostname of this Nameserver. The hostname of the nameserver.

Returns:The hostname of this Nameserver.
Return type:str