Commit Graph

116 Commits

Author SHA1 Message Date
Mark Andrews
76a4707aad 2672. [bug] Don't enable searching in 'host' when doing reverse
lookups. [RT #20218]
2009-09-08 23:29:03 +00:00
Automatic Updater
3f170a7cb7 update copyright notice 2009-05-06 23:45:59 +00:00
Francis Dupont
41605dedcb Fix unknown extended rcodes in dig 2009-05-06 10:21:00 +00:00
Automatic Updater
beb9fabda3 update copyright notice 2007-08-28 07:20:06 +00:00
Mark Andrews
e7f12d902e 2213. [func] 'host -m' now causes memory statistics and active
memory to be printed at exit. [RT 17028]
2007-08-15 04:52:27 +00:00
Mark Andrews
1fb753cebc 2169. [bug] host, nslookup: when reporting NXDOMAIN report the
given name and not the last name searched for.
                        [RT #16763]
2007-04-24 07:36:36 +00:00
Automatic Updater
a4a729b991 update copyright notice 2007-02-26 23:46:23 +00:00
Mark Andrews
c5e73c64c0 2141. [bug] dig/host should not be setting IDN_ASCCHECK (IDN
equivalent of LDH checks).  [RT #16609]
2007-02-26 00:37:03 +00:00
Mark Andrews
7c7ca945e9 2029. [bug] host printed out the server multiple times when
specified on the command line. [RT #15992]
2006-05-23 04:40:42 +00:00
Mark Andrews
1adea826d0 update copyright notice 2006-03-02 23:48:49 +00:00
Mark Andrews
c4f3ffc491 1995. [bug] 'host' was reporting multiple "is an alias" messages.
[RT #15702]
2006-03-02 01:50:15 +00:00
Mark Andrews
b8f09dec6c 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:43:26 +00:00
Mark Andrews
783db10c34 1916. [func] host/nslookup now continue (default)/fail on SERVFAIL.
[RT #15006]
2005-08-25 00:33:36 +00:00
Mark Andrews
a5b6bcc58f 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:11:00 +00:00
Rob Austein
372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews
04aed74c85 update copyright 2005-03-16 00:56:29 +00:00
Mark Andrews
6518824e1a 1827. [bug] host: update usage message for '-a'. [RT #37116] 2005-03-15 01:48:43 +00:00
Mark Andrews
8810438125 1791. [bug] 'host -t a' still printed out AAAA and MX records.
[RT #13230]
2005-03-14 23:36:37 +00:00
Mark Andrews
14720abb0f 1757. [func] host now can turn on memory debugging flags with '-m'. 2004-11-10 22:04:32 +00:00
Mark Andrews
4a381a30fb 1714. [bug] dig/host/nslookup were only trying the first
address when a nameserver was specified by name.
                        [RT #12286]
2004-09-06 01:32:30 +00:00
Mark Andrews
d76583dcde 1609. [func] dig now has support to chase DNSSEC signature chains.
Requires -DDIG_SIGCHASE=1 to be set in STD_CDEFINES.
2004-04-13 03:01:28 +00:00
Mark Andrews
8420fe1554 1608. [func] dig and host now accept -4/-6 to select IP transport
to use when making queries.
2004-04-13 01:30:33 +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