Trees | Indices | Help |
|
---|
|
Class implementing resolver and hostname functionality.
|
|||
|
|||
Inherited from |
|
|||
|
|||
str |
|
||
|
|
|||
str |
|
|
|||
_VALID_NAME_RE = re.compile("^[a-z0-9._-]{1,255}$")
|
|
|||
Inherited from |
|
Initialize the host name object. If the name argument is None, it will use this system's name.
|
Return fqdn. If hostname is None the system's fqdn is returned.
|
Return IP address of given hostname. Supports both IPv4 and IPv6.
|
Validate and normalize the given hostname.
Attention: the validation is a bit more relaxed than the standards require; most importantly, we allow underscores in names |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 7 16:23:37 2016 | http://epydoc.sourceforge.net |