dnsx
dnsx copied to clipboard
Add AXFR type query
Please describe your feature request:
https://github.com/hakluke/hakaxfr
Describe the use case of this feature:
echo zonetransfer.me | dnsx -axfr
zonetransfer.me
echo zonetransfer.me | dnsx -axfr -resp
zonetransfer.me [_acme-challenge.zonetransfer.me.]
zonetransfer.me [_sip._tcp.zonetransfer.me]
zonetransfer.me [14.105.196.5.in-addr.arpa.zonetransfer.me]
zonetransfer.me [asfdbauthdns.zonetransfer.me]
zonetransfer.me [asfdbbox.zonetransfer.me]
zonetransfer.me [asfdbvolume.zonetransfer.me]
zonetransfer.me [canberra-office.zonetransfer.me]
zonetransfer.me [cmdexec.zonetransfer.me]
zonetransfer.me [contact.zonetransfer.me]
zonetransfer.me [dc-office.zonetransfer.me]
zonetransfer.me [deadbeef.zonetransfer.me]
zonetransfer.me [dr.zonetransfer.me]
zonetransfer.me [dzc.zonetransfer.me]
zonetransfer.me [email.zonetransfer.me]
zonetransfer.me [hello.zonetransfer.me]
zonetransfer.me [home.zonetransfer.me]
zonetransfer.me [info.zonetransfer.me]
zonetransfer.me [internal.zonetransfer.me]
zonetransfer.me [intns1.zonetransfer.me]
zonetransfer.me [intns2.zonetransfer.me]
zonetransfer.me [office.zonetransfer.me]
zonetransfer.me [ipv6actnow.org.zonetransfer.me]
zonetransfer.me [owa.zonetransfer.me]
zonetransfer.me [robinwood.zonetransfer.me]
zonetransfer.me [rp.zonetransfer.me]
zonetransfer.me [sip.zonetransfer.me]
zonetransfer.me [sqli.zonetransfer.me]
zonetransfer.me [sshock.zonetransfer.me]
zonetransfer.me [staging.zonetransfer.me]
zonetransfer.me [alltcpportsopen.firewall.test.zonetransfer.me]
zonetransfer.me [testing.zonetransfer.me]
zonetransfer.me [vpn.zonetransfer.me]
zonetransfer.me [www.zonetransfer.me]
zonetransfer.me [xss.zonetransfer.me]
zonetransfer.me [zonetransfer.me]
echo zonetransfer.me | dnsx -axfr -json | jq .
{
"host": "mta-sts.hackerone.com",
"resolver": [
"1.0.0.1:53"
],
"axfr": [
"_acme-challenge.zonetransfer.me",
"_sip._tcp.zonetransfer.me",
"14.105.196.5.in-addr.arpa.zonetransfer.me",
"asfdbauthdns.zonetransfer.me",
"asfdbbox.zonetransfer.me",
"asfdbvolume.zonetransfer.me",
"canberra-office.zonetransfer.me",
"cmdexec.zonetransfer.me",
"contact.zonetransfer.me",
"dc-office.zonetransfer.me",
"deadbeef.zonetransfer.me",
"dr.zonetransfer.me",
"dzc.zonetransfer.me",
"email.zonetransfer.me",
"hello.zonetransfer.me",
"home.zonetransfer.me",
"info.zonetransfer.me",
"internal.zonetransfer.me",
"intns1.zonetransfer.me",
"intns2.zonetransfer.me",
"office.zonetransfer.me",
"ipv6actnow.org.zonetransfer.me",
"owa.zonetransfer.me",
"robinwood.zonetransfer.me",
"rp.zonetransfer.me",
"sip.zonetransfer.me",
"sqli.zonetransfer.me",
"sshock.zonetransfer.me",
"staging.zonetransfer.me",
"alltcpportsopen.firewall.test.zonetransfer.me",
"testing.zonetransfer.me",
"vpn.zonetransfer.me",
"www.zonetransfer.me",
"xss.zonetransfer.me",
"zonetransfer.me"
],
"has_internal_ips": false,
"status_code": "NOERROR",
"timestamp": "2022-03-09T20:32:11.664901+05:30"
}
dig axfr query
dig +short ns zonetransfer.me
nsztm2.digi.ninja.
nsztm1.digi.ninja.
; <<>> DiG 9.10.6 <<>> axfr zonetransfer.me @nsztm2.digi.ninja
;; global options: +cmd
zonetransfer.me. 7200 IN SOA nsztm1.digi.ninja. robin.digi.ninja. 2019100801 172800 900 1209600 3600
zonetransfer.me. 300 IN HINFO "Casio fx-700G" "Windows XP"
zonetransfer.me. 301 IN TXT "google-site-verification=tyP28J7JAUHA9fw2sHXMgcCC0I6XBmmoVi04VlMewxA"
zonetransfer.me. 7200 IN MX 0 ASPMX.L.GOOGLE.COM.
zonetransfer.me. 7200 IN MX 10 ALT1.ASPMX.L.GOOGLE.COM.
zonetransfer.me. 7200 IN MX 10 ALT2.ASPMX.L.GOOGLE.COM.
zonetransfer.me. 7200 IN MX 20 ASPMX2.GOOGLEMAIL.COM.
zonetransfer.me. 7200 IN MX 20 ASPMX3.GOOGLEMAIL.COM.
zonetransfer.me. 7200 IN MX 20 ASPMX4.GOOGLEMAIL.COM.
zonetransfer.me. 7200 IN MX 20 ASPMX5.GOOGLEMAIL.COM.
zonetransfer.me. 7200 IN A 5.196.105.14
zonetransfer.me. 7200 IN NS nsztm1.digi.ninja.
zonetransfer.me. 7200 IN NS nsztm2.digi.ninja.
_acme-challenge.zonetransfer.me. 301 IN TXT "2acOp15rSxBpyF6L7TqnAoW8aI0vqMU5kpXQW7q4egc"
_acme-challenge.zonetransfer.me. 301 IN TXT "6Oa05hbUJ9xSsvYy7pApQvwCUSSGgxvrbdizjePEsZI"
_sip._tcp.zonetransfer.me. 14000 IN SRV 0 0 5060 www.zonetransfer.me.
14.105.196.5.IN-ADDR.ARPA.zonetransfer.me. 7200 IN PTR www.zonetransfer.me.
asfdbauthdns.zonetransfer.me. 7900 IN AFSDB 1 asfdbbox.zonetransfer.me.
asfdbbox.zonetransfer.me. 7200 IN A 127.0.0.1
asfdbvolume.zonetransfer.me. 7800 IN AFSDB 1 asfdbbox.zonetransfer.me.
canberra-office.zonetransfer.me. 7200 IN A 202.14.81.230
cmdexec.zonetransfer.me. 300 IN TXT "; ls"
contact.zonetransfer.me. 2592000 IN TXT "Remember to call or email Pippa on +44 123 4567890 or [email protected] when making DNS changes"
dc-office.zonetransfer.me. 7200 IN A 143.228.181.132
deadbeef.zonetransfer.me. 7201 IN AAAA dead:beaf::
dr.zonetransfer.me. 300 IN LOC 53 20 56.558 N 1 38 33.526 W 0.00m 1m 10000m 10m
DZC.zonetransfer.me. 7200 IN TXT "AbCdEfG"
email.zonetransfer.me. 2222 IN NAPTR 1 1 "P" "E2U+email" "" email.zonetransfer.me.zonetransfer.me.
email.zonetransfer.me. 7200 IN A 74.125.206.26
Hello.zonetransfer.me. 7200 IN TXT "Hi to Josh and all his class"
home.zonetransfer.me. 7200 IN A 127.0.0.1
Info.zonetransfer.me. 7200 IN TXT "ZoneTransfer.me service provided by Robin Wood - [email protected]. See http://digi.ninja/projects/zonetransferme.php for more information."
internal.zonetransfer.me. 300 IN NS intns1.zonetransfer.me.
internal.zonetransfer.me. 300 IN NS intns2.zonetransfer.me.
intns1.zonetransfer.me. 300 IN A 81.4.108.41
intns2.zonetransfer.me. 300 IN A 52.91.28.78
office.zonetransfer.me. 7200 IN A 4.23.39.254
ipv6actnow.org.zonetransfer.me. 7200 IN AAAA 2001:67c:2e8:11::c100:1332
owa.zonetransfer.me. 7200 IN A 207.46.197.32
robinwood.zonetransfer.me. 302 IN TXT "Robin Wood"
rp.zonetransfer.me. 321 IN RP robin.zonetransfer.me. robinwood.zonetransfer.me.
sip.zonetransfer.me. 3333 IN NAPTR 2 3 "P" "E2U+sip" "!^.*$!sip:[email protected]!" .
sqli.zonetransfer.me. 300 IN TXT "' or 1=1 --"
sshock.zonetransfer.me. 7200 IN TXT "() { :]}; echo ShellShocked"
staging.zonetransfer.me. 7200 IN CNAME www.sydneyoperahouse.com.
alltcpportsopen.firewall.test.zonetransfer.me. 301 IN A 127.0.0.1
testing.zonetransfer.me. 301 IN CNAME www.zonetransfer.me.
vpn.zonetransfer.me. 4000 IN A 174.36.59.154
www.zonetransfer.me. 7200 IN A 5.196.105.14
xss.zonetransfer.me. 300 IN TXT "'><script>alert('Boo')</script>"
zonetransfer.me. 7200 IN SOA nsztm1.digi.ninja. robin.digi.ninja. 2019100801 172800 900 1209600 3600
;; Query time: 276 msec
;; SERVER: 34.225.33.2#53(34.225.33.2)
;; WHEN: Wed Mar 09 23:35:26 IST 2022
;; XFR size: 51 records (messages 1, bytes 2113)