Mark Andrews
b1ae7a591a
987. [bug] "dig -help" didn't show "+[no]stats".
...
986. [bug] "dig +noall" failed to clear stats and command
printing.
2001-09-11 00:58:15 +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
Mark Andrews
d20b7d6bea
silence compiler warnings
2001-08-23 04:39:31 +00:00
Brian Wellington
ecc38edf79
make +trace and +nssearch work together
2001-07-29 23:23:42 +00:00
Brian Wellington
3d388146c6
if both +trace and +nssearch are specified, ignore the second one.
2001-07-28 01:41:28 +00:00
Brian Wellington
d0de20156a
Make +trace work. More cleanup.
2001-07-28 00:11:15 +00:00
Brian Wellington
637b4b4392
simplify header printing code.
2001-07-27 06:45:20 +00:00
Brian Wellington
0e0e575ec1
unused variables and stuff
2001-07-27 06:11:10 +00:00
Brian Wellington
f9521c63ea
minor cleanup
2001-07-27 05:26:38 +00:00
Brian Wellington
3dba71207f
The greeting and stats were printed in some cases when +short was used.
2001-07-18 21:03:54 +00:00
Brian Wellington
22cc4b4e0d
fix broken comment
2001-07-01 23:47:49 +00:00
Danny Mayer
f5f40ad6c4
parse_int returns isc_uint32_t, casting required
2001-06-30 04:29:25 +00:00
Brian Wellington
fed846067d
916. [bug] Specifying type ixfr to dig without specifying
...
a serial number failed in unexpected ways.
2001-06-29 06:06:02 +00:00
Andreas Gustafsson
d82fda8358
brace style
2001-06-11 18:08:16 +00:00
Andreas Gustafsson
8fbd23c0aa
823. [func] The output of "dig -h" now goes to stdout so that it
...
can easily be piped through "more". [RT #1254 ]
2001-05-08 15:56:01 +00:00
Brian Wellington
099805b4c1
remove the nonexistent namelimit option and the deprecated rrlimit option.
2001-03-28 03:09:47 +00:00
Brian Wellington
668f8d91db
795. [func] Add the +multiline option to dig.
...
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Brian Wellington
aa5e0fe0fc
spelling
2001-03-14 18:08:17 +00:00
Brian Wellington
e6743c1b25
Don't call get_address when processing "-b address". The address can't be a
...
host name, and if it's not a valid address, it would call isc_app_block()
and assert since isc_app_run() had not been called yet before calling the
resolver. This could be seen by running:
dig @localhost xbill.org -b 127.0.0.1:1111
which now exits with an error.
2001-02-17 20:27:24 +00:00
Andreas Gustafsson
1a77d17120
minor style fixes
2001-02-17 01:05:30 +00:00
Brian Wellington
f22ef00109
fix the potential buffer overflow in printgreeting() [RT #863 ]
2001-02-15 23:57:22 +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
2caff6b7df
Something that I thought was a win turned out to be a lose. I now no longer
...
even try to restore previous state when someone issues two conflicting
type options.
2001-02-14 01:46:03 +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
Andreas Gustafsson
812ed4efbb
removed pointless cast
2001-01-08 23:45:57 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Michael Sawyer
cc7732e129
RT#528 fixed
2000-12-08 17:06:52 +00:00
Michael Sawyer
789145979d
Add bounds checking to various dig options
2000-11-21 20:55:00 +00:00
Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +00:00
Brian Wellington
78d78f05d9
556. [func] The DNSSEC OK bit in the EDNS extended flags
...
is now implemented. Responses to queries without
this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Michael Sawyer
04ab4ecb27
Remove name limits and counter from dig; there's no obvious way to count
...
names out of message_parse when PRESERVE_ORDER is set.
2000-11-08 00:47:18 +00:00
Michael Sawyer
d1fb32ad95
Print the version number information with "dig" alone on the command line
2000-11-07 01:29:34 +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
Andreas Gustafsson
8ab588369b
use sizeof(), not hardcoded constant
2000-10-20 19:53:59 +00:00
Michael Sawyer
b3c93eb846
Evil bad buffer overflow bug.
2000-10-20 00:54:01 +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
7a87d1c63b
Fix places where wrong tag was used in #ifdef's
2000-10-19 21:49:49 +00:00
Andreas Gustafsson
0067b1721e
English style
2000-10-18 22:11:20 +00:00
Michael Sawyer
88aa63f566
Make option processing case sensitive.
...
Remove -w option; default xfr's to +nocomments, +noquestion. Remove wiring
around repeated comment printing, so xfr's with +comments will cause
comment headers to be printed per packet, producing same result as -w
gave.
2000-10-17 00:35:18 +00:00
Michael Sawyer
d97ea44061
Cause -m (memory debugging) option in dig to actually function.
2000-10-16 19:00:01 +00:00
Brian Wellington
e2babfac17
dig now calls isc_mem_stats() only if -m was specified, not if
...
isc_mem_debugging was set elsewhere.
2000-10-13 22:55:50 +00:00
Michael Sawyer
233514c1da
Add +besteffort option to dig (on by default) which will cause the
...
message parser to accept somewhat malformed packets.
2000-10-13 17:54:00 +00:00
Michael Sawyer
dc570b92f6
Add support for proposed ZONE and VIEW opt attributes. These are currently
...
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA. They are also not quite complete in all regards; VIEW
options are understood and ignored. ZONE options are understood and
acted upon, though some of the error cases aren't quite right.
Remove doubled isc_mem_stats in dighost.c
Update todo list.
Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Mark Andrews
a6368669a6
'-p' is already taken, -p port. Use '-w' (wire) to print out the packet.
2000-10-03 04:29:08 +00:00