Get the dnslookup Non-authoritative answer full results

Hi, How to get the complete Non-authoritative answer: via golang module ? can you point me to the right module and examples?

I have tried with netmodule but it is not returning complete results.

cname, _ := net.LookupCNAME("")

nslookup returns full results.

nslookup                                                                                                                                                            0s


Non-authoritative answer:	canonical name =	canonical name =

dig is even simpler

dig aa +short                                                                                                                                             0s

my main requirement is to get Can someone help ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.