1 # vim: set encoding=utf-8 et sw=4 sts=4 :
3 # TODO documentation, validation
5 from pymin.seqtools import Sequence
6 from pymin.service.util import DictSubHandler
8 __all__ = ('DnsHandler',)
12 def __init__(self, name):
21 return (self.name, self.hosts, self.mxs, self.nss)
23 class ZoneHandler(DictSubHandler):
24 handler_help = u"Manage DNS zones"
25 _cont_subhandler_attr = 'zones'
26 _cont_subhandler_class = Zone