2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

105 Commits

Author SHA1 Message Date
Rob Austein
32c7aa3dd1 1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core. 2004-06-19 02:23:36 +00:00
Mark Andrews
e6c95fe56b 1651. [bug] dig: process multiple dash options.
1650.   [bug]           dig, nslookup: flush standard out after each command.
2004-06-07 03:56:02 +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
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
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
Danny Mayer
8ef03ac274 Port needed cast to isc_uint16_t as it is a 16 bit quantity 2002-08-01 03:28:01 +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
7f20fd8ebb 1237. [bug] nslookup: "set q=type" failed. 2002-03-20 18:20:03 +00:00
Mark Andrews
da5d1cf1b1 1164. [bug] "Not Implemented" should be reported as NOTIMP. 2001-12-19 12:16:47 +00:00
Andreas Gustafsson
242bba8991 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Andreas Gustafsson
9a762177e6 style 2001-11-22 01:59:02 +00:00
Andreas Gustafsson
f1491358ff removed numerous ununsed extern variable declarations 2001-09-20 19:26:57 +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
c38b92000c 947. [bug] dns_rdata_soa_t had a badly name element "mname" which
was really the RNAME field from RFC1035.  To avoid
                        confusion and silent errors that would occur it ther
                        "origin" and "mname" elements were given their correct
                        names "mname" and "rname" respectively, the "mname"
                        element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Brian Wellington
1d78c8d7cd unused variables 2001-07-27 17:39:10 +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
36c754f274 missing space in AAAA output [RT #1051] 2001-03-16 22:13:41 +00:00
Michael Sawyer
bc223aaf8e miccing cancel_all in nslookup. 2001-03-13 01:03:43 +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
20b6f1e657 misc cleanup 2001-01-22 23:22:09 +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
e56101fa68 consolidate duplicated code. 2001-01-17 02:21:51 +00:00
Brian Wellington
427f933ece use isc_app_block instead of an ugly hack. 2001-01-17 00:48:19 +00:00
Brian Wellington
66921d6dd2 685. [bug] nslookup should always use the search list/domain
options from resolv.conf, and it (and host) should use
                        the search list items first. [RT #405, #630]
2001-01-16 23:15:55 +00:00
Andreas Gustafsson
066cb385cd don't hardcode the magic constant 41 2001-01-16 19:13:10 +00:00
Andreas Gustafsson
93988fb202 use dns_name_format() in more places 2001-01-16 18:52:14 +00:00
Andreas Gustafsson
7ddb4c86a9 breaking out the SOA fields by calling dns_rdata_totext() and then
tokenizing the text representation is sick and demented
2001-01-16 18:39:38 +00:00
Mark Andrews
be387fd057 682. [bug] nslookup diplayed SOA records incorrectly. [RT #665] 2001-01-16 07:28:11 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Michael Sawyer
fe3bcec776 Remove useless -h option (which nslookup8 didn't have anyway). 2000-12-08 18:25:54 +00:00
Michael Sawyer
cc7732e129 RT#528 fixed 2000-12-08 17:06:52 +00:00
Mark Andrews
6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Michael Sawyer
ee4429e13e 600. [bug] Reverse lookups sometimes failed in dig, etc... 2000-12-07 19:56:05 +00:00
David Lawrence
869f65bea4 made addlookup() void; its return value was not needed in any context 2000-12-06 22:38:49 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
e6d3ffb665 ISC_LINK_INIT + ISC_LIST_APPEND -> ISC_LIST_APPENDUNSAFE 2000-10-25 06:17:56 +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
8e61de2efd Move fixeddomain code so nslookup can use domain= setting
More ISC_LINK_INIT's added where needed.
2000-10-23 17:49:05 +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
7804502532 Mike learns to spell... 2000-10-12 17:09:03 +00:00
Michael Sawyer
55bf97a1b4 Fix default for packet tracing.
Add automatic in-addr lookup generation in nslookup.
2000-10-04 17:14:44 +00:00