Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Query DNS records directly? #24

Open
kallisti5 opened this issue Oct 24, 2018 · 1 comment
Open

Query DNS records directly? #24

kallisti5 opened this issue Oct 24, 2018 · 1 comment

Comments

@kallisti5
Copy link

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)

@partim
Copy link
Owner

partim commented Oct 25, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants