Hello ,
I have some problem doing one of my projects.
My project says something like sending a query to a dns server and receive authoritative answers or not. And if i get a non-authoritative answer, the program must print a list of name servers that could give an authoritative answer.

My problem is : how can i get those name servers?
I used JNDI in my program.

Sorry if it seems stupid ans sorry if my English is bad.

Thank you in advance.