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
033a59090c
4586. [func] dig, host and nslookup now use TCP for ANY queries.
...
[RT #44687 ]
2017-04-20 13:20:41 +10:00
Tinderbox User
0d9aa35cac
update copyright notice / whitespace
2017-03-25 23:45:38 +00:00
Evan Hunt
39eb1d0353
[master] host -A
...
4593. [func] "host -A" returns most records for a name but
omits RRSIG, NSEC and NSEC3. (Thanks to Tony Finch.)
[RT #43032 ]
2017-03-25 12:49:25 -07:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Mark Andrews
8a98ea9e94
4441. [cleanup] Alphabetize host's help output. [RT #43031 ]
2016-08-15 11:21:52 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
1c6d1ca335
update copyright notice / whitespace
2016-06-01 23:45:30 +00:00
Francis Dupont
3933e5c763
Merged rt42563 (ht.c fixes)
2016-06-01 14:49:01 +02: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
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
c12c746e3a
3972. [bug] Fix host's usage statement. [RT #37397 ]
2014-10-07 01:09:49 +11:00
Mark Andrews
905ba39e10
3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963 ]
2014-08-26 08:27:24 +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
Tinderbox User
1599ac12be
update copyright notice
2014-03-03 23:47:11 +00:00
Evan Hunt
67d01dcacb
[master] add "version" options to host/nslookup/nsupdate
...
3773. [func] "host", "nslookup" and "nsupdate" now have
options and commands to print the version
number. [RT #26057 ]
2014-03-03 09:08:04 -08: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
3d4ce9ea27
update copyright notice
2012-10-16 23:46:15 +00:00
Mark Andrews
7786d6542b
3393. [bug] 'host -C' could core dump if REFUSED was received.
...
[RT #31381 ]
2012-10-16 10:42:24 +11:00
Mark Andrews
0874abad14
3069. [cleanup] Silence warnings messages from clang static analysis.
...
[RT #20256 ]
2011-03-11 06:11:27 +00:00
Automatic Updater
b01d422daf
update copyright notice
2011-02-21 23:47:45 +00:00
Mark Andrews
c12904ec53
3035. [cleanup] Simplify by using strlcpy. [RT #22521 ]
2011-02-21 07:34:57 +00:00
Mark Andrews
cd9d825a71
remove accidental commit
2010-11-16 05:38:31 +00:00
Mark Andrews
2bd3a6e266
strncpy + array[end] = 0 -> strlcpy
2010-11-16 00:46:00 +00:00
Automatic Updater
4071d667be
update copyright notice
2010-10-19 23:47:10 +00:00
Mark Andrews
c9c2ffe729
2967. [bug] 'host -D' now turns on debugging messages earlier.
...
[RT #22361 ]
2010-10-19 02:48:17 +00:00
Francis Dupont
debd489a44
noreturn RT #20257
2009-09-29 15:06:07 +00:00
Mark Andrews
14cd8ac04c
2672. [bug] Don't enable searching in 'host' when doing reverse
...
lookups. [RT #20218 ]
2009-09-08 23:23:22 +00:00
Automatic Updater
7a272c6b0d
update copyright notice
2009-05-06 23:47:50 +00:00
Francis Dupont
d302a620e0
Fix unknown extended rcodes in dig
2009-05-06 10:16:32 +00:00
Mark Andrews
9e4b25fc3e
2275. [func] Add support to dig to perform IXFR queries over UDP.
...
[RT #17235 ]
2007-12-03 00:21:48 +00:00
Mark Andrews
2f5baf12a4
2213. [func] 'host -m'now causes memory statistics and active
...
memory to be printed at exit. [RT 17028]
2007-08-15 04:40:30 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
aaa42824d2
2169. [bug] nslookup: when reporting NXDOMAIN report the given
...
name and not the last name searched for. [RT #16763 ]
2007-04-24 07:20:45 +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
8d18fc189f
missing type
2006-05-23 04:38:28 +00:00
Mark Andrews
e22bd3c4bc
2029. [bug] host printed out the server multiple times when
...
specified on the command line. [RT #15992 ]
2006-05-23 04:37:28 +00:00
Mark Andrews
fb9395c8dd
update copyright notice
2006-03-02 23:48:50 +00:00
Mark Andrews
9a8cec4995
1995. [bug] 'host' was reporting multiple "is an alias" messages.
...
[RT #15702 ]
2006-03-02 01:45:46 +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
3d711f2f75
1916. [func] host/nslookup now continue (default)/fail on SERVFAIL.
...
[RT #15006 ]
2005-08-25 00:31:32 +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
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
b7b6b01a0d
update copyright
2005-03-16 00:55:19 +00:00
Mark Andrews
5d3083c4b5
1827. [bug] host: update usage message for '-a'. [RT #37116 ]
2005-03-15 01:49:30 +00:00
Mark Andrews
93f429295a
1791. [bug] 'host -t a' still printed out AAAA and MX records.
...
[RT #13230 ]
2005-03-14 23:36:04 +00:00
Mark Andrews
4d86cda3d7
1757. [func] host now can turn on memory debugging flags with '-m'.
2004-11-10 22:04:25 +00:00
Mark Andrews
3f79a8b6f1
1714. [bug] dig/host/nslookup were only trying the first
...
address when a nameserver was specified by name.
[RT #12286 ]
2004-09-06 01:24:44 +00:00
Mark Andrews
2a23a62524
sigchase
2004-04-13 02:54:15 +00:00
Mark Andrews
1ae75c1024
1609. [func] dig now has support to chase DNSSEC signature chains.
...
Requires -DDIG_SIGCHASE=1 to be set in STD_CDEFINES.
2004-04-13 02:39:35 +00:00
Mark Andrews
ea17e96977
1608. [func] dig and host now accept -4/-6 to select IP transport
...
to use when making queries.
2004-04-13 01:09:37 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
974f1d7b49
pass the size of the result buffer in get_reverse
2003-07-25 04:02:54 +00:00
Mark Andrews
21f1794606
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
bdf0739d6e
Restore accidentally deleted call to isc_app_start(); [RT #4699 ]
...
developer: jinmei
reviewer: marka
2002-12-11 06:31:37 +00:00
Michael Graff
eec234d7a2
don't check for result being sane before it's first set. This is
...
probably related to the removal of isc_app stuff.
2002-11-12 22:57:57 +00:00
Michael Graff
2706bea98e
pull down 3625 (code by Mark, pulldown by me)
...
Note: this also changes behavior beyond that mentioned in PR 3625
to also look up AAAA and MX records for hosts when 'host foo' is
the command line.
Also note that there will be one more commit here to fix a potential
show stopper. I'll make that change directly to the mainline.
2002-11-12 22:57:06 +00:00
Mark Andrews
b8fff4f0d7
1390. [func] host now supports ixfr.
...
developer: marka
reviewer: jinmei
2002-10-17 23:44:35 +00:00
Tatuya JINMEI 神明達哉
3ac2a99878
further BIND 8 compatiblity changes
...
- made the output and exit code with the -l option compatible with bind 8
additionally, treated host -t axfr as host "-l -t any -v".
developer: marka
reviewer: jinmei
2002-09-26 11:17:06 +00:00
Tatuya JINMEI 神明達哉
e9b85f0309
host exits with a non-zero code for erroneous results
...
(RT #3536 )
developer: marka
reviewer: jinmei
2002-09-20 06:26:10 +00:00
Danny Mayer
b31e7ab885
Modifications to have dighost.c use liblwres to parse the resolv.conf file. Updates to dig, host and nslookup to increase modularity and use more functions in dighost.c
2002-08-12 18:25:25 +00:00
Mark Andrews
ec3984e9df
1339. [func] dig, host and nslookup now use IP6.ARPA for nibble
...
lookups. Bit string lookups are no longer attempted.
2002-07-25 05:46:07 +00:00
Mark Andrews
da5d1cf1b1
1164. [bug] "Not Implemented" should be reported as NOTIMP.
2001-12-19 12:16:47 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
06a949d2ce
1145. [func] host no longer reports a NOERROR/NODATA response
...
by printing nothing. [RT #2065 ]
2001-11-29 01:21:19 +00:00
Andreas Gustafsson
db080b7310
need <isc/print.h>
2001-11-29 01:14:35 +00:00
Andreas Gustafsson
9ecb35e7d4
Rewrote code that prints the silly human-readable RR type names to
...
handle all possible RR types, and made it much smaller in the process
2001-11-29 01:08:43 +00:00
Andreas Gustafsson
acf6bcebf9
style
2001-11-22 02:18:52 +00:00
Andreas Gustafsson
cad3210bb9
969. [func] dig now supports the undocumented dig 8 feature
...
of allowing arbitrary labels, not just dotted
decimal quads, with the -x option. This can be
used to conveniently look up RFC2317 names as in
"dig -x 10.0.0.0-127". [RT #827 , #1576 , #1598 ]
2001-08-29 18:57:28 +00:00
Andreas Gustafsson
187bf10eb5
eliminated arbitrary limit on formatted rdata size in 'host' [RT #1557 ]
2001-08-27 21:31:29 +00:00
Brian Wellington
44c141f947
949. [bug] host was unable to print records larger than 512
...
bytes. [RT #1557 ]
(the limit is now 32K)
2001-08-01 16:18:56 +00:00
Brian Wellington
3806886c28
oops, dig +nssearch and host -C work again.
2001-07-28 00:55:15 +00:00
Brian Wellington
d0de20156a
Make +trace work. More cleanup.
2001-07-28 00:11:15 +00:00
Brian Wellington
0e0e575ec1
unused variables and stuff
2001-07-27 06:11:10 +00:00
Brian Wellington
46e349e515
more minor cleanup
2001-07-27 05:41:46 +00:00
Brian Wellington
f9521c63ea
minor cleanup
2001-07-27 05:26:38 +00:00
Andreas Gustafsson
05de675386
removed nonportable declaration of h_errno as h_errno is not
...
actually used in this file
2001-07-26 20:26:09 +00:00
Danny Mayer
922a15c7c0
Changes to support win32
2001-07-26 03:15:16 +00:00
Danny Mayer
7d4e4d4984
Minor bug fixes to support win32
2001-07-22 06:03:06 +00:00
Brian Wellington
aa5e0fe0fc
spelling
2001-03-14 18:08:17 +00:00
Ben Cottrell
d8dde7c9fb
Style fixes per Andreas, functionality fixes per Michael Sawyer.
...
The printgreeting() stuff is fixed once and for all by the change
to clone_lookup... I think this is the "right" way of doing it.
2001-02-15 23:44:08 +00:00
Ben Cottrell
354f4f1ab2
Fixed RT #727 and #780 .
2001-02-13 23:12:17 +00:00
Andreas Gustafsson
b4876b6ddf
simplify dig/host/nslookup code by using the _format() functions in
...
more places; fix spacing issues; make nslookup print debugging details
for all lookup results, not just those with rcode==0; add comments
2001-01-24 19:28:34 +00:00
Andreas Gustafsson
688a4c50c2
More searchlist/domain handling fixes. Dig/host/nslookup no longer
...
have the notion that there can be both a search list and a default
domain at the same time. The resolv.conf "domain" directive is now
used only if there is no "search" directive, and is treated exacly
like a one-element searchlist. The "+domain" option of dig and the
"set domain" command of nslookup are now merely ways of overriding the
resolv.conf search list. Parents of the name given in the "domain"
directive are still not searched; this is considered a feature and is
consistent with lwres, but different from the BIND 8 resolver. The
"+defname" option to "dig" is now deprecated and treated as a synonym
for "+search"
2001-01-18 05:12:44 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Michael Sawyer
cc7732e129
RT#528 fixed
2000-12-08 17:06:52 +00:00
Mark Andrews
368b37b616
dns_rdata_invalidate -> dns_rdata_reset
2000-10-31 03:22:05 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Michael Sawyer
5d20773abc
Move generation of reverse lookups (blah.in-addr.arpa, etc...) names to
...
a common place.
2000-10-23 23:13:21 +00:00
Michael Sawyer
801d49df37
From Brian's review:
...
digrc filename print length shouldn't be 132
bargc should be more than 14
Opcode 100 spelled wrong in host.c
2000-10-19 23:31:56 +00:00
Michael Sawyer
d7a2e05112
Changes which were made on the release branch when Brian and I were reviewing
...
dig's code, but never made it down to the mainline. These are fixes to some
potential bugs Brian noticed.
2000-10-19 22:49:34 +00:00
Michael Sawyer
056aaae3e2
Remove +details option
2000-09-27 00:02:02 +00:00
Michael Sawyer
97beb7237b
A couple of typos corrected
...
Improvement to host8 compatibility.
2000-09-13 00:27:27 +00:00
Andreas Gustafsson
3370b8e656
removed redundant parentheses
2000-09-13 00:12:49 +00:00
Michael Sawyer
286e74a21b
Bug #255 fixed.
...
A wonderfully inconsistent user interface feature of v8 host duplicated.
2000-09-11 21:48:11 +00:00
Andreas Gustafsson
17a28c1f02
403. [bug] host did not use the search list.
2000-08-22 17:02:49 +00:00