]> granicus.if.org Git - pdns/commitdiff
this is a directory rename, and it does not look good
authorBert Hubert <bert.hubert@netherlabs.nl>
Fri, 28 Jan 2011 07:45:07 +0000 (07:45 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Fri, 28 Jan 2011 07:45:07 +0000 (07:45 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1923 d19b8d6e-7fed-0310-83ef-9ca221ded41b

regression-tests/example.com
regression-tests/too-big-for-udp-query-no-truncate-additional/command [new file with mode: 0755]
regression-tests/too-big-for-udp-query-no-truncate-additional/description [new file with mode: 0644]
regression-tests/too-big-for-udp-query-no-truncate-additional/expected_result [new file with mode: 0644]

index 23fa089a2638d7778b4fd6447b0614345c0dba3f..801755abd3e7a7bf91a879dea44ff885b1e53827 100644 (file)
@@ -125,6 +125,33 @@ toomuchinfo-b              IN      A       192.168.99.47
 toomuchinfo-b          IN      A       192.168.99.48
 toomuchinfo-b          IN      A       192.168.99.49
 toomuchinfo-b          IN      A       192.168.99.50
+toomuchinfo-b          IN      A       192.168.99.66
+toomuchinfo-b          IN      A       192.168.99.67
+toomuchinfo-b          IN      A       192.168.99.68
+toomuchinfo-b          IN      A       192.168.99.69
+toomuchinfo-b          IN      A       192.168.99.70
+toomuchinfo-b          IN      A       192.168.99.71
+toomuchinfo-b          IN      A       192.168.99.72
+toomuchinfo-b          IN      A       192.168.99.73
+toomuchinfo-b          IN      A       192.168.99.74
+toomuchinfo-b          IN      A       192.168.99.75
+toomuchinfo-b          IN      A       192.168.99.76
+toomuchinfo-b          IN      A       192.168.99.77
+toomuchinfo-b          IN      A       192.168.99.78
+toomuchinfo-b          IN      A       192.168.99.79
+toomuchinfo-b          IN      A       192.168.99.80
+toomuchinfo-b          IN      A       192.168.99.81
+toomuchinfo-b          IN      A       192.168.99.82
+toomuchinfo-b          IN      A       192.168.99.83
+toomuchinfo-b          IN      A       192.168.99.84
+toomuchinfo-b          IN      A       192.168.99.85
+toomuchinfo-b          IN      A       192.168.99.86
+toomuchinfo-b          IN      A       192.168.99.87
+toomuchinfo-b          IN      A       192.168.99.88
+toomuchinfo-b          IN      A       192.168.99.89
+toomuchinfo-b          IN      A       192.168.99.90
+
+
 
 host-0 IN      A       192.168.1.0
 host-1 IN      A       192.168.1.1
diff --git a/regression-tests/too-big-for-udp-query-no-truncate-additional/command b/regression-tests/too-big-for-udp-query-no-truncate-additional/command
new file mode 100755 (executable)
index 0000000..075df85
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cleandig together-too-much.example.com MX
\ No newline at end of file
diff --git a/regression-tests/too-big-for-udp-query-no-truncate-additional/description b/regression-tests/too-big-for-udp-query-no-truncate-additional/description
new file mode 100644 (file)
index 0000000..c4e19e7
--- /dev/null
@@ -0,0 +1,4 @@
+UDP dns packets can only be 512 bytes long - when they are longer, they need
+to get truncated, and have the 'TC' bit set, to inform the client that they
+need to requery over TCP. This query however does not need truncation, since
+the information that causes things to go over limit is 'additional'.
\ No newline at end of file
diff --git a/regression-tests/too-big-for-udp-query-no-truncate-additional/expected_result b/regression-tests/too-big-for-udp-query-no-truncate-additional/expected_result
new file mode 100644 (file)
index 0000000..f84e6e1
--- /dev/null
@@ -0,0 +1,28 @@
+0      together-too-much.example.com.  IN      MX      120     25 toomuchinfo-a.example.com.
+0      together-too-much.example.com.  IN      MX      120     25 toomuchinfo-b.example.com.
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.1
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.10
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.11
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.12
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.13
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.14
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.15
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.16
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.17
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.18
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.19
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.2
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.20
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.21
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.22
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.23
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.24
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.3
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.4
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.5
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.6
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.7
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.8
+2      toomuchinfo-a.example.com.      IN      A       120     192.168.99.9
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='together-too-much.example.com.', qtype=MX