Evan Hunt
884e8df7ca
copyrights
2018-05-23 09:55:41 -07:00
Evan Hunt
9d99bf0f4b
change "key" to "tsigkey" to silence "short global name" warning
...
(cherry picked from commit 0cc7aa250e )
2018-04-22 12:58:24 -07:00
Petr Menšík
2b031d1759
Remove conversion from locale to utf8 from public API
...
Emit fatal failures on locale to ACE encoding
Separate idnout support, disable it for libidn2 < 2.0
Add custom path to libidn. Leave default path for multilib support.
Allow turning off IDN input processing by dig option
Improve documentation, fix support in host
Fix configure changes to adjust help text
Use strlcpy with size guard
Improve IDN variants choosing. Fix idn2 function name.
Remove immediate idn_locale_to_ace and idn_ace_to_locale.
Signed-off-by: Petr Menšík <pemensik@redhat.com >
(cherry picked from commit 94757c1545 )
2018-03-17 13:35:23 +00:00
Tomas Hozza
56b66f01c6
Add support for libidn2
...
Added two new configure options:
--with-libidn2 - to enable IDN using GNU libidn2
idnkit, libidn and libidn2 support can not be used at the same time.
NOTE: libidn2 does not support punycode back to Unicode
characters, so support for this is missing.
Signed-off-by: Tomas Hozza <thozza@redhat.com >
Removed iconv, convert directly from locale to ACE
Fix libidn2 and idnkit origin appending
Make IDN options in help less different
Signed-off-by: Petr Menšík <pemensik@redhat.com >
(cherry picked from commit 505f673451 )
2018-03-17 13:33:42 +00:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Mark Andrews
e51c5d2e74
reorder test to silence cppcheck
2018-02-16 14:58:18 +11:00
Mark Andrews
e950558247
signed vs unsigned fixes
2018-02-16 14:18:04 +11:00
Mark Andrews
ce37f22724
more DNS_NAME_INITABSOLUTE cases
...
(cherry picked from commit e2f9dcfd86 )
2017-11-14 11:52:45 +11:00
Mark Andrews
834b5e1e7e
add L for wide
...
(cherry picked from commit 055d310e54 )
2017-10-04 20:45:00 +11:00
Mark Andrews
aae171c542
4738. [port] win32: strftime mishandles %Z. [RT #46039 ]
...
(cherry picked from commit 744061a03b )
2017-09-26 23:33:26 +10:00
Mark Andrews
5a93d3be4e
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:33:02 +10:00
Evan Hunt
7cd594b842
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
(cherry picked from commit 114f95089c )
2017-09-13 00:17:16 -07:00
Evan Hunt
2b0060b8ff
[v9_11] 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:24:44 -07:00
Evan Hunt
7dbeb5e7f0
[v9_11] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
(cherry picked from commit cdacec1dcb )
2017-08-09 00:24:16 -07:00
Mark Andrews
4162d3b36d
4668. [bug] Use localtime_r and gmtime_r for thread safety.
...
[RT #45664 ]
(cherry picked from commit 2019cf29e2 )
2017-08-03 08:45:37 +10:00
Mark Andrews
7c1c9b4dcd
4608. [func] DiG now warns about .local queries which are reserved
...
for Multicast DNS. [RT #44783 ]
(cherry picked from commit 7ef453bf43 )
2017-04-24 11:57:23 +10:00
Tinderbox User
d63ae51ba3
update copyright notice / whitespace
2017-04-20 23:46:08 +00:00
Mark Andrews
3001a1b4e6
4586. [func] dig, host and nslookup now use TCP for ANY queries.
...
[RT #44687 ]
(cherry picked from commit 033a59090c )
2017-04-20 13:24:26 +10:00
Mark Andrews
52cae869e0
4574. [bug] Dig leaked memory with multiple +subnet options.
...
[RT #44683 ]
(cherry picked from commit af2b20ee3f )
2017-04-20 10:29:25 +10:00
Evan Hunt
6552f33198
[v9_11] 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 )
2016-10-31 20:17:28 -07:00
Mark Andrews
c40906dfad
4450. [port] Provide more nuanced HSM support which better matches
...
the specific PKCS11 providers capabilities. [RT #42458 ]
(cherry picked from commit 8ee6f289d8 )
2016-08-19 08:05:47 +10:00
Evan Hunt
b83e886b30
[v9_11] silence clang warnings
...
4422. [port] Silence clang warnings in dig.c and dighost.c.
[RT #42451 ]
2016-07-21 15:54:00 -07:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
48bf87ba83
4351. [bug] 'dig +noignore' didn't work. [RT #42273 ]
2016-04-29 12:41:02 +10:00
Mukund Sivaraman
79a55d4f4d
Add option to tools to print RRs in unknown presentation format ( #41595 )
2016-02-09 15:39:02 +05:30
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
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
Evan Hunt
464c2c673b
[master] fix dig +norrcomments
...
4272. [bug] dig: the +norrcomments option didn't work with +multi.
[RT #41234 ]
2015-12-04 16:16:59 -08:00
Mark Andrews
5b1c7ef35b
4264. [bug] Check const of strchr/strrchr assignments match
...
argument's const status. [RT #41150 ]
2015-11-20 18:38:24 +11:00
Mark Andrews
48bbe9c7f2
fix opcode usage
2015-09-16 21:17:49 +10:00
Mark Andrews
b8a04d50a3
Change 3813 broke dig/host -4/-6. No CHANGES as this is has not been released
2015-08-12 12:50:15 +10:00
Mark Andrews
157bc46d2e
add '=' to +opcode description
2015-08-12 07:04:08 +10:00
Mark Andrews
80a51d24ea
set badcookie not besteffort
2015-07-21 15:15:40 +10:00
Mark Andrews
6e7f5e8ad5
4159. [cleanup] Alphabetize dig's help output. [RT #39966 ]
2015-07-08 09:20:49 +10:00
Mark Andrews
b399f4e568
4159. [cleanup] Alphabetize dig's help output. [RT #39966 ]
2015-07-08 08:49:24 +10:00
Mark Andrews
ce67023ae3
4152. [func] Implement DNS COOKIE option. This replaces the
...
experimental SIT option of BIND 9.10. The following
named.conf directives are avaliable: send-cookie,
cookie-secret, cookie-algorithm and nocookie-udp-size.
The following dig options are available:
+[no]cookie[=value] and +[no]badcookie. [RT #39928 ]
2015-07-06 09:44:24 +10:00
Evan Hunt
eb447eca88
[master] dig option cleanups
...
4132. [cleanup] dig: added +rd as a synonym for +recurse,
added +class as an unabbreviated alternative
to +cl. [RT #39686 ]
2015-06-04 08:55:32 -07:00
Mark Andrews
c7463967db
4119. [func] Allow dig to set the message opcode. [RT #39550 ]
2015-05-19 12:46:06 +10:00
Evan Hunt
fc3ed1dbda
[master] fix +split and +rrcomments with dig +short
...
4101. [bug] dig: the +split and +rrcomments options didn't
work with +short. [RT #39291 ]
2015-04-15 09:50:07 -07:00
Tinderbox User
724df78acd
update copyright notice / whitespace
2015-02-04 23:45:21 +00:00
Francis Dupont
1059bc2e42
added mdig tool
2015-02-04 14:22:32 +01:00
Mark Andrews
f0a54842b1
3994. [func] Dig now supports setting the last unassigned DNS
...
header flag bit (dig +zflag). [RT #37421 ]
2014-10-31 10:16:00 +11:00
Mark Andrews
0f5144163c
3993. [func] Dig now supports EDNS negotiation by default.
...
(dig +[no]ednsnegotiation). [RT #37604 ]
2014-10-30 23:13:12 +11:00
Mark Andrews
f274cbeaed
3992. [func] DiG can now send queries without questions
...
(dig +header-only). [RT #37599 ]
2014-10-30 11:42:02 +11:00
Mark Andrews
3867312e4c
3951. [func] Add the ability to set yet-to-be-defined EDNS flags
...
to dig (+ednsflags=#). [RT #37142 ]
2014-09-13 19:13:59 +10:00
Tinderbox User
fea81a5e0e
update copyright notice
2014-08-22 23:45:27 +00:00
Mark Andrews
3d66a979b5
3919. [bug] dig: continue to next line if a address lookup fails
...
in batch mode. [RT #36755 ]
2014-08-22 15:40:43 +10:00
Mark Andrews
bc5db10d72
[rt36611]
...
3903. [bug] Improve the accuracy of DiG's reported round trip
time. [RT 36611]
2014-07-31 07:39:59 +10:00
Mark Andrews
2064e46209
3895. [func] Add the ability to set the DSCP code point to dig.
...
[RT #36546 ]
2014-07-15 23:27:14 +10:00