manage multiple domains
This commit is contained in:
parent
8c1ae5abdd
commit
cd1def40e1
|
@ -94,6 +94,9 @@ def main(force_update, verbosity):
|
||||||
if verbosity:
|
if verbosity:
|
||||||
print("verbosity turned on - not implemented by now")
|
print("verbosity turned on - not implemented by now")
|
||||||
|
|
||||||
|
for key, value in config.dnsentries.items():
|
||||||
|
config.domain = key
|
||||||
|
config.subdomains = value
|
||||||
|
|
||||||
#get zone ID from Account
|
#get zone ID from Account
|
||||||
uuid = get_uuid()
|
uuid = get_uuid()
|
||||||
|
@ -120,11 +123,4 @@ if __name__ == "__main__":
|
||||||
parser.add_argument('-f', '--force', help="force an update/create", action="store_true")
|
parser.add_argument('-f', '--force', help="force an update/create", action="store_true")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
main(args.force, args.verbose)
|
main(args.force, args.verbose)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue