- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Error with CSV Importing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2020 01:16 PM
Hello, I am writing today with a question about csv importing. My company is currently doing a migration to the cloud, which involves many many servers. In order to try and save time, we would like to automate some of the process. In particular, we would like to import a csv script to create new A records, delete old A records, delete old ptr records, and create new PTR records. When first attempted this, it created the new A record, deleted the old A record, which is exactly what we wanted. The issue came with the PTR records. The old PTR records weren't removed, and the new PTR records were not created. In order for this to work as we intended, it must do both. Here is the file we used, with some information omitted.
header-arecord | address* | _new_address | fqdn* | _new_fqdn | comment | create_ptr | disabled | ttl | view |
arecord | X.X.X.X | X.X.X.X | name.domain.com | TRUE | FALSE | Internal |