domain icon indicating copy to clipboard operation
domain copied to clipboard

Query DNS records directly?

Open kallisti5 opened this issue 5 years ago • 1 comments

Is there a way to query DNS records directly without futures?

Just want to directly look up the CNAME , A, AAAA, etc for a host so I can trace through them by hand. (working on a DNS mapping tool)

kallisti5 avatar Oct 24 '18 15:10 kallisti5

The resolver always uses futures under the hood, but the 0.2 series has the ‘run shortcut’ that hides them away. Instead of lookup_host as in the example, you can use lookup_records to query for raw records without any extra processing.

partim avatar Oct 25 '18 10:10 partim