Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to get DNS response as JSON #65

Open
no0ne-code opened this issue Nov 20, 2024 · 0 comments
Open

Add support to get DNS response as JSON #65

no0ne-code opened this issue Nov 20, 2024 · 0 comments

Comments

@no0ne-code
Copy link

@d3mondev if possible please add support to get DNS response in output and also parse it as JSON similar to projectdiscovery dnsx

Below is a DNS response in json from dnsx for a domain using the argument -recon

{"host":"00055edc1917.com","ttl":300,"resolver":["1.1.1.1:53","1.0.0.1:53","8.8.8.8:53","8.8.4.4:53"],"a":["194.53.53.4","194.53.53.252"],"soa":[{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800},{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800},{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800},{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800},{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800},{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800},{"name":"00055edc1917.com","ns":"coco.ns.cloudflare.com","mailbox":"dns.cloudflare.com","serial":2355058298,"refresh":10000,"retry":2400,"expire":604800,"minttl":1800}],"ns":["ernest.ns.cloudflare.com","coco.ns.cloudflare.com"],"all":["00055edc1917.com.\t300\tIN\tA\t194.53.53.4","00055edc1917.com.\t300\tIN\tA\t194.53.53.252","\n;; OPT PSEUDOSECTION:\n; EDNS: version 0; flags:;udp:1232","00055edc1917.com.\t1800\tIN\tSOA\tcoco.ns.cloudflare.com. dns.cloudflare.com. 2355058298 10000 2400 604800 1800","\n;; OPT PSEUDOSECTION:\n; EDNS: version 0; flags:; udp: 512","00055edc1917.com.\t349\tIN\tSOA\tcoco.ns.cloudflare.com. dns.cloudflare.com. 2355058298 10000 2400 604800 1800","00055edc1917.com.\t21600\tIN\tNS\ternest.ns.cloudflare.com.","00055edc1917.com.\t21600\tIN\tNS\tcoco.ns.cloudflare.com."],"status_code":"NOERROR","axfr":{"host":"00055edc1917.com"},"timestamp":"2024-11-19T20:33:44.797239498+01:00"}

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

No branches or pull requests

1 participant