Forum Discussion

orfeaskar_31458's avatar
orfeaskar_31458
Icon for Nimbostratus rankNimbostratus
Nov 14, 2017

pycontrol Zone::add_zone_text

I am attempting to add Zones under Zone Runner using pycontrol, where my input is a csv file of zone records. The idea is to automate entering the zones using a script. The add_zone_text function should do the job, however I cannot figure out what the parameter's text format is supposed to be like. Can someone provide a full example? (e.g. text = ['SOA ... NS ...',] or however it is supposed to be.)

 

No RepliesBe the first to reply