Package dns :: Module ttl
[show private | hide private]
[frames | no frames]

Module dns.ttl

DNS TTL conversion.
Exceptions
BadTTL  

Function Summary
int from_text(text)
Convert the text form of a TTL to an integer.

Function Details

from_text(text)

Convert the text form of a TTL to an integer.

The BIND 8 units syntax for TTLs (e.g. '1w6d4h3m10s') is supported.
Parameters:
text - the textual TTL
           (type=string)
Returns:
int
Raises:
dns.ttl.BadTTL - the TTL is not well-formed

Generated by Epydoc 1.1 on Sat Aug 7 11:32:47 2004 http://epydoc.sf.net