From 8242af43495e2df78f13d677ca224d415aa5a726 Mon Sep 17 00:00:00 2001 From: Daniel Roschka Date: Sat, 28 Mar 2015 08:16:30 +0100 Subject: [PATCH] Fixes the wrong order of zone and resource record when showing what has been deleted. --- binder/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binder/helpers.py b/binder/helpers.py index 569f216..3f3607b 100644 --- a/binder/helpers.py +++ b/binder/helpers.py @@ -96,7 +96,7 @@ def delete_record(dns_server, zone_name, rr_list, key_name): records = [] for resource_record in rr_list: dns_update.delete(resource_record) - records.append("%s.%s" % (zone_name, resource_record)) + records.append("%s.%s" % (resource_record, zone_name)) output = send_dns_update(dns_update, dns_server, key_name) delete_response = [{"description": "Deleted Records:
%s" %