![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /lib/python2.7/site-packages/dns/ |
� m!|Uc @ s; d Z d d l Z d e j j f d � � YZ d � Z d S( s DNS TTL conversion.i����Nt BadTTLc B s e Z d Z RS( s! DNS TTL value is not well-formed.( t __name__t __module__t __doc__( ( ( s+ /usr/lib/python2.7/site-packages/dns/ttl.pyR s c C so | j � r t | � } n)| d j � s4 t � n d } d } x� | D]� } | j � rv | d 9} | t | � 7} qG | j � } | d k r� | | d 7} n� | d k r� | | d 7} nc | d k r� | | d 7} nF | d k r� | | d 7} n) | d k r| | 7} n t d | � � d } qG W| d k sDt d � � n | d k s\| d k rkt d � � n | S( s� Convert the text form of a TTL to an integer. The BIND 8 units syntax for TTLs (e.g. '1w6d4h3m10s') is supported. @param text: the textual TTL @type text: string @raises dns.ttl.BadTTL: the TTL is not well-formed @rtype: int i l i t wl �: t dl �Q t hl t ml <