Matthijs Mekking
195277ca6d
Check dig TTLs.
...
This also fixes a bug in the tests ($n was not incremented in one
place).
2019-04-10 15:06:13 +10:00
Mark Andrews
146202d6a8
Check delv TTLs.
2019-04-10 15:06:13 +10:00
Evan Hunt
885a3d208e
remove "dnssec-enable" from all system tests
2019-03-14 23:30:13 -07:00
Evan Hunt
c02dad7991
set and use SYSTEMTESTTOP consistently
2019-01-25 00:44:11 -08:00
Michał Kępień
0f168a4b37
dig: return a non-zero exit code for failed TCP EOF retries
...
dig retries a TCP query when a server closes the connection prematurely.
However, dig's exit code remains unaffected even if the second attempt
to get a response also fails with the same error for the same lookup,
which should not be the case. Ensure the exit code is updated
appropriately when a retry triggered by a TCP EOF condition fails.
2019-01-24 23:05:43 -08:00
Ondřej Surý
7a721f983e
Revert "Merge branch '782-cygwin-grep-CRLF-issue' into 'master'"
...
This reverts commit 4af9f97189 , reversing
changes made to 0289f3f281 .
2018-12-17 12:23:14 +01:00
Curtis Blackburn
bdbf6ede3a
missed one in the digdelv test
2018-12-14 18:22:58 -08:00
Curtis Blackburn
ba1b9ca4d4
digdelv test fixed for CRLF issue
2018-12-14 18:22:58 -08:00
Ondřej Surý
bc12c52e82
Run the digdelv tests with set -e enabled
2018-12-11 10:21:47 +01:00
Ondřej Surý
351efd8812
Update digdelv system test to not use static RSAMD5 key and make scripts shellcheck clean
2018-12-11 10:21:40 +01:00
Mark Andrews
77128c867c
check that delv -q -m works
2018-11-14 11:38:08 +11:00
Mark Andrews
f6f07fb41e
check that dig -q -m works
2018-11-14 11:14:49 +11:00
Mark Andrews
2e688488f7
test mdig '+ednsopt=:' handling
2018-08-02 08:55:01 +10:00
Michał Kępień
fd30a03f2b
Remove IDN subtest from the "digdelv" system test
...
The output of certain "dig +idnout" invocations may be locale-dependent.
Remove the "dig +idnout" subtest from the "digdelv" system test as IDN
support is already thoroughly tested by the "idna" system test.
2018-07-13 08:22:12 +02:00
Mark Andrews
ad86878d61
add test for bad dig option '+ednsopt=:' being handled gracefully
2018-07-11 11:22:26 -07:00
Evan Hunt
a7a2fa296a
update system tests so validation won't fail when using IANA key
...
- all tests with "recursion yes" now also specify "dnssec-validation yes",
and all tests with "recursion no" also specify "dnssec-validation no".
this must be maintained in all new tests, or else validation will fail
when we use local root zones for testing.
- clean.sh has been modified where necessary to remove managed-keys.bind
and viewname.mkeys files.
2018-05-31 18:22:33 +02:00
Mark Andrews
58c103e09c
dig: add the ability to set RA and TC in queries
2018-04-20 14:17:58 -07:00
Kevin Chen
8b1b809ab4
Add a Net::DNS prereq for digdelv, fetchlimit, rpzrecurse, and zero
...
tests to avoid failed tests when Net::DNS is not present.
2018-04-04 22:23:14 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Evan Hunt
0c559199bf
final cleanup
...
- add CHANGES note
- update copyrights and license headers
- add -j to the make commands in .gitlab-ci.yml to take
advantage of parallelization in the gitlab CI process
2018-02-22 22:58:15 -08:00
Evan Hunt
c032c54dda
parallelize most system tests
2018-02-22 15:29:02 -08:00
Mark Andrews
940449fc72
4845. [bug] Dig (non iOS) should exit on malformed names.
...
[RT #46806 ]
2017-12-12 13:43:55 +11:00
Evan Hunt
8e014c45ae
[master] dig: retain domain when retrying with tcp
...
4712. [bug] "dig +domain" and "dig +search" didn't retain the
search domain when retrying with TCP. [RT #45547 ]
2017-09-11 10:10:16 -07:00
Michał Kępień
d6814700de
[master] Ensure consistent handling of -4/-6 command line options in all tools
...
4690. [bug] Command line options -4/-6 were handled inconsistently
between tools. [RT #45632 ]
2017-08-29 10:19:38 +02:00
Mark Andrews
07741d43c8
4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
...
messages. [RT #44804 ]
2017-08-25 08:38:19 +10:00
Michał Kępień
367fcd7454
[master] Prevent delv from sending bogus queries for provided server address
...
4684. [bug] delv could send bogus DNS queries when an explicit
server address was specified on the command line along
with -4/-6. [RT #45804 ]
2017-08-21 09:18:13 +02:00
Mark Andrews
7ef453bf43
4608. [func] DiG now warns about .local queries which are reserved
...
for Multicast DNS. [RT #44783 ]
2017-04-24 11:56:22 +10:00
Mukund Sivaraman
03be5a6b4e
Improve performance for delegation heavy answers and also general query performance ( #44029 )
2017-04-22 09:22:44 +05:30
Mark Andrews
af2b20ee3f
4574. [bug] Dig leaked memory with multiple +subnet options.
...
[RT #44683 ]
2017-02-14 15:52:40 +11:00
Tinderbox User
96f5064e3c
update copyright notice / whitespace
2017-01-20 23:45:34 +00:00
Evan Hunt
25a9b90369
[master] symbolic option names for dig +ednsopt
...
4555. [func] dig +ednsopt: EDNS options can now be specified by
name in addition to numeric value. [RT #44461 ]
2017-01-19 23:46:37 -08:00
Mark Andrews
e1c93a0f58
'I:exit status: <value>' should be outsied of if
2016-11-02 09:11:40 +11:00
Mark Andrews
42470b0b87
4496. [func] dig: add +idnout to control whether labels are
...
display in punycode or not. Requires idn support
to be enabled at compile time. [RT #43398 ]
2016-10-28 12:05:19 +11:00
Mark Andrews
3b6aba8dcb
4481. [func] dig: make +class, +crypto, +multiline, +rrcomments,
...
+onesoa, +qr, +ttlid, +ttlunits and -u per lookup
rather than global. [RT #42450 ]
2016-10-10 11:55:59 +11:00
Witold Krecicki
c5a80c9427
[master] Disable dig IPv4-to-IPv6 mapping system test on OpenBSD
2016-09-30 12:19:44 +02:00
Mark Andrews
df17290113
4468. [bug] Address ECS option handling issues. [RT #43191 ]
2016-09-14 08:22:15 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
dce54b9b5c
update copyright notice / whitespace
2016-06-14 23:45:25 +00:00
Mark Andrews
3635d8f910
do not overflow exit status. [RT #42643 ]
2016-06-14 13:48:39 +10:00
Evan Hunt
eb3195d211
[master] add a test for dig +subnet with various prefix lengths
2016-06-09 22:49:52 -07:00
Evan Hunt
7fa4c18451
[master] ECS family 0 handling was still broken
2016-03-23 15:00:30 -07:00
Mark Andrews
37176663e0
don't used class in grep e.g. [:space:]
2016-02-17 13:17:40 +11:00
Mukund Sivaraman
79a55d4f4d
Add option to tools to print RRs in unknown presentation format ( #41595 )
2016-02-09 15:39:02 +05:30
Evan Hunt
df9a49ee07
[master] dig/mdig could send misformatted ECS options
...
4307. [bug] "dig +subnet" and "mdig +subnet" could send
incorrectly-formatted Client Subnet options
if the prefix length was not divisble by 8.
Also fixed a memory leak in "mdig". [RT #45178 ]
2016-01-29 17:41:29 -08:00
Tinderbox User
b7f3400f3b
update copyright notice / whitespace
2016-01-28 23:45:29 +00:00
Evan Hunt
8ede7a974b
[master] fix dig=+subnet zero-length prefix
...
4303. [bug] "dig +subnet" was unable to send a prefix length of
zero, as it was incorrectly changed to 32 for v4
prefixes or 128 for v6 prefixes. In addition to
fixing this, "dig +subnet=0" has been added as a
short form for 0.0.0.0/0. The same changes have
also been made in "mdig". [RT #41553 ]
2016-01-27 19:03:54 -08:00
Curtis Blackburn
df59681bd2
[rt40109] added a test for +dscp to the digdelv tests
2015-12-21 14:13:03 -08:00
Mark Andrews
49762dffc4
4282. [func] 'dig +[no]mapped' determine whether the use of mapped
...
IPv4 addresses over IPv6 is permitted or not. The
default is +mapped. [RT #41307 ]
2015-12-19 09:47:11 +11:00
Curtis Blackburn
9effea437d
[rt41269] additional tests for dig and delv,
...
fix for --disable-ipv6 on osx,
fixes for tests with --disable-ipv6
2015-12-15 11:58:28 -08:00
Curtis Blackburn
21c6e49a77
[rt40106] add tests for dig +[no]ttlunits
2015-12-10 12:08:57 -08:00