Created
August 19, 2018 05:13
-
-
Save aquilax/7e00b26d9bdf372bd2032c53b620b23c to your computer and use it in GitHub Desktop.
Rough Rackspace DNS to bind translator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy(r.records.reduce((a, row) => { | |
let line = [ | |
row['name'] + '.', | |
row['ttl'], | |
'IN', | |
row['type'], | |
'"' + row['data'] + '"', | |
].join("\t"); | |
a.push(line); | |
return a; | |
}, []).join("\n")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment