Commit Graph

94 Commits

Author SHA1 Message Date
Brian Wellington
5f539d5fc6 822. [bug] Sending nxrrset prerequisites would crash nsupdate.
[RT #1248]
2001-05-05 01:19:45 +00:00
Brian Wellington
f5c1382fdf Don't leak memory when failing to parse an rdata in the prereq section. 2001-04-20 21:10:36 +00:00
Andreas Gustafsson
07c9d1dee5 'failed to' -> 'could not' 2001-04-16 17:09:00 +00:00
Brian Wellington
6d88b27c89 yet another shutdown race condition 2001-04-13 01:32:14 +00:00
Brian Wellington
5d40dcc081 improved error message 2001-04-13 00:45:19 +00:00
Brian Wellington
eb9c4c217f When creating the dispatch manager, pass in the entropy manager. Otherwise
query ids are completely predictable.
2001-04-10 18:45:05 +00:00
Brian Wellington
3efd690413 801. [bug] nsupdate should treat lines beginning with ';' as
comments. [RT #1139]
2001-03-30 22:48:35 +00:00
Brian Wellington
e0b9690a0a fix format strings 2001-03-30 00:38:27 +00:00
Brian Wellington
2c9db93149 798. [bug] nsupdate should be able to reject bad input lines
and continue. [RT #1130]
2001-03-29 23:51:36 +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
734ae1f7c6 isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx. 2001-03-22 00:07:07 +00:00
Brian Wellington
70aa25d018 isc_app_block() could be called twice with no _unblock() between them. 2001-03-09 18:18:42 +00:00
Brian Wellington
abf25eafee - update get_address() match the one in dig
- remove the call to get_address when parsing the 'local' statement,
  since it can't be a hostname.
2001-02-24 21:02:38 +00:00
Andreas Gustafsson
6a3b882115 #ifndef USE_GETADDRINFO, not #ifdef USE_GETADDRINFO 2001-01-23 19:55:04 +00:00
Brian Wellington
3aac1558c3 delete name operations were broken by the change allowing ttls in delete
commands.
2001-01-22 20:00:56 +00:00
Brian Wellington
4d30acbac5 698. [bug] Aborting nsupdate with ^C would lead to several
race conditions.
2001-01-21 21:54:32 +00:00
Brian Wellington
131d5feb05 697. [bug] nsupdate was not compatible with the undocumented
BIND 8 behavior of ignoring TTLs in "update delete"
                        commands. [RT #693]
2001-01-21 19:52:06 +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
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington
2de31518c3 607. [bug] nsupdate would fail if it encountered a CNAME or
DNAME in a response to an SOA query. [RT #515]
2000-12-11 20:53:25 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington
09de21079e 601. [func] Return a non-zero exit code if an update fails
in nsupdate.
2000-12-07 20:05:29 +00:00
Brian Wellington
ad03e9f0bb The text describing errors in the specified TTL had an off by one error. 2000-12-07 18:12:07 +00:00
Andreas Gustafsson
c3d7246f5b do not print an empty line to stdout on success 2000-12-01 21:37:33 +00:00
Andreas Gustafsson
781dc04f0c "nsupdate -- -" now reads non-interactively from stdin 2000-12-01 20:47:15 +00:00
Andreas Gustafsson
ef5d6f22e2 spacing 2000-11-27 17:58:59 +00:00
Andreas Gustafsson
6417ba8440 don't print prompts when reading input from file 2000-11-27 17:56:35 +00:00
Mark Andrews
517950ae99 579. [bug] nsupdate did not take a filename to read update from.
[RT #492]
2000-11-27 00:43:33 +00:00
Brian Wellington
afb5dc3afc don't free the ipv4 dispatcher if there isn't one. 2000-11-22 21:59:50 +00:00
Brian Wellington
7ba05518c7 ipv4-less operation 2000-11-22 21:25:38 +00:00
Brian Wellington
dbc41c8290 Don't die horribly when recieving a SIGINT [RT #488]. 2000-11-22 02:54:15 +00:00
Mark Andrews
146421c528 memleak 2000-11-16 05:45:52 +00:00
Mark Andrews
9785f602c8 Add support to specify source address and port. 2000-11-16 05:40:25 +00:00
Brian Wellington
ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Brian Wellington
96a6f4c77f make memory debugging useful 2000-11-08 00:55:26 +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
Andreas Gustafsson
d01a365603 missing space between words in error message 2000-10-20 18:31:27 +00:00
Brian Wellington
b1cde6bf3a 526. [bug] nsupdate incorrectly refused to add RRs with a TTL
of 0.
2000-10-19 16:31:05 +00:00
Brian Wellington
6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Brian Wellington
7869b99dc8 505. [bug] nsupdate was printing "unknown result code". [RT #373] 2000-10-03 17:28:58 +00:00
Andreas Gustafsson
f6b507b4c9 spacing 2000-09-28 21:50:22 +00:00
Michael Sawyer
62bdc8a738 Change various fixed-length buffers to dynamic buffers which grow as
needed.
2000-09-28 21:39:26 +00:00
Brian Wellington
389ec663f2 495. [bug] nsupdate was unable to handle large records [RT #368] 2000-09-28 16:39:49 +00:00
Andreas Gustafsson
8a690d7c32 declare h_errno only on those platforms that actually need it;
it conflicts with the declaration in netdb.h on AIX
2000-09-18 23:23:12 +00:00
Michael Sawyer
843ede41fd Patch from RT 283 2000-09-18 19:16:45 +00:00
Brian Wellington
46a7e707fe 471. [bug] nsupdate didn't compile on HP/UX 10.20 2000-09-18 17:37:16 +00:00
Michael Sawyer
cd73a1c823 463. [bug] nsupdate didn't work when it had to use the second
server in resolv.conf for the soa
2000-09-15 23:30:28 +00:00
Brian Wellington
9e72582b8e Use isc_app_run() and isc_app_block() instead of a condition variable. 2000-09-01 21:34:12 +00:00
Brian Wellington
5c86531118 A lock was destroyed while held. 2000-08-31 22:33:43 +00:00