dns-query
dns-query copied to clipboard
Possible to get DNS Zone host?
Hello!
I have a use-case similar to detecting this: https://answers.netlify.com/t/21742. In short, for this example:
$ dig of-mu.org NS +trace | tail -n 6
of-mu.org. 1800 IN NS dns1.p07.nsone.net.
of-mu.org. 1800 IN NS dns2.p07.nsone.net.
of-mu.org. 1800 IN NS dns3.p07.nsone.net.
of-mu.org. 1800 IN NS dns4.p07.nsone.net.
;; Received 127 bytes from 217.70.187.81#53(ns-80-c.gandi.net) in 171 ms
I wish to get the last line (ns-80-c.gandi.net), to check where the answer came from. Is this something possible with this library?
I can see, most other queries are working perfectly! Thank you for your work on this!