Mark Andrews
d7f38d52db
use %u instead of %d
2018-02-16 16:15:08 +11:00
Mark Andrews
7c7d812140
signed vs unsigned fixes
2018-02-16 15:13:51 +11:00
Michał Kępień
1ddb1cd440
[v9_10] Prevent dig INSIST failures and hangs in some failure modes
...
4756. [bug] Interrupting dig could lead to an INSIST failure after
certain errors were encountered while querying a host
whose name resolved to more than one address. Change
4537 increased the odds of triggering this issue by
causing dig to hang indefinitely when certain error
paths were evaluated. dig now also retries TCP queries
(once) if the server gracefully closes the connection
before sending a response. [RT #42832 , #45159 ]
(cherry picked from commit b1ce9b3d54 )
2017-10-05 09:48:45 +02:00
Evan Hunt
6640e00924
[v9_10] split up main and add callback function pointers to support iOS
...
4677. [port] Split up the main function in dig to better support
the iOS app version. [RT #45508 ]
2017-08-10 22:39:18 -07:00
Tinderbox User
56a32b9f54
update copyright notice / whitespace
2017-07-21 23:47:10 +00:00
Mark Andrews
9156962f46
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
(cherry picked from commit 4bf32aa587 )
2017-07-21 12:43:55 +10:00
Mark Andrews
5fb74a2d04
4537. [bug] Handle timouts better in dig/host/nslookup. [RT #43576 ]
...
(cherry picked from commit 6089c8df71 )
2016-12-14 15:44:49 +11:00
Mark Andrews
decd3bb79c
copyright/whitespace
2016-11-02 10:43:07 +11:00
Evan Hunt
7aec46a5ef
[v9_10] 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 ]
(cherry picked from commit 42470b0b87 )
(cherry picked from commit 6552f33198 )
2016-10-31 22:54:41 -07:00
Mark Andrews
105720bad6
3993. [func] Dig now supports EDNS negotiation by default.
...
(dig +[no]ednsnegotiation). [RT #37604 ]
(cherry picked from commit 0f5144163c )
2015-05-21 11:45:56 +10:00
Mark Andrews
449b5bdc99
3951. [func] Add the ability to set yet-to-be-defined EDNS flags
...
to dig (+ednsflags=#). [RT #37142 ]
(cherry picked from commit 3867312e4c )
2015-05-21 11:22:36 +10:00
Mark Andrews
dd696539d3
3812. [func] Dig now supports sending arbitary EDNS options from
...
the command line (+ednsopt=code[:value]). [RT #35584 ]
(cherry picked from commit e560fbdf77 )
2015-05-21 11:10:51 +10:00
Mark Andrews
68e9ae1885
4119. [func] Allow dig to set the message opcode. [RT #39550 ]
...
(cherry picked from commit c7463967db )
2015-05-19 12:53:02 +10:00
Tinderbox User
3817256ab9
update copyright notice / whitespace
2015-01-20 23:47:01 +00:00
Evan Hunt
1ef4faabd5
[v9_10] clean up gcc -Wshadow warnings
...
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381 ]
2015-01-20 13:43:35 -08:00
Mark Andrews
d5f5d2d502
3917. [bug] dig, nslookup and host now continue on names that are
...
too long after applying a search list elements.
[RT #36892 ]
2014-08-21 18:06:46 +10:00
Mark Andrews
ecbce9696b
[rt36611]
...
3903. [bug] Improve the accuracy of DiG's reported round trip
time. [RT 36611]
(cherry picked from commit bc5db10d72 )
2014-07-31 07:43:57 +10:00
Mark Andrews
6685a05955
3846. [bug] "dig +notcp ixfr=<serial>" should result in a UDP
...
ixfr query. [RT #35980 ]
(cherry picked from commit 05816676bb )
2014-05-14 10:00:03 +10:00
Mark Andrews
16134801ce
3750. [experimental] Partially implement EDNS EXPIRE option as described
...
in draft-andrews-dnsext-expire-00. Retrivial of
remaining time to expiry from slave zones is supported.
EXPIRE uses an experimental option code (65002) and
is subject to change. [RT #35416 ]
2014-02-20 14:56:20 +11:00
Evan Hunt
d7b9756a21
[master] ENDS client-subnet in dig
...
3749. [func] "dig +subnet" sends an EDNS client subnet option
containing the specified address/prefix when
querying. (Thanks to Wilmer van der Gaast.)
[RT #35415 ]
2014-02-19 15:51:02 -08:00
Mark Andrews
b5f6271f4d
3744. [experimental] SIT: send and process Source Identity Tokens
...
(which are similar to DNS Cookies by Donald Eastlake)
and are designed to help clients detect off path
spoofed responses and for servers to detect legitimate
clients.
SIT use a experimental EDNS option code (65001).
SIT can be enabled via --enable-developer or
--enable-sit. It is on by default in Windows.
RRL processing as been updated to know about SIT with
legitimate clients not being rate limited. [RT #35389 ]
2014-02-19 12:53:42 +11:00
Tinderbox User
e8914b47a2
update copyright notice
2014-01-05 23:46:12 +00:00
Mark Andrews
e9649ece3b
3696. [bug] dig failed to handle AXFR style IXFR responses which
...
span multiple messages. [RT #35137 ]
2014-01-06 06:22:30 +11:00
Mark Andrews
2048955015
3667. [func] dig: add support to keep the TCP socket open between
...
successive queries (+[no]keepopen). [RT #34918 ]
2013-11-07 10:50:01 +11:00
Tinderbox User
ecc420b283
update copyright notice
2013-10-24 23:46:20 +00:00
Mark Andrews
6100b17699
3662. [bug] 'host' could die if a UPD query timed out. [RT #34870 ]
2013-10-25 10:09:33 +11:00
Tinderbox User
c37fbb91e3
update copyright notice
2012-10-18 23:46:07 +00:00
ckb
f3f76f009b
3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298 ]
2012-10-18 17:50:07 -05:00
Evan Hunt
28c2bc2026
3237. [bug] dig -6 didn't work with +trace. [RT #26906 ]
2011-12-07 17:23:28 +00:00
Automatic Updater
c8175ece69
update copyright notice
2011-03-01 23:48:07 +00:00
Evan Hunt
7cc5632595
3042. [bug] dig +trace could fail attempting to use IPv6
...
addresses on systems with only IPv4 connectivity.
[RT #23797 ]
2011-02-25 23:11:13 +00:00
Francis Dupont
debd489a44
noreturn RT #20257
2009-09-29 15:06:07 +00:00
Automatic Updater
4765fc7c3f
update copyright notice
2009-09-15 23:48:09 +00:00
Evan Hunt
d514c0dc9b
2679. [func] dig -k can now accept TSIG keys in named.conf
...
format. [RT #20031 ]
2009-09-15 03:13:44 +00:00
Tatuya JINMEI 神明達哉
7f65860391
2517. [bug] dig +trace with -4 or -6 failed when it chose a
...
nameserver address of the unsupported address.
[RT #18843 ]
2008-12-16 02:57:24 +00:00
Automatic Updater
ddad355529
update copyright notice
2008-04-03 06:09:05 +00:00
Mark Andrews
db30f4bdcb
2353. [func] Add support for Name Server ID (RFC 5001).
...
'dig +nsid' requests NSID from server.
'request-nsid yes;' causes recursive server to send
NSID requests to upstream servers. Server responds
to NSID requests with the string configured by
'server-id' option. [RT #17091 ]
2008-04-03 02:01:08 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
a9c790c7dd
2166. [bug] When running in batch mode, dig could misinterpret
...
a server address as a name to be looked up, causing
unexpected output. [RT #16743 ]
(continued)
2007-04-03 23:06:39 +00:00
Automatic Updater
77ab862dca
update copyright notice
2007-02-26 23:46:54 +00:00
Mark Andrews
5dcc67a0ff
2141. [bug] dig/host should not be setting IDN_ASCCHECK (IDN
...
equivalent of LDH checks). [RT #16609 ]
2007-02-26 00:27:09 +00:00
Mark Andrews
824cb65675
2114. [bug] dig/host/nslookup: searches for names with multiple
...
labels were failing. RT #16447 ]
2006-12-07 05:52:16 +00:00
Mark Andrews
92d2316593
2107. [bug] dighost.c: more cleanup of buffers. [RT #16499 ]
2006-12-07 01:21:04 +00:00
Mark Andrews
8af4bf165e
2091. [port] dighost.c: race condition on cleanup. [RT #16417 ]
2006-10-02 03:08:34 +00:00
Mark Andrews
26e2a07a0b
update copyright notice
2006-01-27 23:57:46 +00:00
Mark Andrews
c6d4f78152
1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
...
HMACSHA512 support. [RT #13606 ]
2006-01-27 02:35:15 +00:00
Mark Andrews
715361d0c3
1917. [func] dig now warns if 'RA' is not set in the answer when
...
'RD' was set in the query. host/nslookup skip servers
that fail to set 'RA' when 'RD' is set unless a server
is explicitly set. [RT #15005 ]
2005-08-25 00:40:50 +00:00
Mark Andrews
a268fec7f5
1915. [func] dig now has a '-q queryname' and '+showsearch' options.
...
[RT #15034 ]
2005-08-25 00:17:46 +00:00
Mark Andrews
42b37d29c7
1894. [func] dig: report the number of extra bytes still left in
...
the packet after processing all the records.
1893. [cleanup] dighost.c: move external declarations into <dig/dig.h>.
2005-07-04 03:03:21 +00:00
Mark Andrews
1fb4c62faa
remove #define ROOTNS 1
2005-06-19 22:45:22 +00:00