-
hi- i'm working on a small program to perform a zone transfer, then process the results, ultimately writing to json files. ultimately, my goal is to create a single file per label, with the data structured as is shown in the below pastebin on lines 36-53 and 58-76. how should i do this? with my testing so far, i'm able to print record data to stdout [lines 29-34], but i'm not sure how to get just the type and rdata values, and also not sure if using get_node is really the right way to do this. https://gist.github.com/junkb/fc20526c2fa3a19dd59170ebc917a3d9 any advice or guidance would be appreciated - thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your code would need to iterate the rdatasets in the node, and the individual records in each rdataset. This should be a reasonable starting point.
|
Beta Was this translation helpful? Give feedback.
Your code would need to iterate the rdatasets in the node, and the individual records in each rdataset. This should be a reasonable starting point.