Server IP : 184.154.167.98 / Your IP : 18.218.63.176 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/site-packages/dns/ |
Upload File : |
� !`Nc @ 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 RS( ( t __name__t __module__( ( ( s- /usr/lib64/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 <