Commit graph

88 commits

Author SHA1 Message Date
Mark Andrews
a09e55f624 update copyrights 2004-03-06 10:22:54 +00:00
Mark Andrews
25a60b1d80 sync with HEAD 2003-10-15 05:32:25 +00:00
Mark Andrews
26fbc6cb34 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-09-02 01:49:48 +00:00
Mark Andrews
c7dc6c1d24 1500. [bug] host failed to lookup MX records. Also look up
AAAA records.
2003-08-25 01:51:13 +00:00
Mark Andrews
3ba8b22c72 1390. [func] host now supports ixfr. 2003-08-22 04:02:26 +00:00
Mark Andrews
8bc9be4eb9 pullup:
host exits with a non-zero code for erroneous results
2003-08-22 03:19:45 +00:00
Mark Andrews
806df27930 1145. [func] "host" no longer reports a NOERROR/NODATA response
by printing nothing. [RT #2065]
2003-08-08 06:20:20 +00:00
Mark Andrews
da204aa8be 1496. [protocol] dig, nslookup and host now perform nibble lookups
under IP6.ARPA, use -i for IP6.INT (dig and host).
                        lwres now uses IP6.ARPA.
2003-07-25 04:36:46 +00:00
Mark Andrews
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
aa0064c141 1384. [bug] host was incompatible with BIND 8 in its exit code and
in the output with the -l option.  [RT #3536]
2003-05-12 05:17:32 +00:00
Mark Andrews
73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Andreas Gustafsson
fff1dbdf55 pullup:
1166.   [bug]           "Not Implemented" should be reported as NOTIMP,
                        not NOTIMPL. [RT #2281]
2002-01-23 17:57:51 +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
Andreas Gustafsson
5b7f324879 removed unused extern variable declarations 2000-08-22 16:44:46 +00:00
Brian Wellington
771218f9ca when doing an ipv6 reverse lookup, set the query type to PTR 2000-08-14 19:17:42 +00:00
Brian Wellington
6d3f954c57 388. [func] host can now do reverse ipv6 lookups. 2000-08-14 19:11:05 +00:00
Michael Sawyer
19c8df90f1 Support yet another strange set of nslookup options.
nslookup - nameserver         nslookup -nameserver
are both listed in the old man page.  Both now are supported.
2000-08-03 17:43:06 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Michael Sawyer
68f0d29d61 Fix a minor race condition in SIGINT handling
Allow dig to used name key files
Allow SIGINT in nslookup
2000-07-19 17:52:27 +00:00
Michael Sawyer
aa6054ec74 Clean up type and class code. (No more ugly istype() and isclass() functions)
Minor changes to timeout handling code.
Don't preload batch file.
2000-07-18 01:28:20 +00:00
Michael Sawyer
8cd54a7461 Lots of changes to the shutdown code. Get rid of the annoying "just exit"
method of shutting down.
Known bug: SIGINT while doing batch mode causes assertion.
2000-07-14 17:57:27 +00:00
Michael Sawyer
e715e01178 More code duplication removal and general cleanup
Slight change in +nssearch output formatting
2000-07-14 16:35:30 +00:00
Michael Sawyer
8f56f93547 Clean up duplicate code in host.c
Fix a socket cleanup problem which, in some isolated cases, prevented
correct shutdown.
Remove +aa option completely.
2000-07-13 21:01:00 +00:00