06-14-2017 10:43 PM
We used to create more than 100 new RR's per day in our zone. Is it possible to upload different RRs by using a single CSV file?
If possible then please helpe me to understand the procedure.
Solved! Go to Solution.
06-15-2017 06:32 AM - edited 06-15-2017 06:33 AM
Yes, you can import multiple RR using single CSV file, please find the below example to import multiple RR using single CSV file.
header-arecord,address*,_new_address,fqdn*,_new_fqdn,comment,create_ptr,creator,ddns_principal,ddns_protected,disabled,ttl,view header-cnamerecord,fqdn*,_new_fqdn,canonical_name,comment,creator,ddns_principal,ddns_protected,disabled,ttl,view header-mxrecord,fqdn*,_new_fqdn,mx*,_new_mx,priority*,_new_priority,comment,creator,ddns_principal,ddns_protected,disabled,ttl,view mxrecord,mail.example.edu,,exchange.example.edu,,10,,,STATIC,,False,False,,test cnamerecord,xyz.example.edu,,abc.example.edu,,STATIC,,False,False,,test arecord,126.96.36.199,,abc.example.edu,,,False,STATIC,,False,False,,test
06-22-2017 09:32 PM
So according to the header order we have to give the Input correct ?
Means if we use two headers (A and PTR) then the third line input data should be "A" record addition as well the fourth one should be "PTR" correct ?
06-23-2017 09:19 AM
The order of entries in the CSV file does not matter. Breaking this down:
header-arecord, header-cnamerecord, header-mxrecord, mxrecord, cnamerecord, arecord,
The header rows are used to tell the CSV job manager what data to expect, and then the job manager users the first cell in each non-header (object) row to identify which header that row should match against. As long as the cells for each object match the same order as the header row, the CSV job manager will figure things out from there. So while the example that was provided previously showed things in a particular order, the order is not important and would have done here just been to make things easier to demonstrate.