domain
domain copied to clipboard
Query DNS records directly?
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)
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.