From 0df70276eaa3cb77687ea3c065fc322f632207ed Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Tue, 9 Feb 2016 15:18:58 +0700 Subject: [PATCH] Add default priority in record data used by previous pdns version --- app/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models.py b/app/models.py index 8904680..fee409b 100644 --- a/app/models.py +++ b/app/models.py @@ -694,6 +694,7 @@ class Record(object): "name": r['name'], "ttl": r['ttl'], "type": r['type'], + "priority": 10, # priority field for pdns 3.4.1. https://doc.powerdns.com/md/authoritative/upgrading/ } ] }