Mark Andrews
4906fe975c
Don't print ';;' comments in yaml mode.
2019-09-06 14:14:20 +10:00
Evan Hunt
3ef91562f1
add a toy name server that replies from the wrong address
2019-09-03 10:14:15 -03:00
Diego dos Santos Fronza
460d4d63ee
Added +unexpected option so dig will print replies from unexpected
...
sources.
2019-09-03 10:14:15 -03:00
Ondřej Surý
f1a887a0b9
dighost_error declaration in dig/dig.h was missing extern
2019-08-29 11:24:16 +02:00
Evan Hunt
71325852f1
add "dig +yaml" output format
2019-08-25 16:41:14 -07:00
Mark Andrews
d8798098e8
support printing AAAA in expanded form
2019-05-06 21:50:38 -07:00
Witold Krecicki
e9bf8e4798
Add some DBC checks in dighost; fix race between clear_query and send_done in dighost
2018-11-07 13:04:13 -05:00
Tony Finch
3064d3d0ef
Abolish ip6.int support in dig and mdig
2018-11-05 19:07:31 -05:00
Witold Kręcicki
428daba5ce
Do not use vector socket functions in diagnostic tools
...
Refactor diagnostic tools code to no longer use:
- isc_socket_recvv()
- isc_socket_sendtov2()
- isc_socket_sendv()
as these functions will be removed shortly.
2018-10-31 12:12:53 +01:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Evan Hunt
0cc7aa250e
change "key" to "tsigkey" to silence "short global name" warning
2018-04-20 19:51:00 -04:00
Mark Andrews
58c103e09c
dig: add the ability to set RA and TC in queries
2018-04-20 14:17:58 -07:00
Ondřej Surý
921d05ddcf
Replace usage of strsep with POSIX strtok_r()
2018-04-12 10:37:33 +02:00
Ondřej Surý
00043bfa18
Remove idnkit-1 support from dig
2018-03-17 13:41:59 +00:00
Petr Menšík
94757c1545
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>
2018-03-17 13:13:47 +00: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
Tinderbox User
72326f7701
update copyright notice / whitespace
2018-02-18 23:47:45 +00:00
Mark Andrews
b060852a7c
signed vs unsigned fixes
2018-02-16 10:19:57 +11:00
Ray Bellis
8993ecd06a
4824. [port] Add iOS hooks to dig. [RT #42011 ]
2017-11-23 16:58:12 +11:00
Michał Kępień
14afc8425b
[master] 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 ]
2017-10-05 09:42:31 +02:00
Evan Hunt
b2bf8de2a3
[master] 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:51:24 -07:00
Evan Hunt
c4cfb0b4dc
[master] remove dig +sigchase
...
4674. [func] "dig +sigchase", and related options "+topdown" and
"+trusted-keys", have been removed. Use "delv" for
queries with DNSSEC validation. [RT #42793 ]
2017-08-09 11:03:27 -07:00
Mark Andrews
4bf32aa587
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
2017-07-21 11:52:24 +10:00
Tinderbox User
f557aeef7c
update copyright notice / whitespace
2017-01-05 23:45:24 +00:00
Evan Hunt
5804332588
[master] EDNS padding and keepalive support
...
4549. [func] Added support for the EDNS TCP Keepalive option
(RFC 7828). [RT #42126 ]
4548. [func] Added support for the EDNS Padding option (RFC 7830).
[RT #42094 ]
2017-01-04 09:16:30 -08:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Mark Andrews
6089c8df71
4537. [bug] Handle timouts better in dig/host/nslookup. [RT #43576 ]
2016-12-14 15:42:43 +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
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
b91d11bfcc
copyrights / whitespace
2016-02-11 10:44:21 +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
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
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
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
Mark Andrews
c7463967db
4119. [func] Allow dig to set the message opcode. [RT #39550 ]
2015-05-19 12:46:06 +10:00
Francis Dupont
bcb68be0a8
misc fixes for VS 2015 CTP #39267
2015-04-17 02:57:02 +02:00
Tinderbox User
c110d61b17
update copyright notice / whitespace
2015-01-20 23:45:26 +00:00
Evan Hunt
11463c0ac2
[master] clean up gcc -Wshadow warnings
...
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381 ]
2015-01-20 13:29:18 -08: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
Mark Andrews
f5695ad0e1
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:05:55 +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
Mark Andrews
05816676bb
3846. [bug] "dig +notcp ixfr=<serial>" should result in a UDP
...
ixfr query. [RT #35980 ]
2014-05-14 09:59:02 +10:00
Evan Hunt
58e291cb8d
[master] setup tsig in dig/host/nslookup
...
(Change #3813 had broken some system tests.)
2014-04-18 07:27:50 -07:00
Evan Hunt
4e7973990c
[master] host recognizes /etc/resolv.conf options
...
3813. [func] "host" now recognizes the "timeout", "attempts" and
"debug" options when set in /etc/resolv.conf.
(Thanks to Adam Tkac at RedHat.) [RT #21885 ]
2014-04-17 17:04:51 -07:00