| Trees | Indices | Help |
|
|---|
|
|
Class implementing resolver and hostname functionality
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| tuple |
|
||
|
|||
_VALID_NAME_RE = re.compile("^[a-z0-9._-]{1,255}$")
|
|||
|
|||
Initialize the host name object. If the name argument is not passed, it will use this system's name. |
Return the current system's name. This is simply a wrapper over |
Look up hostname
|
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 Dec 9 15:55:48 2010 | http://epydoc.sourceforge.net |