|
|
|
@ -135,11 +135,13 @@ def updateNsData(zone):
|
|
|
|
|
adaptFileForRequire(zone, dumpFile)
|
|
|
|
|
if dnscontrolPush(zone) != 0:
|
|
|
|
|
raise Exception("Pushing data failed!")
|
|
|
|
|
|
|
|
|
|
log.info(f'{adaptedZone} |\tFinished')
|
|
|
|
|
except:
|
|
|
|
|
log.error(f'{adaptedZone} |\t{sys.exc_info()}')
|
|
|
|
|
log.error(f'{adaptedZone} |\tUpdating NS-Data failed!')
|
|
|
|
|
|
|
|
|
|
log.info(f'{adaptedZone} |\tFinished')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def adaptZoneName(zone):
|
|
|
|
|
if config['zone']['public-suffix'] != "" and zone.endswith(config['zone']['public-suffix']):
|
|
|
|
|