lglass.generators.dns

lglass.generators.dns.generate_delegation(dns, with_glue=True)

Generate a valid DNS delegation to the given dns object. This function may generate glue records if with_glue == True.

lglass.generators.dns.generate_soa(domain, master, email, serial=None, refresh=86400, retry=7200, expire=3600000, ttl=172800)

Useful utility to generate a RIPE-NCC-compilant SOA record for defined domain. Required fields are the domain, the master name server, the email address in zonefile format. Additional fields are the serial, refresh time, retry time, expire time and minimum ttl. If the serial is ommitted, then this function will generate a unique serial based on the current time.

lglass.generators.dns.generate_zone(zone, domains, soa=None, nameservers=[])

Generate fully compilant zone for given domains, which need delegation.

Read the Docs v: latest
Versions
latest
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.