NM.DnsEntry

Fields

None

Methods

get_domains ()

get_interface ()

get_nameservers ()

get_priority ()

get_vpn ()

unref ()

Details

class NM.DnsEntry

New in version 1.6.

get_domains()
Returns:

the list of DNS domains

Return type:

[str]

Gets the list of DNS domains.

New in version 1.6.

get_interface()
Returns:

the interface name

Return type:

str

Gets the interface on which name servers are contacted.

New in version 1.6.

get_nameservers()
Returns:

the list of name servers

Return type:

[str]

Gets the list of name servers for this entry.

New in version 1.6.

get_priority()
Returns:

the priority of the entry

Return type:

int

Gets the priority of the entry

New 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.

New in version 1.6.

unref()

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

New in version 1.6.