Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apostrophecms/csv-to-zone-file
Converts CSV to a zonefile just good enough to import into Amazon Route 53
https://github.com/apostrophecms/csv-to-zone-file
Last synced: 6 days ago
JSON representation
Converts CSV to a zonefile just good enough to import into Amazon Route 53
- Host: GitHub
- URL: https://github.com/apostrophecms/csv-to-zone-file
- Owner: apostrophecms
- License: mit
- Created: 2021-11-05T14:53:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-08T16:27:59.000Z (about 3 years ago)
- Last Synced: 2024-12-19T18:15:24.666Z (13 days ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Produces a zone file suitable for import into Amazon Route 53. If your goal is
to actually use it in a standalone DNS server, you'll want to add
an SOA (Start Of Authority) record to the output manually.Run:
```
npm install -g csv-to-zone-file
csv-to-zone-file < myfile.csv > myfile.zone
```The CSV file must have columns as shown in this example:
| Type | Host | Value |
| ------ | ------ | ------- |
| A | www | a.b.c.d |`Type` may be `A`, `CNAME`, etc. The suffix ` Record` is stripped from `Type` if present.
`TTL` is an optional column. If not present the TTL is 1 hour.
If `MX` records are present there must be a `Priority` column as well.