1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

MX RFC1035 - priority -> preference & value -> exchange

This commit is contained in:
Ross McFarland
2017-06-23 13:04:38 -07:00
parent 3ca64c4e08
commit 1340aee8a9
14 changed files with 118 additions and 88 deletions

View File

@@ -65,8 +65,8 @@ class TinyDnsBaseSource(BaseSource):
'ttl': ttl,
'type': _type,
'values': [{
'priority': r[1],
'value': '{}.'.format(r[0])
'preference': r[1],
'exchange': '{}.'.format(r[0])
} for r in records]
}