summaryrefslogtreecommitdiff
path: root/data/dns-any.d
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:07 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:07 -0800
commit5e0936b99e2d50769c5432b47c4d07c3dcdd37c6 (patch)
tree7ed686be807c3cce93be58daaf49169a94a21b04 /data/dns-any.d
parent39c3e9d45c422c33aaf85c552a96434f2b9371e2 (diff)
downloadnetcat-5e0936b99e2d50769c5432b47c4d07c3dcdd37c6.tar.gz
auto import from //depot/cupcake/@135843
Diffstat (limited to 'data/dns-any.d')
-rw-r--r--data/dns-any.d36
1 files changed, 36 insertions, 0 deletions
diff --git a/data/dns-any.d b/data/dns-any.d
new file mode 100644
index 0000000..77b014c
--- /dev/null
+++ b/data/dns-any.d
@@ -0,0 +1,36 @@
+# dns "any for ." query, to udp 53
+# if tcp: precede with 2 bytes of len:
+# 0
+# 17
+# you should get at least *one* record back out
+
+# HEADER:
+0 # query id = 2
+2
+
+1 # flags/opcodes = query, dorecurse
+0
+
+0 # qdcount, i.e. nqueries: 1
+1
+
+0 # ancount: answers, 0
+0
+
+0 # nscount: 0
+0
+
+0 # addl records: 0
+0
+
+# end of fixed header
+
+0 # name-len: 0 for ".", lenbyte plus name-bytes otherwise
+
+0 # type: any, 255
+0xff
+
+0 # class: IN
+1
+
+# i think that's it..