all repos — dns @ d29bcb418b7abf890647d71b6551ab6fd118360b

DNS records for my domains, managed via dnscontrol

reformat dnsconfig.js

Alan Pearce
commit

d29bcb418b7abf890647d71b6551ab6fd118360b

parent

c2e99f0acd931afd38002e80c9181876418b5fa3

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M dnsconfig.jsdnsconfig.js
@@ -13,7 +13,7 @@ * @param {string[]} [record.ipv6hint]
*/ function https(record) { return Object.keys(record) - .map(function(key) { + .map(function (key) { return [key, record[key].join(',')].join('=') }) .join(' ')
@@ -57,7 +57,7 @@ * @param {string[]} sources
* @param {string} target */ function bulkCNAME(sources, target) { - return sources.map(function(source) { + return sources.map(function (source) { return CNAME(source, target) }) }