Commit Graph
26645 Commits
Author SHA1 Message Date
Bob Halley c3e95f11e0 The bits in the last byte of a bitstring being constructed in _fromtext()
were not always shifted into the correct positions.  This would cause
an error when certain valid bitstrings, e.g. "\[xA/4].", were parsed.
1999-08-19 17:56:35 +00:00
Bob Halley 77a3409a66 addrdataset was overriding the merge flag 1999-08-19 17:50:29 +00:00
Andreas Gustafsson 27e48d2eea don't test errno if there has been no error 1999-08-19 11:18:37 +00:00
Bob Halley de0e5c4fdb add 1999-08-18 21:36:15 +00:00
Bob Halley b59b7cff7a Fix typo ("bufsiz" instead of "bufsize") 1999-08-18 19:32:46 +00:00
Andreas Gustafsson b97feea8fd bind 8 #734: linux only fills in as many entries as will fill the buffer with SIOCGIFCONF 1999-08-18 05:00:52 +00:00
Bob Halley 9d308c6236 use only one database version per query 1999-08-18 04:23:39 +00:00
Bob Halley a2ce103c23 If we can do both IPv4 and IPv6, then use an IPv6 socket for all TCP 1999-08-18 00:36:24 +00:00
Andreas Gustafsson 4033d792a8 NetBSD needs 'extern int h_errno;' 1999-08-17 05:55:55 +00:00
Bob Halley 78957c5945 add 1999-08-17 05:15:48 +00:00
Bob Halley 1cbcfd23d3 create socket with the right protocol family 1999-08-17 02:50:09 +00:00
Bob Halley af6d447524 fix bad 'if' 1999-08-17 02:11:04 +00:00
Bob Halley 3d3144b970 add hex dumping if message parsing fails 1999-08-17 01:25:36 +00:00
Bob Halley 1a638f641b fix more buglets 1999-08-17 01:21:21 +00:00
Bob Halley 27a5e02b8b fix buglets 1999-08-17 01:18:59 +00:00
Bob Halley 74c57982c1 make output more dig-like 1999-08-17 01:04:59 +00:00
Bob Halley 7732d70d2f add sdig 1999-08-17 01:04:45 +00:00
Bob Halley cd1d7a62de remove test code that was erroneously left in 1999-08-17 01:04:01 +00:00
Andreas Gustafsson 84d821c521 check for meta-queries 1999-08-16 09:46:20 +00:00
Andreas Gustafsson 07c94c0716 new function dns_rdataclass_ismeta 1999-08-16 06:45:52 +00:00
Andreas Gustafsson ebd68da027 new function dns_rdataclass_ismeta; consistent treatment of class/type NONE 1999-08-16 06:45:13 +00:00
Bob Halley ac52827835 return YXDOMAIN if dname construction fails 1999-08-12 20:27:24 +00:00
Bob Halley 70fdfcd1fa make names empty when construction fails instead of invalidating them 1999-08-12 20:26:45 +00:00
Bob Halley a7de941669 cleanup and restructure find; add DNAME support 1999-08-12 07:54:08 +00:00
Bob Halley 5787fc1ed4 view cachedb support (API change) 1999-08-12 07:53:05 +00:00
Bob Halley 6975ca36a8 lint 1999-08-12 07:52:32 +00:00
Bob Halley ea4d349e2b add dns_name_iswildcard() test 1999-08-12 07:52:09 +00:00
Bob Halley 4bf3395d14 allow DNS_DBFIND_NOWILD to be toggled 1999-08-12 07:51:50 +00:00
Bob Halley ba2a3950b8 add DNS_RDATASETATTR_ANSWERED 1999-08-12 07:50:30 +00:00
Bob Halley 599f858e51 add wildcard support 1999-08-12 07:49:58 +00:00
Bob Halley 2504b0a586 add cachedb 1999-08-12 07:49:09 +00:00
Bob Halley 5f120ce962 add dns_wildcardname constant 1999-08-12 07:48:16 +00:00
Bob Halley 593d951248 add RBTDB wild bit 1999-08-12 07:47:21 +00:00
Bob Halley 87a5360e27 foundname is no longer optional in dns_db_find(); add DNS_DBFIND_NOWILD 1999-08-12 07:46:32 +00:00
Bob Halley 739ccd81b0 foundname is no longer optional in dns_db_find() 1999-08-12 07:45:58 +00:00
Bob Halley 4529cdaeda make rdata functions static inline 1999-08-12 01:32:42 +00:00
Bob Halley 00d8179488 add dns_name_iswildcard() 1999-08-12 01:29:03 +00:00
Bob Halley b7a1d692a1 findnode() result code was still wrong. 1999-08-11 22:08:44 +00:00
Bob Halley 176f7a135e findnode() had design legacies from an older version of the RBT API. It
also failed to handle the case where it had discovered that a node didn't
exist, had unlocked and relocked the tree (into write mode), and then had
attempted to add the node and got DNS_R_EXISTS as the result.  (I.e. someone
beat us in the race to create the node.)  In this case, an error would have
been returned.  The correct behavior is to succeed (being sure to increment
the node reference count).
1999-08-11 22:06:21 +00:00
Bob Halley 81a26ce8b3 remove 1999-08-05 22:16:48 +00:00
Bob Halley 173b32c660 checkpoint: basic views, version.bind support 1999-08-05 22:14:43 +00:00
Bob Halley 143b25c07a now obsolete 1999-08-05 22:13:53 +00:00
Bob Halley 27ffc5a697 dns_master_load() is now _loadfile() 1999-08-05 22:12:38 +00:00
Bob Halley 79eec69349 define CHAOS class; put METACLASSES first so META bit is set for ANY 1999-08-05 22:11:52 +00:00
Bob Halley aeb1ccee6a allow buffer and stream loading 1999-08-05 22:10:23 +00:00
Bob Halley 43a7c2d2cd update comment 1999-08-05 22:09:51 +00:00
Bob Halley abec6ac24d add class CH 1999-08-05 22:09:23 +00:00
Bob Halley 0da08ae74c add view.h 1999-08-05 22:09:01 +00:00
Bob Halley f94f59d746 add 1999-08-05 22:08:45 +00:00
Bob Halley a8dffb6baa add view.c 1999-08-05 22:08:24 +00:00