otupy.types.targets.domain_name.DomainName

class DomainName(domainname)

Bases: object

A hostname that can be used to connect to this device over a network

Same implementation as Hostname, but requires dotted-separated names.

Methods

get

Returns the hostname as string

set

Check hostname fullfils RFC 1123 requirements

__init__(domainname)
get()

Returns the hostname as string

set(domainname)

Check hostname fullfils RFC 1123 requirements