summaryrefslogtreecommitdiff
path: root/testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:55:17 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:55:17 +0000
commita6c5280ea59f940be13fd6eb0f94ab8360d3d6c9 (patch)
treecbe088761a83cf2025bbdf36e1574f38c3e988f5 /testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns
parent8c2647a7dc721c8e5349bd194b8e8e178412057e (diff)
downloadsrc-test2-a6c5280ea59f940be13fd6eb0f94ab8360d3d6c9.tar.gz
src-test2-a6c5280ea59f940be13fd6eb0f94ab8360d3d6c9.zip
Notes
Diffstat (limited to 'testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns')
-rw-r--r--testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns42
1 files changed, 42 insertions, 0 deletions
diff --git a/testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns b/testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns
new file mode 100644
index 000000000000..7b773d3b2e73
--- /dev/null
+++ b/testdata/tcp_sigpipe.tdir/tcp_sigpipe.testns
@@ -0,0 +1,42 @@
+; nameserver test file
+$ORIGIN example.com.
+$TTL 3600
+
+ENTRY_BEGIN
+MATCH UDP opcode qtype qname
+REPLY QR AA NOERROR TC
+ADJUST copy_id
+SECTION QUESTION
+www IN A
+ENTRY_END
+
+ENTRY_BEGIN
+MATCH TCP opcode qtype qname
+REPLY QR AA NOERROR
+ADJUST copy_id sleep=3
+SECTION QUESTION
+www IN A
+SECTION ANSWER
+www IN A 10.20.30.40
+ENTRY_END
+
+ENTRY_BEGIN
+MATCH opcode qtype qname
+REPLY QR AA NOERROR
+ADJUST copy_id
+SECTION QUESTION
+www2 IN A
+SECTION ANSWER
+www2 IN A 10.20.30.42
+ENTRY_END
+
+ENTRY_BEGIN
+MATCH opcode qtype qname
+REPLY QR AA NOERROR
+ADJUST copy_id
+SECTION QUESTION
+www3 IN A
+SECTION ANSWER
+www3 IN A 10.20.30.43
+ENTRY_END
+