Home | Trees | Indices | Help |
|
---|
|
object --+ | BaseValidator --+ | DomainValidator
A domain name validator that is ready for internationalized domains.
http://en.wikipedia.org/wiki/Internationalized_domain_name http://en.wikipedia.org/wiki/Top-level_domain
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
domain_pattern =
|
|||
domain_regex = re.compile(r'
|
|||
false_positive_ips =
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Looks up the DNS record for *domain* and returns: * None if it does not exist, * The IP address if looking up the "A" record, or * The list of hosts in the "MX" record. The return value, if treated as a boolean, says whether a domain exists. You can pass "a" or "mx" as the *lookup_record* parameter. Otherwise, the *lookup_dns* parameter from the constructor is used. "a" means verify that the domain exists. "mx" means verify that the domain exists and specifies mail servers. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri May 28 17:01:39 2010 | http://epydoc.sourceforge.net |