projectdiscovery / dnsx

dnsx is a fast and multi-purpose DNS toolkit allow to run multiple DNS queries of your choice with a list of user-supplied resolvers.
https://docs.projectdiscovery.io/tools/dnsx
MIT License
2.19k stars 245 forks source link

[issue] SOA query is not working #58

Closed ehsandeep closed 3 years ago

ehsandeep commented 3 years ago
dig soa example.com

; <<>> DiG 9.10.6 <<>> soa example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42014
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;example.com.           IN  SOA

;; ANSWER SECTION:
example.com.        42  IN  SOA ns.icann.org. noc.dns.icann.org. 2021022314 7200 3600 1209600 3600
echo example.com | dnsx -soa -resp -raw

      _             __  __
   __| | _ __   ___ \ \/ /
  / _' || '_ \ / __| \  / 
 | (_| || | | |\__ \ /  \ 
  \__,_||_| |_||___//_/\_\ v1.0.2

        projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
Mzack9999 commented 3 years ago

Fixed in https://github.com/projectdiscovery/retryabledns/pull/21

ehsandeep commented 3 years ago

Fixed with https://github.com/projectdiscovery/dnsx/pull/60