I am trying to create a DNS service (automation of various DNS operations) to serve our existing private cloud. I am looking for options and ideas to do this. Is there any existing Java API to do this? Please suggest.
I made a research on the possible solutions. I found DNSJava to be a good solution. But I did not find much documentation/examples. The following are some questions which, when answered, can solve my current problems:
- How to add NS or A records to zone files?
- How to print out the contents of a zone file?
I have created a local DNS server for test purpose. It will be really helpful if the examples are given with respect to localhost.
Thank you!