noc.dns.utils.zonefile

Module Contents

noc.dns.utils.zonefile.HEADER = ;;

;; %s ;; WARNING: Auto-generated zone file ;; Do not edit manually ;; Generated by NOC (http://getnoc.com) ;;

noc.dns.utils.zonefile.FOOTER = ;;

;; End of auto-generated zone ;;

class noc.dns.utils.zonefile.ZoneFile(data)

Bases: object

TABSTOP = 8
MAX_TXT = 128
to_idna(self, n)
from_idna(self, s)
is_idna(self, s)
get_text(self)
static pretty_time(t)

Format seconds to human-readable time for comments :param t: :return:

classmethod split_txt(cls, value)

Split TXT to up-to MAX_TXT parts :param value: :return: