Andreas Gustafsson
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +00:00
Mark Andrews
4e400cb7a2
954. [bug] dig, host, nslookup: AXFR / IXFR are inherently
...
non-recursive, do not set RD. [RT #1575 ]
2001-08-06 05:50:20 +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
ecc38edf79
make +trace and +nssearch work together
2001-07-29 23:23:42 +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
57bccaacd0
cleanup
2001-07-27 22:07:10 +00:00
Brian Wellington
0e0e575ec1
unused variables and stuff
2001-07-27 06:11:10 +00:00
Brian Wellington
f3f143f249
simplify TSIG key loading
2001-07-27 05:52:45 +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
Danny Mayer
922a15c7c0
Changes to support win32
2001-07-26 03:15:16 +00:00
Brian Wellington
a81f09d395
oops, host does look at the 'bytes' field. Pass sevent->n, which should be
...
correct.
2001-07-22 18:09:46 +00:00
Brian Wellington
cfbf09786e
The received() function doesn't look at the 'bytes' parameter when doing
...
an zone transfer, so just pass 0. [RT #1524 ]
2001-07-22 18:06:40 +00:00
Danny Mayer
7d4e4d4984
Minor bug fixes to support win32
2001-07-22 06:03:06 +00:00
Andreas Gustafsson
b233a7b9bb
include <isc/netdb.h>, not <netdb.h>, as the latter one
...
may not exist on all platform
2001-07-09 22:02:15 +00:00
Danny Mayer
90947ef585
isc_buffer_putuint16 requires the second arguement to be isc_uint16_t, casting required
2001-06-30 04:43:47 +00:00
Andreas Gustafsson
ea4dc97575
declare launch_next_query() before calling it
2001-06-15 01:26:14 +00:00
Brian Wellington
34d5676aac
903. [bug] dig should not crash when receiving a tcp packet
...
of length 0.
2001-06-14 21:40:02 +00:00
Andreas Gustafsson
41626c0997
898. [bug] "dig" failed to set a nonzero exit status
...
on UDP query timeout. [RT #1323 ]
2001-06-11 18:20:43 +00:00
Andreas Gustafsson
d82fda8358
brace style
2001-06-11 18:08:16 +00:00
Andreas Gustafsson
33d4937a6e
actually initialize the uninitialized variable instead of
...
initializing another variable twice
2001-04-26 17:20:07 +00:00
Brian Wellington
31628370cc
uninitialized variables [RT #1188 ]
2001-04-26 05:27:18 +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
734ae1f7c6
isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx.
2001-03-22 00:07:07 +00:00
Andreas Gustafsson
21f2b02a04
80 columns
2001-03-14 23:13:57 +00:00
Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington
3bb043a8b8
753. [bug] dig, host, and nslookup would fail to contact a
...
remote server if getaddrinfo() returned an IPv6
address on a system that doesn't support IPv6.
2001-02-24 20:53:26 +00:00
Andreas Gustafsson
1a77d17120
minor style fixes
2001-02-17 01:05:30 +00:00
Andreas Gustafsson
01254cbbd4
eliminate compiler warning
2001-02-17 00:41:03 +00:00
Brian Wellington
ede71ac5d2
fix suspicious (yet correct) use of strncat() in get_address() [RT #863 ]
2001-02-16 00:04:18 +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
4b3e2a344f
#ifdef in last change should have been #ifndef
2001-01-22 22:38:21 +00:00
Brian Wellington
703e1c0bb6
692. [bug] Deal with systems that have getaddrinfo() but not
...
gai_strerror(). [RT #679 ]
2001-01-18 22:21:31 +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
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
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
d405a8134b
spacing
2001-01-08 23:50:34 +00:00
Andreas Gustafsson
10cd4cf39c
several dynamic memory allocations used the size of the wrong structure
...
(which coincidentally had the same size as the right one)
2001-01-08 23:44:09 +00:00
Brian Wellington
93a6dd9d38
copy the origin in clone_lookup, not the truncation recovery code.
2001-01-08 23:40:29 +00:00
Brian Wellington
c9629cce66
+defname should not be the default.
2001-01-08 23:38:37 +00:00
Brian Wellington
9b0e404e5f
666. [bug] If a request is longer than 512 bytes, send it using
...
TCP.
2001-01-08 20:50:04 +00:00
Brian Wellington
a89b2f024c
grammar
2001-01-08 19:50:32 +00:00
Michael Sawyer
3b5102fc01
654. [bug] Origin was being forgotten in TCP retries in dig.
...
[RT574]
653. [bug] +defname option in dig was reversed in sense. [RT549]
2001-01-04 18:19:18 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Andreas Gustafsson
565ea7e0e7
array sizes in function argument types are meaningless
...
and should be avoided
2000-12-11 03:28:52 +00:00
Michael Sawyer
8fa78d9ad5
CHANGES entry
...
typo fix.
2000-12-08 17:50:47 +00:00