|
|
@ -139,6 +139,8 @@ def updateNsData(zone):
|
|
|
|
log.error(f'{adaptedZone} |\t{sys.exc_info()}')
|
|
|
|
log.error(f'{adaptedZone} |\t{sys.exc_info()}')
|
|
|
|
log.error(f'{adaptedZone} |\tUpdating NS-Data failed!')
|
|
|
|
log.error(f'{adaptedZone} |\tUpdating NS-Data failed!')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log.info(f'{adaptedZone} |\tFinished')
|
|
|
|
|
|
|
|
|
|
|
|
def adaptZoneName(zone):
|
|
|
|
def adaptZoneName(zone):
|
|
|
|
if config['zone']['public-suffix'] != "" and zone.endswith(config['zone']['public-suffix']):
|
|
|
|
if config['zone']['public-suffix'] != "" and zone.endswith(config['zone']['public-suffix']):
|
|
|
|
adaptedZone = zone[:-len(config['zone']['public-suffix'])]
|
|
|
|
adaptedZone = zone[:-len(config['zone']['public-suffix'])]
|
|
|
|