parser.add_argument('-m','--mode', metavar='mode', required=True, choices=['create','update','delete'], help='operation mode (create, update, delete)\nupdate:update all existing records if one exists, or create if not existing\ndelete: delete existing record with given content, or delete all records if no content is given')
parser.add_argument('-p','--public-ip', action='store_true', required=False, help='insert public ip. Use A for ip4 an AAAA for ipv6')
parser.add_argument('-p','--public-ip', action='store_true', required=False, help='insert public ip. Use -r A for ip4 an -r AAAA for ipv6')
parser.add_argument('-c','--config_file', metavar='path', default='./conf.cfg', help='path to configuration file')
parser.add_argument('-t','--ttl', default=3600, type=int, help='TTL (time to live) of the nameserver record in seconds (default 3600)')