NM.DnsEntry

Fields

None

Methods

get_domains ()

get_interface ()

get_nameservers ()

get_priority ()

get_vpn ()

unref ()

Details

class NM.DnsEntry

Added in version 1.6.

get_domains()
Returns:

the list of DNS domains

Return type:

[str]

Gets the list of DNS domains.

Added in version 1.6.

get_interface()
Returns:

the interface name

Return type:

str

Gets the interface on which name servers are contacted.

Added in version 1.6.

get_nameservers()
Returns:

the list of name servers

Return type:

[str]

Gets the list of name servers for this entry.

Added in version 1.6.

get_priority()
Returns:

the priority of the entry

Return type:

int

Gets the priority of the entry

Added in version 1.6.

get_vpn()
Returns:

True if the entry refers to VPN name servers

Return type:

bool

Gets whether the entry refers to VPN name servers.

Added in version 1.6.

unref()

Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

Added in version 1.6.