Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

DNS DHCP IPAM

Reply
Highlighted
Accepted Solution

Is it possible to import multiple RR with a single CSV file ?

Techie
Posts: 8
2677     0

Hi,

 

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.

 

Thanks 

Veera

Highlighted

Re: Is it possible to import multiple RR with a single CSV file ?

[ Edited ]
Techie
Posts: 11
2678     0

Hi Veera,

 

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,1.1.1.1,,abc.example.edu,,,False,STATIC,,False,False,,test

-

Anto Jobai

Highlighted

Re: Is it possible to import multiple RR with a single CSV file ?

Techie
Posts: 8
2678     0

Hi AJobai,

 

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 ?

 

Regards

Veera

Highlighted

Re: Is it possible to import multiple RR with a single CSV file ?

Community Manager
Community Manager
Posts: 358
2678     0

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.

Showing results for 
Search instead for 
Do you mean 

Recommended for You

Demo: Infoblox IPAM plug-in integration with OpenStack Newton