Mark Andrews
1fc4793844
1879. [func] Added framework for handling multiple EDNS versions.
...
1878. [func] dig can now specify the EDNS version when making
a query.
2005-06-07 00:16:01 +00:00
Tatuya JINMEI 神明達哉
5597be9bb8
1813. [func] Restructured the data locking framework using
...
architecture dependent atomic operations (when
available), improving response performance on
multi-processor machines significantly.
x86, x86_64, alpha, and sparc64 are currently
supported.
(RT #13505 )
2005-06-04 05:32:50 +00:00
Mark Andrews
c5223c9cb7
1862. [func] Add additional zone data constancy checks.
...
named-checkzone has extended checking of NS, MX and
SRV record and the hosts they reference.
named has extended post zone load checks.
New zone options: check-mx and integrity-check.
[RT #4940 ]
2005-05-19 04:59:05 +00:00
Mark Andrews
69fe9aaafd
update copyright notice
2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
9f069b2771
update copyright notice
2005-03-17 03:56:12 +00:00
Mark Andrews
8a713ca49d
1807. [bug] When forwarding (forward only) set the active domain
...
from the forward zone name. [RT #13526 ]
2005-03-16 03:50:47 +00:00
Mark Andrews
b7b6b01a0d
update copyright
2005-03-16 00:55:19 +00:00
Mark Andrews
e50b75e36c
1804. [bug] Ensure that if we are queried for glue that it fits
...
in the additional section or TC is set to tell the
client to retry using TCP. [RT #10114 ]
2005-03-15 01:29:10 +00:00
Mark Andrews
408767b505
update copyright notice
2005-03-06 15:30:37 +00:00
Mark Andrews
c941e32d22
1819. [bug] The validator needed to check both the algorithm and
...
digest types of the DS to determine if it could be
used to introduce a secure zone. [RT #13593 ]
2005-03-04 03:53:22 +00:00
Mark Andrews
39c7fc7e00
1811. [func] Preserve the case of domain names in rdata during
...
zone transfers. [RT #13547 ]
2005-03-04 02:56:21 +00:00
Mark Andrews
4c0903254b
typo in comment
2005-02-17 05:49:01 +00:00
Mark Andrews
08097713a4
update copyright notice
2005-02-11 00:01:58 +00:00
Mark Andrews
3aca8e5bf3
1758. [func] Don't send notify messages to self. [RT #12933 ]
2005-02-10 05:53:43 +00:00
Mark Andrews
07b9b1c44e
update copyright notice
2005-02-07 23:57:02 +00:00
Mark Andrews
4296c5480d
1801. [func] Report differences between hints and real NS rrset
...
and associated address records.
2005-02-07 00:53:29 +00:00
Mark Andrews
ebf264ea10
update copyright
2005-01-17 23:58:33 +00:00
Mark Andrews
e89e09eda8
update copyrights
2005-01-17 04:11:34 +00:00
Mark Andrews
4844ed026a
1798. [func] The server syntax has been extended to support a
...
range of servers. [RT #11132 ]
2005-01-17 00:46:05 +00:00
Mark Andrews
7502c66006
1796. [func] "rndc freeze/thaw" now freezes/thaws all zones.
2005-01-14 03:28:09 +00:00
Mark Andrews
48f929d315
1792. [func] New zone option "notify-delay". Specify a minimum
...
delay between sets of NOTIFY messages.
2005-01-11 23:10:06 +00:00
Mark Andrews
2f4ffd7f55
update copyrights
2005-01-10 23:43:27 +00:00
Mark Andrews
508f61f8d6
1794. [func] Named and named-checkzone can now both check for
...
non-terminal wildcard records.
2005-01-09 23:40:04 +00:00
Mark Andrews
0c865fa57d
update copyright notice
2004-12-23 00:13:17 +00:00
Tatuya JINMEI 神明達哉
1ba466b68e
new copyright for new files
2004-12-21 10:54:12 +00:00
Tatuya JINMEI 神明達哉
d0eb2cc33c
1526. [func] Implemented "additional section caching (or acache)",
...
an internal cache framework for additional section
content to improve response performance. Several
configuration options were provided to control the
behavior.
2004-12-21 10:45:20 +00:00
Mark Andrews
494576ce20
1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
...
allow parallel make to succeed.
2004-12-09 01:41:25 +00:00
Mark Andrews
e743a2b3b7
1753. [bug] Don't serve a slave zone which has no NS records.
...
[RT #12894 ]
2004-10-26 02:01:19 +00:00
Mark Andrews
073bd4c4bc
1739. [bug] dns_rbt_deletetree() could incorrectly return
...
ISC_R_QUOTA. [RT #12695 ]
1738. [bug] Enable overrun checking by default. [RT #12695 ]
2004-10-11 05:49:29 +00:00
Mark Andrews
a9977c0fda
bad descriptions s/dns_label_countlabels/dns_name_countlabels/
2004-09-08 00:26:14 +00:00
Mark Andrews
d6fe7ba949
1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
...
for conformance to the name space convention. Binary
backward compatibility to the old function name is
provided. [RT #12376 ]
2004-09-01 05:13:06 +00:00
Mark Andrews
2597c68ffe
improve dns_name_getlabelsequence() description.
2004-08-10 00:35:01 +00:00
Mark Andrews
1a6204b6f2
1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
...
contained gratuitous semicolons. [RT #11707 ]
2004-07-22 00:09:27 +00:00
Mark Andrews
6fac7ff1f9
1606. [bug] DVL insecurity proof was failing.
...
1605. [func] New dns_db_find() option DNS_DBFIND_COVERINGNSEC.
2004-05-14 04:45:58 +00:00
Mark Andrews
8d414d1559
1600. [bug] Duplicate zone pre-load checks were not case
...
insensitive.
1599. [bug] Fix memory leak on error path when checking named.conf.
1598. [func] Specify that certain parts of the namespace must
be secure (dnssec-must-be-secure).
2004-04-15 23:40:27 +00:00
Mark Andrews
3b1fce680f
1595. [func] New notify type 'master-only'. Enable notify for
...
master zones only.
2004-03-30 02:13:45 +00:00
Mark Andrews
c5cde9d5a7
1593. [bug] rndc should return "unknown command" to unknown
...
commands. [RT# 10642]
2004-03-22 01:46:01 +00:00
Mark Andrews
36fa8f333a
Update description: ISC_R_CONTINUE -> DNS_R_CONTINUE
2004-03-19 04:50:20 +00:00
Mark Andrews
1676408640
pullup silence compiler fixes
...
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
50105afc55
1589. [func] DNSSEC lookaside validation.
...
enable-dnssec -> dnssec-enable
2004-03-10 02:19:58 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
a03848252f
1580. [bug] Zone destuction on final detach takes a long time.
...
[RT #3746 ]
1579. [bug] Multiple task managers could not be created.
2004-03-04 06:56:41 +00:00
Mark Andrews
d5ad558234
1540. [bug] "rndc reload <dynamiczone>" was silently accepted.
...
[RT #8934 ]
2004-03-02 02:37:11 +00:00
Mark Andrews
2047977ce2
1586. [func] "check-names" is now implemented.
2004-02-27 20:41:51 +00:00
Mark Andrews
89783da064
1581. [func] Disable DNSSEC support by default. To enable
...
DNSSEC specify "enable-dnssec yes;" in named.conf.
2004-02-17 03:40:23 +00:00
Mark Andrews
26cca757be
CD is state is returned to querier.
2004-01-21 14:13:51 +00:00
Mark Andrews
35541328a8
1558. [func] New DNSSEC 'disable-algorithms'. Support entry into
...
child zones for which we don't have a supported
algorithm. Such child zones are treated as unsigned.
1557. [func] Implement missing DNSSEC tests for
* NOQNAME proof with wildcard answers.
* NOWILDARD proof with NXDOMAIN.
Cache and return NOQNAME with wildcard answers.
2004-01-14 02:06:51 +00:00
Mark Andrews
61fb42c4ef
1555. [func] 'rrset-order cyclic' now longer has a random starting
...
point. [RT #7572 ]
2004-01-12 04:19:42 +00:00
Mark Andrews
d0aebc5a55
1549. [func] named-checkzone can now write out the zone contents
...
in a easily parsable format (-D and -o).
2004-01-07 05:27:17 +00:00
Mark Andrews
185fd22738
1541. [func] NSEC now uses new bitmap format.
2003-12-13 04:20:44 +00:00
Tatuya JINMEI 神明達哉
e407562a75
1528. [cleanup] Simplify some dns_name_ functions based on the
...
deprecation of bitstring labels.
2003-10-25 00:31:12 +00:00
Mark Andrews
fcb54ce0a4
whitespace / layout
2003-10-17 03:46:46 +00:00
Mark Andrews
8d42bb315c
1522. [bug] dns_db_findnode() relax the requirements on 'name'.
...
[RT# 9286]
2003-10-03 03:12:35 +00:00
Mark Andrews
93d6dfaf66
1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY.
2003-09-30 06:00:40 +00:00
Tatuya JINMEI 神明達哉
600cbd1fce
1515. [func] Allow transfer source to be set in a server statement.
...
[RT #6496 ]
implemented by marka, reviewed and documented by jinmei.
Notes:
lib/dns/zone.c had to be modified manually.
ARM html files were not regenerated (yet).
2003-09-25 18:16:50 +00:00
Mark Andrews
f4fb3dc516
remove extaneous semicolon
2003-09-19 14:35:03 +00:00
Mark Andrews
68a918e038
rootexlude -> rootexclude
...
free and initialise rootdelonly & rootexclude
buy -> by
2003-09-19 13:17:21 +00:00
Mark Andrews
0b1da8124c
1510. [func] New view option "root-delegation-only". Apply
...
delegation-only check to all TLDs and root.
Note there are some TLDs that are NOT delegation
only (e.g. DE and MUSEUM) these can be excluded
from the checks buy using exclude.
root-delegation-only exclude { "DE"; "MUSEUM"; };
2003-09-19 12:39:49 +00:00
Mark Andrews
4607e7a9b8
1504. [func] New zone type "delegation-only".
2003-09-17 05:24:43 +00:00
Mark Andrews
57443f34ba
remove redundant check [RT #8539 ]
2003-07-30 00:54:27 +00:00
Mark Andrews
1e107b3d7b
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 02:22:26 +00:00
Mark Andrews
182a34004c
1463. [bug] dns_rdata_from{wire,struct}() failed to catch bad
...
NXT bit maps. [RT #5577 ]
2003-04-17 03:43:35 +00:00
Mark Andrews
817314313f
missing #include's
2003-04-10 02:06:51 +00:00
Mark Andrews
8b5de97014
1448. [bug] Handle empty wildcards labels.
...
developer: marka
reviewer: explorer
2003-02-27 00:19:04 +00:00
Mark Andrews
80b782f356
1447. [bug] We were casting (unsigned int) to and from (void *).
...
rdataset->private4 is now rdataset->privateuint4
to reflect a type change.
developer: marka
reviewer: explorer
2003-02-26 23:52:30 +00:00
Mark Andrews
476386968b
1446. [func] Implemented undocumented alternate transfer sources
...
from BIND 8. See use-alt-transfer-source,
alt-transfer-source-v4 and alt-transfer-source-v6.
SECURITY: use-alt-transfer-source is ENABLED unless
you are using views. This may caues a security risk
resulting in accidental disclosure of wrong zone
content if the master supplying different source
content based on IP address. If you are not certian
ISC recommends setting use-alt-transfer-source no;
developer: marka
reviewer: explorer
2003-02-26 23:29:00 +00:00
Mark Andrews
53cf671865
1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
...
been replaced with DNS_ADBFIND_STARTATZONE which
causes the search to start using the closest zone.
1444. [func] dns_view_findzonecut2() allows you to specify if the
cache should be searched for zonecuts.
developer: marka
reviewer: explorer
2003-02-26 22:54:29 +00:00
Mark Andrews
b312748a11
1442. [func] New fuctions for manipulating port lists:
...
dns_portlist_create(), dns_portlist_add(),
dns_portlist_remove(), dns_portlist_match(),
dns_portlist_attach() and dns_portlist_detach().
1441. [func] It is now possible to tell dig to bind to a specific
source port.
1440. [func] It is now possible to tell named to avoid using
certian source ports (avoid-v4-udp-ports,
avoid-v6-udp-ports).
developer: marka
reviewer: explorer
2003-02-26 05:05:16 +00:00
Mark Andrews
c3ea698877
1436. [func] dns_zonemgr_resumexfrs() can be used to restart
...
stalled transfers.
1435. [bug] zmgr_resume_xfrs() was being called read locked
rather than write locked. zmgr_resume_xfrs()
was not being called if the zone was being
shutdown.
1434. [bug] "rndc reconfig" failed to initiate the initial
zone transfer of new slave zones.
developer: marka
reviewer: explorer
2003-02-26 03:45:59 +00:00
Mark Andrews
e2fb08b85d
1432. [func] The advertised EDNS UDP buffer size can now be set
...
via named.conf (edns-udp-size).
developer: marka
reviewer: explorer
2003-02-26 02:04:00 +00:00
Mark Andrews
71dfe8bb7a
spelling
2003-02-26 01:21:09 +00:00
Mark Andrews
b587e1d83f
spelling
2003-02-07 01:13:13 +00:00
Mark Andrews
a1301ef891
undo (wrong branch)
2003-02-04 06:10:09 +00:00
Mark Andrews
ab4bec8504
checkpoint
2003-02-04 05:44:32 +00:00
Mark Andrews
421e4cf66e
1416. [bug] Empty node should return NOERROR NODATA, not NXDOMAIN.
...
[RT #4715 ]
developer: marka
reviewer: explorer
2003-01-18 03:18:31 +00:00
Mark Andrews
b0c15bd979
1415. [func] DS TTL now derived from NS ttl. NXT TTL now derived
...
from SOA MINIMUM.
1414. [func] Support for KSK flag.
2003-01-18 02:40:59 +00:00
Mark Andrews
0ffaee887f
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
c86eed4bde
1410. [func] handle records that live in the parent zone, e.g. DS.
...
developer: marka
reviewer: explorer
2003-01-14 00:28:50 +00:00
Mark Andrews
3c2127744f
update comment
2003-01-10 02:43:56 +00:00
Mark Andrews
6874dcf6a0
style
2002-12-31 05:40:15 +00:00
Mark Andrews
49a940dc68
1402. [cleanup] A6 has been moved to experimental and is no longer
...
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Michael Graff
e903df2f01
merge 4319
2002-11-12 23:58:14 +00:00
Michael Graff
6434457b0b
merge 4090
2002-11-12 23:24:45 +00:00
Mark Andrews
aa39170da8
1394. [func] It is now possible to check if a particular element is
...
in a acl. Remove duplicate entries from the localnets
acl.
1393. [port] Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
is not available in the kernel to prevent accidently
listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews
75ace6601e
1379. [func] 'rndc stats' now reports tcp and recursion quota
...
states.
1378. [func] Improved positive feedback for 'rndc {reload|refresh}.
1377. [func] dns_zone_load{new}() now reports if the zone was
loaded, queued for loading to up to date.
1376. [func] New function dns_zone_logc() to log to specified
category.
2002-09-10 02:23:46 +00:00
Tatuya JINMEI 神明達哉
e992af4209
fixed a bug that named crashes with an assertion failure on exit when sharing
...
the same port for listening and querying, and changing listening addresses
several times. [RT# 3509]
additionally,
+ limited the canceled socket tasks in dispatch.c
+ made dns_dispatch_changeattributes() care about the NOLISTEN mask
+ described side effects of dns_dispatch_changeattributes() in its
description comment
2002-09-04 02:26:13 +00:00
Mark Andrews
b6309ed962
developer: jinmei
...
reviewer: marka
1368. [func] remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews
5bd76af084
1358. [func] log the reason for rejecting a server when resolving
...
queries.
2002-08-09 06:12:50 +00:00
Mark Andrews
4c342614f8
1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME.
2002-08-06 01:50:28 +00:00
Mark Andrews
87f4715d6c
1344. [func] Log if the serial number on the master has gone backwards.
...
If you have multiple machines specified in the masters
clause you may want to set 'multi-master yes;' to suppress
this warning.
2002-07-29 06:58:46 +00:00
Mark Andrews
f0471ca4b7
1336. [func] Nibble lookups under IP6.ARPA are now supported by
...
dns_byaddr_create(). dns_byaddr_createptrname() is
deprecated, use dns_byaddr_createptrname2() instead.
2002-07-24 06:42:32 +00:00
Mark Andrews
c54c1eaf26
1251. [func] Generate DNSSEC wildcard proofs.
2002-07-19 03:50:42 +00:00
Mark Andrews
ff30cdeb78
The validator didn't handle missing DS records correctly.
2002-07-19 03:29:15 +00:00
Mark Andrews
4d9f3f00d9
1249. [func] named-checkzone will now check if nameservers that
...
appear to be IP addresses. Available modes "fail",
"warn" (default) and "ignore" the results of the
check.
2002-07-19 02:34:58 +00:00
Mark Andrews
d196b45738
1248. [bug] The validator could incorrectly verify an invalid
...
negative proof.
2002-07-15 03:27:44 +00:00
Mark Andrews
de49761421
1330. [bug] 'rndc stop' failed to cause zones to be flushed
...
sometimes. [RT #3157 ]
2002-06-19 07:14:48 +00:00
Mark Andrews
0b09763c35
1328. [func] DS (delegation signer) support.
2002-06-17 04:01:37 +00:00
Mark Andrews
7d389c324c
1324. [func] New function: dns_zone_name().
2002-06-13 07:05:47 +00:00
Mark Andrews
c8aa2c8311
1204. [bug] The RTT estimate on unused servers was not aged.
...
[RT #2569 ]
2002-05-27 06:30:25 +00:00
Mark Andrews
b9efcf0a37
1297. [func] You can now create your own customised printing
...
styles: dns_master_stylecreate() and
dns_master_styledestroy().
2002-05-21 06:12:45 +00:00
Mark Andrews
c4a9ce445c
1274. [func] preferred-glue option from BIND 8.3.
2002-04-26 00:40:37 +00:00
Mark Andrews
7791dd06ea
1242. [bug] named-checkzone failed if a journal existed. [RT #2657 ]
2002-04-02 06:54:07 +00:00
Brian Wellington
4b171ebd70
1229. [bug] named would crash if it received a TSIG signed
...
query as part of an AXFR response. [RT #2570 ]
2002-03-14 18:34:48 +00:00
Brian Wellington
6585d8782b
the region passed to dns_name_fromregion() can be const.
2002-03-14 00:36:07 +00:00
Mark Andrews
603d1d1e20
1225. [func] dns_message_setopt() no longer requires that
...
dns_message_renderbegin() to have been called.
2002-03-11 01:59:16 +00:00
Brian Wellington
231ffa6c85
add a new result code so that parsing a bad KEY record doesn't result in
...
"unknown class/type".
2002-03-08 01:38:57 +00:00
Mark Andrews
2dd99c098c
1234. [bug] 'rrset-order' and 'sortlist' should be additive
...
not exclusive.
1223. [func] 'rrset-order' partially works 'cyclic' and 'random'
are supported.
2002-03-07 13:46:41 +00:00
Brian Wellington
df5e0316a7
- add the missing typedef for dns_order_t
...
- change the order of parameters to dns_order_create() for consistency
- add multiple inclusion protection to order.h
- fix a couple of typos
2002-03-07 07:48:48 +00:00
Mark Andrews
f4ea263511
rrset-order support.
2002-03-07 06:29:37 +00:00
Brian Wellington
011dc51eee
dns_master_loadlexer[inc], to load master files from existing lexers
2002-02-21 00:45:11 +00:00
Brian Wellington
8cf24d101a
add dns_rdataslab_tordataset()
2002-02-20 22:57:13 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784
There are four "i":s in "initialize"
2002-02-20 01:45:15 +00:00
Brian Wellington
8d87d1d81c
DNS_R_NOMEM -> ISC_R_NOMEMORY
2002-02-19 23:46:32 +00:00
Andreas Gustafsson
2d6ff29a07
spelling
2002-02-19 22:58:29 +00:00
Mark Andrews
23cb957a81
1201. [bug] Require that if 'callbacks' is passed to
...
dns_rdata_fromtext(), callbacks->error and
callbacks->warn are initalised.
2002-02-12 03:45:54 +00:00
Mark Andrews
c73c1c33ec
1193. [bug] dig +besteffort parsing didn't handle packet
...
truncation. dns_message_parse() has new flag
DNS_MESSAGE_IGNORETRUNCATION.
2002-02-12 02:10:33 +00:00
Brian Wellington
b6279d0b4b
Don't freeze an already frozen zone.
2002-01-24 09:58:42 +00:00
Brian Wellington
b2ca6fd3a8
#1187 was both unclean and broken. Fix it and clean it up.
2002-01-23 08:46:40 +00:00
Mark Andrews
7e715a0fc5
alignment
2002-01-23 03:42:23 +00:00
Andreas Gustafsson
b6e20238b6
Fix RT #2309 differently, allowing rather than rejecting empty
...
also-notify clauses
2002-01-23 02:03:05 +00:00
Brian Wellington
cde7dfea4c
1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
...
[RT #2394 ]
Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal. This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic. "unfreeze" re-enables dynamic
updates to a zone.
So, instead of the old:
rndc stop
edit master file
remove journal
restart server
you can now do:
rndc freeze zone
edit master file
rndc reload zone
rndc unfreeze zone
which doesn't require stopping the server.
About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Andreas Gustafsson
915c16e8aa
typo in comment
2002-01-22 21:52:32 +00:00
Brian Wellington
84185d19c7
1187. [bug] named was incorrectly returning DNSSEC records
...
in negative responses when the DO bit was not set.
2002-01-22 09:07:30 +00:00
Brian Wellington
a5c077e40c
1181. [func] Add the "key-directory" configuration statement,
...
which allows the server to look for online signing
keys in alternate directories.
2002-01-21 11:00:25 +00:00
Mark Andrews
e1c2a8b9c1
1178. [func] Follow and cache (if appropriate) A6 and other
...
data chains to completion in the additional section.
2002-01-17 00:16:30 +00:00
Mark Andrews
5af6873693
tag slave zones when loading
2001-12-11 20:52:41 +00:00
Mark Andrews
ff1b064f5e
1159. [bug] MD and MF are not permitted to be loaded by RFC1123.
2001-12-11 20:37:16 +00:00
Brian Wellington
efc01ed4ad
fix comment
2001-12-08 02:14:46 +00:00
Brian Wellington
708f3fd049
Added the DNS_DBFIND_FORCENXT flag to dns_db_find, which causes the lookup
...
to search for NXT records, even if the zone is not marked as secure.
2001-12-08 00:37:07 +00:00
Mark Andrews
880723fb13
1157. [func] match-clients and match-destinations now accept
...
keys. [RT #2045 ]
2001-12-06 04:38:51 +00:00
Andreas Gustafsson
ee515ce130
commented
2001-12-05 03:05:30 +00:00
Brian Wellington
41e50ece38
add dns_name_hashbylabel() and make the rbt use it.
2001-12-04 01:32:44 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
bfbea562e6
new function dns_diff_applysilently() [RT #2157 ]
2001-11-29 00:15:35 +00:00
Mark Andrews
60213f2815
1139. [func] It is now possible to flush a given name from the
...
caches via 'rndc flushname name [view]'. [RT #2051 ]
2001-11-27 04:06:17 +00:00
Mark Andrews
6c8abf481d
1138. [func] It is now possible to flush given names from the
...
cache dns_cache_flushname().
2001-11-27 03:10:32 +00:00
Mark Andrews
1e4bfff185
1137. [func] It is now possible to flush given names from the
...
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Andreas Gustafsson
307ba34fa0
1128. [func] sdb drivers can now provide RR data in either text
...
or wire format, the latter using the new functions
dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Andreas Gustafsson
c0bf2b179a
When DNS_RBT_USEMAGIC is defined as true, do magic number
...
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Brian Wellington
9fbcea8dba
install soa.h
2001-11-09 23:09:29 +00:00
Mark Andrews
3e42bdfdc9
1116. [bug] Setting transfers in a server clause, transfers-in,
...
or transfers-per-ns to a value greater than
2147483647 disabled transfers. [RT #2002 ]
2001-11-09 04:21:58 +00:00
Mark Andrews
773e64ec15
try-edns is no more
2001-11-07 04:25:19 +00:00
Andreas Gustafsson
b352902413
1077. [func] Do not accept further recursive clients when
...
the total number of of recursive lookups being
processed exceeds max-recursive-clients, even
if some of the lookups are internally generated.
[RT #1915 , #1938 ]
2001-10-29 19:02:48 +00:00
Mark Andrews
081cff0c33
1073. [bug] The adb cache should also be space driven,
...
max-adb-size. [RT #1915 , #1938 ]
2001-10-25 04:57:46 +00:00
Mark Andrews
a7cb695600
1070. [bug] Copy DNSSEC OK (DO) to response as specified by
...
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Mark Andrews
cf70df7d0e
1059. [func] dns_request now support will now retry UDP queries,
...
dns_request_createvia2() and dns_request_createraw2().
2001-10-18 06:09:39 +00:00
Andreas Gustafsson
dcfc52bbba
Added a version.h file for each library; made version
...
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
01818a424a
document return value of the sdb lookup function
2001-10-13 01:32:34 +00:00
Andreas Gustafsson
024face21c
1042. [bug] The "config" logging category did not work properly.
...
[RT #1873 ]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
247b6de61b
Some comments referred to DNS_R_NOTVERIFIEDYET as
...
DNS_R_SIGNOTVERIFIEDYET
2001-10-10 21:39:16 +00:00
Andreas Gustafsson
9066d09c3e
Removed all code within #ifdef DNS_OPT_NEWCODES*.
...
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Mark Andrews
96ea98af24
1023. [func] Accept hints without TTLs.
2001-09-30 04:31:28 +00:00
Brian Wellington
c9b3f64262
fix comment
2001-09-25 22:45:02 +00:00
Mark Andrews
8296690f17
DNS_EVENT_QUERYABORTED is no longer gemerated.
2001-09-21 14:00:06 +00:00
Brian Wellington
8f674b13e8
dns_time*_fromtext should take "const char *"s, not "char *"s.
2001-09-21 00:11:30 +00:00
Andreas Gustafsson
01446841be
1006. [bug] If a KEY RR was found missing during DNSSEC validation,
...
an assertion failure could subsequently be triggered
in the resolver. [RT #1763 ]
2001-09-19 21:25:46 +00:00
Brian Wellington
21825a8d00
Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
...
rdata.c.
2001-09-19 00:14:48 +00:00
Andreas Gustafsson
34aa790937
reverted 994.
2001-09-14 20:53:33 +00:00
Mark Andrews
56d69016f4
994. [bug] If the unsecure proof fails for unsigned NS records
...
attempt a secure proof using the NS records found as
glue to find the NS records from the zone's servers
along with associated glue rather than from parent
servers. [RT #1706 ]
2001-09-13 07:23:39 +00:00
Andreas Gustafsson
8cccaeaee1
New named.conf option "ixfr-from-differences" [RT #1727 ]
2001-09-08 00:21:49 +00:00
Mark Andrews
ed03e26c44
Add dns_dumpctx_db() and dns_dumpctx_version().
2001-09-05 10:28:55 +00:00
Mark Andrews
9aba20edee
979. [func] Incremental master file dumping. dns_master_dumpinc(),
...
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
bae5d9fcb4
977. [bug] Improve "not at top of zone" error message.
2001-09-04 00:35:19 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +00:00
Mark Andrews
2c64908ae0
DNS_R_NOTAUTHORITATIVE
2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23
dns_journal_compact()
2001-08-30 05:04:18 +00:00
Mark Andrews
28fc90e6c8
#857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
...
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1
don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666 ]
2001-08-27 21:47:00 +00:00
Mark Andrews
73ac1894ea
964. [func] Warn if non root hints data is found in hints file.
2001-08-27 03:36:00 +00:00
Brian Wellington
ee3ab6063d
945. [func] Add the new view-specific options
...
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
831bbce008
commented trust levels
2001-07-23 17:55:37 +00:00
Danny Mayer
f621719829
Added support for Win32
2001-07-16 05:10:30 +00:00
Andreas Gustafsson
23ac0d8259
comments for dns_message_parse() referred to
...
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews
03f91269f5
856. [func] Allow partial rdatasets to be returned in answer and
...
authority sections to help non-TCP capable clients
recover from truncation. [RT #1301 ]
2001-06-05 09:02:16 +00:00
Bob Halley
eba5c23154
undo 1.54, which was an accidental commit
2001-06-01 03:07:54 +00:00
Bob Halley
875542855a
update to 9.3.0, now that the 9.2 release branch has been created
2001-06-01 03:05:07 +00:00
Brian Wellington
59d5cc31e5
#include <dns/types.h>
2001-06-01 01:09:10 +00:00
Brian Wellington
1969ab5360
copyright updates
2001-05-30 20:31:08 +00:00
Andreas Gustafsson
e7a4f58d55
833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
...
<dns/soa.h>, and extended them to support
all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Bob Halley
4e9d4ceadf
Take two of new semantics for ANY queries at zone cut points. Now doing
...
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before. Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things. These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Bob Halley
751aa24c98
only return DNS_R_ZONECUT from secure zones
2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155
more of 'rndc status'
2001-05-14 19:06:47 +00:00
Andreas Gustafsson
a9ef485446
If IXFR fails, fall back to AXFR
2001-05-10 17:51:49 +00:00
Brian Wellington
35582313f7
add dns_zt_zonecount(), which counts the number of zones in a zonetable.
2001-05-09 21:34:19 +00:00
Andreas Gustafsson
9dafd058e3
implemented 'rndc reconfig'
2001-05-07 23:34:24 +00:00
Andreas Gustafsson
bdb60248c3
oops, removed the wrong declaration
2001-05-04 23:57:22 +00:00
Andreas Gustafsson
2788f21727
don't install the now-nonexistent <dns/namedconf.h>
2001-05-04 17:08:43 +00:00
Andreas Gustafsson
af46049567
removed <dns/namedconf.h>, which pertained to the old
...
configuration parser
2001-05-02 17:39:51 +00:00
Andreas Gustafsson
1dbec28030
removed declarations of nonexistent functions
2001-04-30 18:09:31 +00:00
Andreas Gustafsson
e482a1c91e
cache dumps now include trust levels and ncache entries
2001-04-26 21:17:56 +00:00
Brian Wellington
c20ffa38de
808. [func] Add 'rndc flush' to flush the server's cache.
2001-04-11 20:37:50 +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
Andreas Gustafsson
bed7a35293
dns_master_questiontotext() needs a style argument after all
2001-03-28 00:58:15 +00:00
Andreas Gustafsson
531eafa302
use dns_master_rdatasettotext() &co; removed unused flag
...
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson
421551db8a
new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
...
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Brian Wellington
45e22378fc
dns_name_tofilenametext() now downcases the name, which means the callers
...
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington
7d7215baf8
Add dns_name_tofilenametext(), and use it in the dnssec tools.
2001-03-27 22:57:48 +00:00
Brian Wellington
6eccf5bd07
788. [feature] Add the "match-mapped-addresses" options, which
...
causes IPv6 v4mapped addresses to be treated as
IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington
54d64c7994
782. [feature] Implement the serial-query-rate option.
2001-03-19 22:34:14 +00:00
Bob Halley
d911284333
add support for minimal-responses
2001-03-14 21:53:29 +00:00
Mark Andrews
a674e7ecec
add dns_dispatch_getlocaladdress().
2001-03-13 05:48:41 +00:00
Brian Wellington
461260ac15
add casts [RT #1017 ]
2001-03-12 22:27:15 +00:00
David Lawrence
31d3e8d2fe
new function, dns_dbiterator_setcleanmode(), which enables cleaning
...
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence
a09c545af1
join_nodes is removed; node joining is no longer done at any time, because
...
it corrupts active chains and can change the data at a node which
someone might be using. (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)
New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.
rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1. This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is). Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Brian Wellington
5ea0d11ca4
771. [cleanup] TSIG errors related to unsynchronized clocks
...
are logged better.
2001-03-07 20:53:32 +00:00
Brian Wellington
d25dd5b056
770. [func] Add the "edns yes_or_no" statement to the server
...
clause. [RT #524 ]
2001-03-06 23:54:37 +00:00
Mark Andrews
9ac7076eba
769. [func] Improved error reporting when parsing rdata. [RT #740 ]
...
Two new error codes. Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington
438b80a31b
Remove the old configuration parser
2001-03-05 22:49:33 +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
Andreas Gustafsson
d1cc210d20
RT #927 fix from Bob:
...
759. [bug] The resolver didn't turn off "avoid fetches" mode
when restarting, possibly causing resolution
to fail when it should not. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
758. [bug] The "avoid fetches" code did not treat negative
cache entries correctly, causing fetches that would
be useful to be avoided. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
2001-02-28 20:51:22 +00:00
Mark Andrews
a93cf7e83b
756. [bug] dns_zone_load() could "return" success when no master
...
file was configured.
755. [bug] Fix format bugs in zone.c (non-exploitable).
2001-02-26 01:45:57 +00:00
Brian Wellington
542a74fcc4
comment update
2001-02-23 01:52:18 +00:00
Brian Wellington
6be1dc9d2a
Document the 'covers' parameter to dns_message_findname and
...
dns_message_findtype.
2001-02-21 18:32:27 +00:00
Bob Halley
1e50dad10d
When returning DNS_R_CNAME or DNS_R_DNAME as the result of an ANY or SIG
...
query, the resolver failed to setup the return event's rdatasets, causing an
assertion failure in the query code. [RT #881 ]
The fix includes the addition of the DNS_NAMEATTR_CHAINING attribute,
and the removal of the DNS_NAMEATTR_CNAME and DNS_NAMEATTR_DNAME attributes,
because they were not used anywhere in the current source.
2001-02-19 08:54:54 +00:00
Brian Wellington
c47ca47629
Remove the old rndc config parser.
2001-02-16 00:47:45 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Andreas Gustafsson
1dd8ee4fd5
fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
...
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington
100d0d2ec6
Use a refcount instead of an explicit mutex and integer.
2001-02-13 03:57:06 +00:00
Andreas Gustafsson
8126e45e8c
do dns_request_t cancel processing through a control event to
...
ensure that dns_dispatch_removeresponse() is called from the correct task
[RT #844 ]
2001-02-13 02:49:07 +00:00
Brian Wellington
55f3daa4ea
When parsing a message, add an offsets table to each name. Also allow callers
...
rendering a message to get temporary offsets tables to attach to names added
to the message.
2001-02-13 01:02:59 +00:00
Brian Wellington
29daf5bc77
The suffix returned by dns_compress_findglobal() is never used, so remove it.
2001-02-12 18:07:52 +00:00
Andreas Gustafsson
6cefb74b2b
dns_dispatch_removeresponse() failed to document the
...
requirement that it is only called from the task where the
response entry being removed delivers its events (Michael
agrees that this is indeed a requirement)
2001-02-11 19:11:52 +00:00
Brian Wellington
319d2971f1
When the client informs the dispatcher of a received response, have the
...
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Mark Andrews
80aba3d49a
734. [bug] An attempt to re-lock the zone lock could occur if
...
the zone was shutdown during a zone tranfer. [RT #830 ]
2001-02-09 06:04:55 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Andreas Gustafsson
97f26b88f6
removed more needless attaching and detaching of the blackhole ACL
2001-02-09 00:23:16 +00:00
Andreas Gustafsson
a349fd680c
removed all code for maintaining a 'goodness' value in the adb,
...
since it was never used and Michael thinks 'it should probably be removed'.
2001-02-09 00:13:55 +00:00
Andreas Gustafsson
aa23a35d81
733. [bug] Reference counts of dns_acl_t objects need to be
...
locked but were not. [RT #801 ]
2001-02-08 23:30:32 +00:00
Brian Wellington
e618d503ba
Remove (now unused) code for handling queries.
2001-02-07 05:11:58 +00:00
Andreas Gustafsson
6b2f58f5c1
removed inappropriate 'Any bitstring labels are in canonical form' comments
2001-02-02 22:08:27 +00:00
Mark Andrews
8e68489885
722. [func] Allow n/named/server.cincrememtal loads to be canceled.
...
721. [cleanup] Load manager and dns_master_loadfilequota() are no
more.
2001-02-01 21:29:41 +00:00
Andreas Gustafsson
8d5ec7195a
new dns_master_load() option DNS_MASTER_NOINCLUDE
2001-01-30 23:12:27 +00:00
Andreas Gustafsson
651421a5db
removed the "additional-data" option, since it was never
...
fully implemented and because it causes "internal" to be a reserved word in
named.conf, causing problems for those using "internal" as an ACL name.
Since additional-data was never documented, the user-visible aspect of the
change is:
718. [cleanup] "internal" is no longer a reserved word in named.conf.
[RT #753 , #731 ]
2001-01-30 22:02:31 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Brian Wellington
35f06ab0e6
Clients now listen on sockets instead of accepting queries from dispatchers.
...
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +00:00
Brian Wellington
a12d9cfa59
710. [func] The forwarders statement now takes an optional port.
...
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Brian Wellington
d29da750d2
statistics counting was slowing down the server. Make client.c:count_query()
...
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Andreas Gustafsson
d5874af5a5
removed avoid_bitstring feature from the ADB
2001-01-22 22:51:23 +00:00
Andreas Gustafsson
5042f374bc
a valid buffer has the current pointer before or at the
...
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Brian Wellington
9427d22299
make dns_name_fromtext fail when passed an empty string, not assert.
2001-01-22 03:30:27 +00:00
Brian Wellington
6e8b041d9c
blackholed addresses were mishandled in the resolver.
2001-01-19 22:22:17 +00:00
Andreas Gustafsson
d36250a1b2
include zone.c function names in debug log messages only;
...
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Brian Wellington
6ec4990544
copyright update
2001-01-18 02:00:59 +00:00
Brian Wellington
21e82177fb
make message->rcode a dns_rcode_t
2001-01-18 00:26:36 +00:00
Brian Wellington
18d110413c
Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
...
require all of dst to be linked in.
2001-01-17 01:22:20 +00:00
Brian Wellington
f0e246e271
Fully implement the cachefile option, which allows persistent caching. This
...
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Brian Wellington
2883651930
Add dns_master_style_cache
2001-01-12 19:58:51 +00:00
Andreas Gustafsson
7cdd0b6ade
allow dbiterators to be paused at any time
2001-01-12 18:56:42 +00:00
Andreas Gustafsson
ff7f1dc039
676. [bug] Log messages about lame servers to category
...
'lame-servers' rather than 'resolver', so as not
to be gratuitously incompatible with BIND 8.
2001-01-11 19:38:11 +00:00
Brian Wellington
f847f8208c
Fixed an uninitialized variable, removed a dead line of code, and changed
...
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Mark Andrews
19c7cce855
674. [func] Allow messages to be TSIG signed / verified using
...
a offset from the current time.
2001-01-09 23:35:33 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
576f85e5fd
673. [func] The server can now convert RFC1886-style recursive
...
lookup requests into RFC2874-style lookups, when
enabled using the new option "allow-v6-synthesis".
2001-01-09 18:26:01 +00:00
Mark Andrews
5bb4ceb2a6
668. [func] named-checkzone now reports multiple errors in master
...
files.
2001-01-09 00:43:24 +00:00
Andreas Gustafsson
8d4bf0c21b
typo
2001-01-07 22:01:34 +00:00
Brian Wellington
473af33183
more comment updates
2001-01-06 00:43:03 +00:00
Brian Wellington
4d180bd210
comment updates
2001-01-06 00:35:30 +00:00
Mark Andrews
0deebcd15a
dns_master_load*() age_ttl -> options word
2001-01-05 03:12:45 +00:00
Brian Wellington
efcd383461
Update forwarding when the message buffer was no longer copied. Fix this
...
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Andreas Gustafsson
233085a7d2
comment the master file styles in the .h file, not the .c file
2001-01-04 23:52:16 +00:00
Michael Sawyer
2b50457b87
Change the name from "parsable" to "simple"
2001-01-04 23:40:28 +00:00
Michael Sawyer
c67496c943
Add master_style_parsable
2001-01-04 22:19:18 +00:00
Brian Wellington
3e6753a753
Make a macro version of dns_name_toregion.
2001-01-04 20:00:57 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Brian Wellington
6427a34be1
comment fixes
2001-01-04 01:25:08 +00:00
Brian Wellington
ac7f13e3dd
Remove dns_trust_authsecure, which is not used and was never clearly defined.
2001-01-04 00:16:41 +00:00
Brian Wellington
8d6fe3f388
Pointers to regions are silly. Use regions instead. This removes 1 small
...
allocation per query.
2001-01-03 20:42:10 +00:00
Brian Wellington
6d5032f9a2
Micro-optimizations:
...
- use the DNS_NAME_INIT macro in name.c
- create dns_name_copy() and use it instead of dns_name_concatenate()
when doing a copy.
2001-01-03 00:05:15 +00:00
Brian Wellington
917d2db965
if DNS_NAME_USEINLINE was set, DNS_NAME_SETBUFFER was defined, but never used,
...
since dns_name_setbuffer was never #defined to it.
2000-12-29 21:54:52 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00
Mark Andrews
de154f65f6
Ensure that ns_client_*() are only called from the client's task.
2000-12-28 01:29:09 +00:00
Brian Wellington
d780c35e54
remove all vestiges of 16 bit global compression
2000-12-28 00:43:12 +00:00
Andreas Gustafsson
029ce2f952
need #include <dns/rdataset.h> and <dns/rdatastruct.h>
2000-12-22 23:01:56 +00:00
Brian Wellington
2374f16f5d
missing ISC_LANG_ENDDECLS
2000-12-22 22:56:55 +00:00
Andreas Gustafsson
709fa2054f
oops, it's <dst/dst.h>, not <dst/key.h>
2000-12-21 18:11:00 +00:00
Andreas Gustafsson
c663d46e47
need #include <dst/key.h>
2000-12-21 16:27:22 +00:00
Andreas Gustafsson
359082766e
diff.h was not installed
2000-12-21 16:17:41 +00:00
Brian Wellington
58cbc05eb0
Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
...
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Brian Wellington
13090db2b1
dns_view_find can now do ANY queries; it takes additional db and node
...
parameters used for return values.
2000-12-20 03:38:46 +00:00
Andreas Gustafsson
ab0bc7bd36
spelling
2000-12-19 19:20:15 +00:00
Mark Andrews
1599bd6998
620. [bug] dns_master_load*inc() now require 'task' and 'load'
...
to be non-null. Also 'done' will not be called if
dns_master_load*inc() fails immediately. [RT #565 ]
2000-12-17 23:43:12 +00:00
Andreas Gustafsson
113b8ef973
renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
...
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future. Also changed the dump style to the
'explict TTL' one, which makes more sense than usin when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Brian Wellington
ee10d3de18
#include <stdio.h>
2000-12-13 21:28:38 +00:00
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
eb8713ed94
Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
...
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
Brian Wellington
911ed0d3be
Split journal.[ch] into journal.[ch] and diff.[ch]
2000-12-09 02:17:12 +00:00
David Lawrence
71c68c49db
prototype for dns_c_nameprint()
2000-12-07 22:42:22 +00:00
Mark Andrews
168ec3b800
Check ttl when adding/subtracting.
...
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
Brian Wellington
6dbf9cbe6a
596. [bug] DNS_RDATASLAB_FORCE and DNS_RDATASLAB_EXACT are
...
not mutually exclusive.
2000-12-06 22:19:05 +00:00
Brian Wellington
23f64ea0dc
594. [func] sdb drivers are now assumed to not be thread-safe
...
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
Andreas Gustafsson
ab3f2d77bd
sanitize away the DNS_OPT_NEWCODES stuff
2000-12-02 04:13:35 +00:00
Andreas Gustafsson
ce1f5b8d0a
rewrote much of the statistics counter code
2000-12-01 23:49:59 +00:00
Mark Andrews
ad70a097c8
Allow views w/ same name and different class to be added to view list.
...
Change view add failure result test from == ISC_R_EXISTS -> != ISC_R_SUCCESS.
2000-12-01 23:27:43 +00:00
Andreas Gustafsson
9c566a852f
587. [func] A warning is now printed if the "allow-update"
...
option allows updates based on the source IP
address, to alert users to the fact that this
is insecure and becoming increasingly so as
servers capable of update forwarding are being
deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews
4c08b67a5f
586. [bug] multiple views with the same name were fatal. [RT #516 ]
2000-12-01 09:03:44 +00:00
Mark Andrews
f8abaa0fae
Used a unsigned int rather than a boolean to indicate subtrations making
...
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().
Adjust previous CHANGES to reflect above as this is not yet end user visible.
Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Andreas Gustafsson
ffc4cece90
#include <isc/mutex.h>
2000-12-01 01:03:12 +00:00
Andreas Gustafsson
d24d223c17
install conflwres.h, too
2000-12-01 00:50:28 +00:00
Mark Andrews
012c6d0b91
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 13:19:09 +00:00
Andreas Gustafsson
37fb395fd7
it makes no sense for a forward zone to have
...
a {min,max}-re{try,fresh}-time or zone-statistics option
2000-11-28 22:42:37 +00:00
Andreas Gustafsson
0b2d261301
removed sdb NOMINUM_PUBLIC cruft
2000-11-28 02:10:03 +00:00
Andreas Gustafsson
9259fed3d8
Continue move of lib/dns/*conf.c stuff to bin/named
2000-11-27 19:42:38 +00:00
Mark Andrews
dfd7798d8b
578. [func] Notify-source, specify the source address for notify
...
messages.
2000-11-25 02:43:56 +00:00
Andreas Gustafsson
eac8e1d5fc
added DNS_LOGMODULE_SDB
2000-11-23 02:25:02 +00:00
Bob Halley
15af30dfc1
add DNS_R_CNAMEANDOTHER and DNS_R_SINGLETON
2000-11-22 00:16:41 +00:00
Brian Wellington
1275a72e8d
Don't allow metatypes to be loaded using the \# format.
2000-11-19 22:12:42 +00:00
Brian Wellington
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Andreas Gustafsson
2bd70b6822
Allow master zones to not have a 'file' option, to support non-rbt
...
databases. Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Andreas Gustafsson
8bba70c48d
renamed dns_zone_setdatabase() to dns_zone_setfile(),
...
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation. If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57:23 +00:00
Brian Wellington
08e57545c2
Allow the hashing code in the rbt to be disabled (to save memory). This
...
should eventually be configurable at runtime, or at least with a
configure option, but now it's just a #define in rbt.h.
2000-11-18 00:55:25 +00:00
Andreas Gustafsson
d8f9019647
566. [func] New public function dns_timer_setidle().
2000-11-17 19:45:36 +00:00
Andreas Gustafsson
ba6fd25808
567. [bug] Setting the zone transfer timeout to zero caused an
...
assertion failure. [RT #302 ]
566. [func] New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
Andreas Gustafsson
26e801318b
clarified
2000-11-16 23:10:19 +00:00
Brian Wellington
77ac297199
Database and simple database implementations (except rbt and rbt64) are
...
registered dynamically. Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00
Mark Andrews
bba79bc76f
remove NOMINUM_PUBLIC_DELETE
2000-11-16 21:58:09 +00:00
Andreas Gustafsson
8c962eba3d
I really shouldn't commit stuff until it at least compiles
2000-11-15 19:11:36 +00:00
Andreas Gustafsson
d3a86da2e8
563. [func] New public functions dns_rdatatype_format() and
...
dns_rdataclass_format(), for convenient formatting
of rdata type/class mnemonics in log messages.
2000-11-15 19:05:32 +00:00
Andreas Gustafsson
6a56be50dd
new result code DNS_R_BADALG
2000-11-15 00:51:17 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +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
Brian Wellington
47fa8b4c8f
fix outdated comments
2000-11-13 20:12:03 +00:00
Andreas Gustafsson
c2a94d89f9
clarified comments
2000-11-11 01:15:33 +00:00
Andreas Gustafsson
84abb95f7e
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:16:26 +00:00
Andreas Gustafsson
b0ce1ff804
typo
2000-11-10 03:14:25 +00:00
Andreas Gustafsson
7f73d29ac5
comments about who is responsible for freeing the memory
...
of rdata and rdatalists borrowed from messages were incorrect
2000-11-10 03:13:03 +00:00
Brian Wellington
ebfcb6cf66
550. [func] Support unknown rdata types and classes.
2000-11-09 23:55:05 +00:00
Andreas Gustafsson
673ce7aebb
removed redundant declaration of dns_rdataclass_totext() from rdata.h;
...
it is declared in rdataclass.h
2000-11-09 19:33:51 +00:00
Mark Andrews
bfcdcde570
implement lame-ttl.
2000-11-08 03:53:16 +00:00
Michael Sawyer
a3a11c4f3f
Add the ability (via rndc dump-statistics) to dump a file with counters of
...
various results given to queries. Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00
Brian Wellington
7499479679
spelling
2000-11-07 23:43:23 +00:00
Mark Andrews
4ec1a96d90
542. [func] Add allow-update-forwarding support.
2000-11-06 08:11:11 +00:00
Andreas Gustafsson
41b27cf6b4
removed unused global variable declaration of dns_zone_countsize
2000-11-03 18:43:53 +00:00
Andreas Gustafsson
71b5fa7fb7
commented new dialup-related functions
2000-11-03 18:42:56 +00:00
Andreas Gustafsson
bfb0e358c8
commented dns_view_dialup()
2000-11-03 18:35:31 +00:00
Mark Andrews
0fc89c4ee6
540. [func] Add dialup support.
2000-11-03 07:16:09 +00:00
Brian Wellington
e21d199dca
539. [func] Support the blackhole option.
2000-11-03 02:45:55 +00:00
Brian Wellington
e3e3bafa13
Lookups now return sigrdatasets if they exist.
2000-11-02 00:55:41 +00:00
Mark Andrews
f4166b4dc3
allow transfer-source to be set on master zones.
...
print the transfer-source port.
2000-10-31 04:20:54 +00:00
Mark Andrews
368b37b616
dns_rdata_invalidate -> dns_rdata_reset
2000-10-31 03:22:05 +00:00
Mark Andrews
04c22ceaf2
536. [func] Use transfer-source{-v6} when sending refresh queries.
...
Transfer-source{-v6} now take a optional port
parameter for setting the UDP source port. The port
parameter is ignored for TCP.
2000-10-31 01:17:19 +00:00
Brian Wellington
bb71d64085
dns_message_checksig should not require a view in all cases
2000-10-27 21:56:57 +00:00
David Lawrence
b65f2ab14a
534. [func] Ancestors have been removed from RBT chains. Ancestor
...
information can be discerned via node parent pointers.
533. [func] Incorporated name hashing into the RBT database to
improve search speed.
There is still evidence of a bug with regard to bitstring labels. It shows
up in bin/test/rbt/t_rbt -x -t 4 when the assertion at lib/dns/rbt.c:1631
is uncommented -- essentially a bitstring node's location in the hashtable
is not getting properly updated at some point. This shouldn't affect
searching, because a bitstring label as the parent of a new level will
generally cause the standard old binary search to be done. I will be looking
at this more closely in the very near future.
2000-10-25 07:21:31 +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
Mark Andrews
389c749a5e
530. [func] New function dns_rdata_invalidate().
2000-10-24 02:03:33 +00:00
Brian Wellington
f8a55f9955
Added "ndots" to the lwres{} statement in named.conf
2000-10-20 19:32:49 +00:00
Mark Andrews
29c818c7d4
527. [func] New function dns_rdata_clone().
2000-10-20 13:22:36 +00:00
Andreas Gustafsson
f8020519b3
added more commentary
2000-10-19 18:09:34 +00:00
Mark Andrews
e6bd97dded
Add 'flag' to rdata
2000-10-19 05:50:54 +00:00
Andreas Gustafsson
5a11763ab2
added support for a search{} clause in the lwres{} statement
2000-10-19 01:26:39 +00:00
Andreas Gustafsson
4913f156c4
typo
2000-10-19 01:25:55 +00:00
Andreas Gustafsson
96aa1f5236
spacing
2000-10-19 01:25:38 +00:00
Mark Andrews
b55c30f2de
525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
...
and dns_rdataslab_subtract() requesting that the RR's
must exist prior to deletion. DNS_R_NOTEXACT is
returned if the condition is not met.
2000-10-18 23:53:31 +00:00
Michael Sawyer
55aed608cc
Add counters of incoming queries, server-wide and by zone. There is
...
currently no way to get these counts back *out* of the server, pending
a command channel. A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Mark Andrews
3688a648ff
mising declarations
2000-10-17 10:59:48 +00:00
Mark Andrews
b20ee662a7
521. [bug] Detect master files which contain $INCLUDE and always
...
reload. [RT #196 ]
new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
8804fd9936
Split off the generic dns query functionality from the byaddr module into
...
the lookup module, and make byaddr use lookup.
2000-10-17 01:57:42 +00:00
Mark Andrews
20a313a458
Add DNS_R_UNEXPECTEDID.
2000-10-16 04:08:13 +00:00
Mark Andrews
10258f6b3d
515. [bug] The ssu table was not beinge attached / detached
...
by dns_zone_[sg]etssutable. [RT#397]
2000-10-13 13:45:45 +00:00
Michael Sawyer
94b50bce2b
Add zone-specific reload and refresh capability to server and rndc
2000-10-12 21:52:00 +00:00
Brian Wellington
0e5d6900bd
Various hacks to allow (at some point in the future) interoperability
...
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington
4a200b9022
Add tkey-gssapi-credential to the options section
2000-10-12 00:38:30 +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
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
4ed956c5c0
current snapshot of gss-tsig code. I'd be surprised if this works with
...
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Mark Andrews
2a37aa188c
507. [func] New functions dns_zone_flush(), dns_zt_flushanddetach()
...
and dns_view_flushanddetach().
503 was incomplete.
2000-10-05 06:39:26 +00:00
Brian Wellington
9d794b5203
Added lwres{} statement to named.conf.
2000-10-04 18:47:24 +00:00
Brian Wellington
5a4f9ff34f
The makefiles should be sdb-clean now.
2000-09-26 23:25:51 +00:00
Brian Wellington
8614264835
protect the simple database stuff with NOMINUM_PUBLIC
2000-09-26 22:45:59 +00:00
Brian Wellington
c76926d714
comment updates
2000-09-26 22:14:35 +00:00
Andreas Gustafsson
ff7e6f2791
When lacking user-specified timer values from the SOA,
...
use a retry time that backs off exponentially from one minute up to
six hours. This should allow the xferquota test to succeed [RT #337 ]
by allowing for one or more retries during the test, while keeping the
amount of SOA query traffic to dead masters reasonable for GNS.
2000-09-26 18:17:10 +00:00
Andreas Gustafsson
3c754b3581
removed function dns_zone_setrefresh()
2000-09-26 17:24:00 +00:00
Mark Andrews
5a98a57f8f
489. [func] The zone manager now has a "i/o" queue.
2000-09-26 05:16:57 +00:00
Mark Andrews
2bebe117bf
489. [func] The zone manager now has a "i/o" queue.
2000-09-26 05:08:05 +00:00
Andreas Gustafsson
922e6a3c2a
478. [bug] "make install" failed if the directory specified with
...
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Brian Wellington
54bf299982
Don't assume class IN; rename functions to conform to the naming style.
2000-09-12 09:55:32 +00:00
Mark Andrews
68516a98cb
document dns_message_getrawmessage
2000-09-11 23:37:34 +00:00
Mark Andrews
29a9d783b2
440. [func] New function dns_zone_forwardupdate().
2000-09-11 13:34:18 +00:00
Mark Andrews
b9dead30b1
440. [func] New function dns_zone_forwardupdate().
2000-09-11 13:26:22 +00:00
Mark Andrews
056141f287
439. [func] New function dns_request_createraw().
2000-09-11 06:35:57 +00:00
Mark Andrews
5126112bc3
438. [func] New function dns_message_getrawmessage().
2000-09-11 05:55:27 +00:00
Andreas Gustafsson
c9f54e6d04
unbalanced quotes in comment
2000-09-08 21:35:45 +00:00
Mark Andrews
9916239908
Initial opaque rdata support.
2000-09-06 03:25:23 +00:00
Mark Andrews
d22b4de3f1
Throttled answer while loading support (still needs config file hooks).
2000-09-05 03:35:24 +00:00
Michael Graff
ca0db0cdc8
stop mumbling in dispatch.h by filling out the comments. Fixed a bug, since I was here already.
2000-09-01 07:16:06 +00:00
Brian Wellington
88b9c12a3c
rdataslabs are now sorted. Also added a function to compare two rdataslabs.
2000-09-01 01:35:21 +00:00
Andreas Gustafsson
50a3152b70
clarified comment
2000-08-31 16:58:28 +00:00
Mark Andrews
ce0c777a38
overmem was out of order
2000-08-31 13:00:57 +00:00
Mark Andrews
3a34b87c87
Add cache cleaning support (disabled).
2000-08-31 12:15:17 +00:00
Brian Wellington
352cb92ac2
DNS_KEYALG_MD5RSA -> DNS_KEYALG_RSAMD5
2000-08-29 19:45:33 +00:00
Michael Graff
306a935305
add find->result_v[46]
2000-08-26 02:21:45 +00:00
Brian Wellington
0a88c09dc9
#include <isc/mutex.h>
2000-08-25 01:16:04 +00:00
Brian Wellington
504b5167f3
#include <isc/mutex.h>
2000-08-25 01:08:07 +00:00
Brian Wellington
30e6ea9ded
405. [func] Add support for selective forwarding (forward zones)
2000-08-24 22:15:40 +00:00
Andreas Gustafsson
1ccdb91515
typo in comment
2000-08-24 01:19:58 +00:00
Brian Wellington
60b90a37f4
Support for AXFR and minor cleanup.
2000-08-23 18:28:03 +00:00
Brian Wellington
75e1e12f48
use a 'dns_sdbmethods_t' instead of passing all of the functions to
...
dns_sdb_register as parameters.
2000-08-22 22:06:46 +00:00
Andreas Gustafsson
f0bdf4aa8b
#endif /* NOMINUM_PUBLIC */ was missing the required comment
2000-08-22 17:36:31 +00:00
Mark Andrews
8249eee42a
notify-any to allow-notify conversion.
...
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +00:00
Andreas Gustafsson
5965096e50
made flags values use leading zeros to indicate field width
2000-08-22 01:46:12 +00:00
Brian Wellington
4fd3021d3b
comment updates, remove duplicate rcsid.
2000-08-22 01:26:08 +00:00
Brian Wellington
f5a9dda3f3
dns_db_ispersistent() really returns an isc_boolean_t.
2000-08-22 01:20:05 +00:00
Brian Wellington
87af548ceb
Add sdb.h to the list of headers to be installed.
2000-08-22 00:55:21 +00:00
Brian Wellington
a4c351fcef
Add a flags field to dns_sdb_register. One flag requests that names passed in
...
be relative, and another specifies that rdata strings will contain relative
names.
2000-08-22 00:53:31 +00:00
Brian Wellington
033ba09d6d
Simple database implementation. This includes a wrapper that makes a simple
...
database look like a dns_db_t, and a set of routines to be called by specific
simple databases.
2000-08-21 22:15:28 +00:00
Andreas Gustafsson
84c25ccb3d
NOMINUM, not NOMINMUM
2000-08-19 00:47:18 +00:00
Brian Wellington
fe12eb4fc2
Add dns_db_ispersistent. This call determines whether a database is
...
persistent - that is, whether it maintains itself and doesn't require
loading, dumping, and other related things.
2000-08-18 18:25:28 +00:00
Andreas Gustafsson
6826f014d6
cleaned up comments and added missing ones
2000-08-17 23:45:12 +00:00
Mark Andrews
769dd27de8
add notify-any & notify-relay
...
added missing / corrected comment spelling of NOMINUM_PUBLIC
added REQUIRE(ISLOCKED(????)); to zone.c
2000-08-17 13:13:37 +00:00
Brian Wellington
a00c5e2151
gss-tsig support
2000-08-17 02:08:27 +00:00
Andreas Gustafsson
e1368a7770
397. [func] Added utility functions dns_view_gettsig() and
...
dns_view_getpeertsig().
2000-08-17 00:18:12 +00:00
Mark Andrews
c05eb51a1b
388. [cleanup] dns_zone_setdbtype now has const char **dbargv.
...
397. [bug] result was not being set in notify_send_toaddr().
RT#238
2000-08-16 02:16:49 +00:00
Mark Andrews
031f9084fc
394. [bug] Current name was not propagated via $INCLUDE.
...
393. [func] Initial answer while loading (awl) support.
Entry points: dns_master_loadfileinc(),
dns_master_loadstreaminc(), dns_master_loadbufferinc().
Note: calls to dns_master_load*inc() should be rate
be rate limited so as to not use up all file
descriptors.
2000-08-15 03:33:52 +00:00
Brian Wellington
9cd6710f91
validators can now be cancelled.
2000-08-15 00:21:05 +00:00
Brian Wellington
1e2749dba8
Yet more minor cleanup.
2000-08-14 22:00:00 +00:00
Andreas Gustafsson
0e05b42192
dns_zt_print() is gone
2000-08-14 19:52:21 +00:00
Brian Wellington
b0f941a50f
387. [func] Add dns_byaddr_createptrname(), which converts
...
an address into the name used by a PTR query.
2000-08-14 19:09:56 +00:00
Brian Wellington
f2338a0d6a
Minor tsig cleanup.
2000-08-14 18:13:11 +00:00
Andreas Gustafsson
ff59f0e4fe
removed dns_zt_print(), dns_zone_print(), dns_zone_tostr(),
...
PRINT_ZONE_REF; these were only used by the zone2_test program which
has now been removed
2000-08-13 23:51:55 +00:00
Andreas Gustafsson
7e6d32fdba
#endif /* NOMINUM_PUBLIC */ was missing the magic comment
2000-08-11 21:51:04 +00:00
Andreas Gustafsson
eea2865fec
385. [cleanup] Removed function dns_zone_equal().
2000-08-10 18:35:46 +00:00
Brian Wellington
41654670e7
Added dns_dnssec_iszonekey() to determine if a KEY is a zone key without
...
the overhead of converting it to a dst key.
2000-08-10 02:00:35 +00:00
Andreas Gustafsson
886b96ebfd
382. [func] The function dns_zone_setdbtype() now takes
...
an argc/argv style vector of words and sets
both the zone database type and its arguments,
making the functions dns_zone_adddbarg()
and dns_zone_cleardbargs() unnecessary.
2000-08-10 00:53:36 +00:00
Andreas Gustafsson
4870ad08e8
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:36:24 +00:00
Andreas Gustafsson
4a2af70858
added DNS_NAME_MAXTEXT and DNS_NAME_FORMATSIZE
2000-08-08 23:20:14 +00:00
Andreas Gustafsson
f4bc158a46
in dns_name_isabsolute(), dns_name_fullcompare(),
...
and dns_name_compare(), do not require that the name has >0 labels
so that these functions can be used on the degenerate relative name @
2000-08-08 23:18:12 +00:00
Brian Wellington
0a4577a158
Added DNS_R_ZONETOOLARGE
2000-08-08 22:50:34 +00:00
Andreas Gustafsson
979f959fb5
fixed incomplete sentence
2000-08-07 19:30:58 +00:00
Mark Andrews
e06aebbe7b
371. [doc] document that dns_journal_rollforward can return
...
ISC_R_RANGE.
2000-08-03 21:31:41 +00:00
Brian Wellington
19f4d25fd5
Add dns_master_dumpnode, dns_master_dumpnodetostream, and
...
dns_master_style_explicitttl.
2000-08-03 19:50:12 +00:00
Brian Wellington
83e6eb0dfe
Add routines to count the number of nodes in a database and an rbt.
2000-08-03 19:46:37 +00:00
Michael Graff
cb9aa603ab
wire up the {min,max}-{refresh,retry}-time stuff
2000-08-02 22:29:16 +00:00
James Brister
385a9cb48a
369. [func] Support new named.conf options, view and zone
...
statements:
max-retry-time, min-retry-time,
max-refresh-time, min-refresh-time, max-names.
2000-08-02 20:44:27 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
c5944292e9
361. [func] When the RBT find or chain functions set the name and
...
origin for a node that stores the root label
the name is now set to an empty name, instead of ".",
to simplify later use of the name and origin by
dns_name_concatenate(), dns_name_totext() or
dns_name_format().
360. [func] dns_name_totext() and dns_name_format() now allow
an empty name to be passed, which is formatted as "@".
2000-07-31 23:27:25 +00:00
David Lawrence
051d1879fe
dns_name_totext() now allows names with 0 labels, which format as "@"
2000-07-31 23:09:49 +00:00
Michael Graff
6d3496c045
Implement additional-from-{glue,auth} [ yes | no ] ;
...
with yes being the default. These control searching in the cache and
other zones we are authorative for. This is mostly for gdib, but
may be useful elsewhere.
The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
Brian Wellington
da786e7937
Sending a TSIG signed query with a TSIG algorithm that's not
...
HMAC-MD5.SIG-ALG.REG.INT shouldn't crash the server. Also, the description
of dns_tsigkey_create was wrong in at least one place, and the function
incorrectly returned an undocumented result.
2000-07-28 23:27:01 +00:00
Brian Wellington
019a2ec92c
A comment had an extra *.
2000-07-27 23:56:41 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Andreas Gustafsson
4d9b99ccb2
the client control event should be a server event,
...
not a DNS library event
2000-07-26 23:45:55 +00:00
Michael Sawyer
a53151d995
Fix up some of the sanatize code and make kits correctly
2000-07-26 23:40:22 +00:00
David Lawrence
894a2f61c9
minor style issue -- missing periods at ends of sentences/phrasesin comments.
2000-07-26 21:32:57 +00:00
Michael Sawyer
761a1c3761
Add sanitizer and hide per-master key code behind sanitizing #ifdefs
2000-07-26 18:47:43 +00:00
Andreas Gustafsson
a32738e3e4
352. [bug] Race condition in dns_client_t startup could cause
...
an assertion failure.
2000-07-26 17:39:12 +00:00
James Brister
b28affc652
Added missing prototypes.
2000-07-25 20:17:52 +00:00
James Brister
d4ab9cd94f
348. [func] New named.conf boolean values 'glue-from-auth' and
...
'glue-from-cache' now supported in view and global
options statement.
2000-07-25 17:55:43 +00:00
Brian Wellington
969f24b04c
dns_dnssec_verifymessage should make sure that it's verifying with the right
...
key (which should be the case anyway, but it never hurts to check). Also
fix a memory leak and change a few _tostruct() calls to not allocate memory.
2000-07-25 17:12:00 +00:00
Andreas Gustafsson
81b94e091c
added new fetch option DNS_FETCHOPT_NOVALIDATE
2000-07-25 17:03:21 +00:00
Brian Wellington
687d363dea
The "Ensures" condition for dns_db_deleterdataset was obviously wrong.
2000-07-24 23:10:50 +00:00
Michael Graff
ef653fbdb1
implement 'notify [ yes | no | explicit ]'
2000-07-24 22:59:44 +00:00
Brian Wellington
3b2efab212
There's no real difference between the "sring" and "dring" parameters, so
...
call them "ring1" and "ring2" instead. Also remove a bogus assertion.
2000-07-21 22:38:31 +00:00
James Brister
c35f1e5937
341. [func] Support 'key' clause in named.conf zone masters
...
statement:
masters {
10.0.0.1 port 666 key "foo";
10.0.0.2 ;
};
2000-07-21 21:25:01 +00:00
Brian Wellington
a49acbf201
Store tsig keys in an rbt, not a list.
2000-07-21 20:53:59 +00:00
Andreas Gustafsson
e30c4dbe6f
typos
2000-07-21 20:37:01 +00:00
Michael Sawyer
9b72c4648f
Internal code for masters with key entries. Not wired into config yet.
2000-07-21 18:47:23 +00:00
Brian Wellington
49c8a96fba
Don't require that tsig keys must be on a keyring. Also some other cleanup.
2000-07-18 00:46:03 +00:00
David Lawrence
da527e4ff6
332. [func] New function dns_name_reset().
2000-07-14 19:12:54 +00:00
Brian Wellington
4250285838
Return DNS_R_NAMETOOLONG in a few places where less useful errors were
...
returned before.
2000-07-13 18:10:18 +00:00
Brian Wellington
618e871c2e
Add DNS_R_NAMETOOLONG
2000-07-13 02:41:20 +00:00
James Brister
adade77942
326. [func] 'keys' in an 'inet' control statement is now
...
required and must have at least one item in it.
warning is issued if a 'unix' control channel is
defined (not supported).
2000-07-11 19:09:10 +00:00
David Lawrence
d4868faf3f
removed the port member from dns_c_ctrl_t; the port is put in the sockaddr.
2000-07-10 11:28:31 +00:00
David Lawrence
838281ed55
318. [func] dns_c_ndcctx_destroy() could never return anything
...
except ISC_R_SUCCESS; made it have void return instead.
2000-07-10 11:27:12 +00:00
Andreas Gustafsson
f405ffddc8
added missing requirements
2000-07-08 17:27:28 +00:00
James Brister
475c936d4c
314. [func] Inet controls named.conf statement can now have
...
any non-negative number of keys specified.
2000-07-07 23:11:48 +00:00
James Brister
952e9025b0
310. [func] Changes to named.conf "controls" statement (inet
...
subtype only)
- support "keys" clause
controls {
inet * port 1024
allow { any; } keys { "foo"; }
}
- allow "port xxx" to be left out of statement,
in which case it defaults to omapi's default port
of 953.
2000-07-07 13:56:14 +00:00
David Lawrence
3658cf5419
comment cleanup (missing "not", spaces where tabs should have been)
2000-07-07 00:25:47 +00:00
David Lawrence
9fb4b3f08a
Do not return an exact match from dns_rbt_findnode() when the exact
...
match does not have associated data and DNS_RBTFIND_EMPTYDATA is not set.
Return DNS_R_PARTIALMATCH instead if there is a superdomain with
data, or ISC_R_NOTFOUND if no superdomain has data.
Make dns_rbt_findname() honor DNS_RBTFIND_EMPTYDATA, per the rbt.h
documentation that has been saying it will. It didn't.
2000-07-06 23:54:45 +00:00
Mark Andrews
84cb41f729
new error code DNS_R_NOTZONETOP
2000-07-04 03:59:54 +00:00
David Lawrence
24675e8e13
In dns_dispatch_createtcp(), REQUIRE() that attributes not include
...
DNS_DISPATCHATTR_UDP, and document that requirement as well as the
existing requirement for needing DNS_DISPATCHATTR_TCP.
No need to pull up.
2000-07-04 01:48:13 +00:00
Andreas Gustafsson
26be84cdfc
spelling, grammar, and formatting; no functional change
2000-06-29 16:48:53 +00:00
Andreas Gustafsson
95e7cd1ecb
commented
2000-06-26 22:09:49 +00:00
Mark Andrews
b74e3d974b
comment update
2000-06-23 17:30:59 +00:00
David Lawrence
7657358689
does not need isc/types.h
2000-06-23 03:00:30 +00:00
David Lawrence
0980761026
does not need mutex.h
2000-06-23 03:00:01 +00:00
David Lawrence
aea59f157b
does not need eventclass.h
2000-06-23 02:59:28 +00:00
David Lawrence
5c54d949cf
style lint
2000-06-23 02:59:05 +00:00
Brian Wellington
d4edcfe5eb
Add tsig and tkey log moduleS
2000-06-23 01:51:18 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Andreas Gustafsson
0ede98ca38
typo in comment
2000-06-22 21:45:30 +00:00
David Lawrence
28d9fd5381
update_copyrights
2000-06-21 22:45:24 +00:00
Michael Graff
80617c8faa
Add using an entropy source to generate a random query ID seed value.
2000-06-21 21:34:43 +00:00
Mark Andrews
3c671ac666
264. [func] Dispatch can not take TCP sockets in connecting
...
state. Set DNS_DISPATCHATTR_CONNECTED when calling
dns_dispatch_createtcp() for connected TCP sockets
or call dns_dispatch_starttcp() when the socket is
connected.
2000-06-20 23:52:54 +00:00
James Brister
58c42ee18c
263. [func] New logging channel type 'stderr'
...
channel some-name {
stderr;
severity error;
}
2000-06-20 21:36:49 +00:00
David Lawrence
5336b803ae
style lint
2000-06-20 04:12:15 +00:00
Mark Andrews
242dfd9cc6
261 [func] Add dns_zone_markdirty().
2000-06-19 23:05:32 +00:00
James Brister
0d5d8e2bbf
259. [func] New random-device and random-seed-file statements
...
for global options block of named.conf. Both accept
a single string argument.
2000-06-15 23:38:16 +00:00
Andreas Gustafsson
21eaa04858
added dns_zonemgr_attach(); also changed comments for other
...
attach() functions to consistently say that the new reference attaches to
the object, not vice versa
2000-06-15 16:11:50 +00:00
Andreas Gustafsson
2f259b4eec
commented
2000-06-12 19:23:51 +00:00
Brian Wellington
14c5931d3d
tkey cleanups and conversion to the entropy api
2000-06-09 22:33:08 +00:00
Andreas Gustafsson
2bb908bd0b
style; removed references to EDNS1 and local compression
2000-06-09 21:52:27 +00:00
Andreas Gustafsson
1cad45e9cf
whitespace changes in copyright message
2000-06-09 20:59:32 +00:00
James Brister
47c196192a
Rename cache-size config option to max-cache-size and change argument
...
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister
adf8222185
Rename global option cachesize to cache-size and add corresponding option
...
to view statement.
2000-06-09 08:48:42 +00:00
Mark Andrews
0791b485bf
DNS_ZONE_F_???? -> DNS_ZONEFLG_????
...
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
Mark Andrews
bcff319811
Wildcard NS records are not conceptually allowed by RFC 103[45].
2000-06-09 06:03:47 +00:00
James Brister
71a4339351
Empty named.conf file and empty options statement are now parsed properly.
...
New cachesize option for named.conf
Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Mark Andrews
0380c44d02
241. [cleanup] nscount and soacount have been removed from the
...
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
265086fc36
Added comments.
2000-06-07 03:12:13 +00:00
Mark Andrews
a6733246ea
240. [func] databases now come in three flavours: zone, cache
...
and stub.
2000-06-07 02:38:41 +00:00
Andreas Gustafsson
ee03a00244
changed references to 'binary buffer' in comments
...
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
James Brister
616c83b78b
temporarily disable code that validates listen-on and listen-on-v6 lists.
2000-06-06 14:20:03 +00:00
Mark Andrews
7ed73313b1
Add function to determine whether a given request used TCP or not.
2000-06-06 02:07:13 +00:00
James Brister
c78dc8b001
Added new listen-on-v6 config file statement.
...
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +00:00
Andreas Gustafsson
f1f2f8bd47
Wired up the new 'port' option. Also, the interface manager now has
...
both a 'listen-on' and a 'listen-on-v6' ACL. We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
James Brister
029f5aa861
Conversion of various config file values to isc_uint32_t.
2000-06-05 09:17:14 +00:00
James Brister
69b691c962
Support new 'port' clause in config file options section. Causes
...
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Brian Wellington
4fe8755480
Use the new DST API
2000-06-02 18:59:33 +00:00
Andreas Gustafsson
11d0a4a55e
wired up the sig-validity-interval option; renamed its
...
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
James Brister
98c2f9a111
Support config file trusted-keys and also-notify statemenets in views.
...
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).
Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
David Lawrence
1c70c5ee90
227. [cleanup] The enumerated identifiers dns_rdataclass_*,
...
dns_rcode_*, dns_opcode_*, and dns_trust_* are
also now cast to their appropriate types.
2000-06-02 01:07:05 +00:00
Andreas Gustafsson
a3c0a79b61
dns_name_totext() now always prints the root name as '.',
...
even when omit_final_dot is true
2000-06-02 00:14:02 +00:00
David Lawrence
0b056755b2
225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
...
cast to dns_rdatatype_t via macros of their same name
so that they are of the proper integral type wherever
a dns_rdatatype_t is needed.
(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence
6d12fdf966
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.
rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.
Some minor integer-compatibility issues. (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast. The type of an
enum member is int, so there are some conversion issues there, too.)
A pointers-to-function should not be cast to a pointer-to-object.
Variables should not be named for C reserved identifiers.
One or two set-but-not-used variables removed.
Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
Andreas Gustafsson
4831695ebe
no need to include <isc/netaddr.h> to get in_port_t; <isc/net.h> suffices
2000-06-01 16:40:23 +00:00
Brian Wellington
2321de58e5
Added #include <isc/netaddr.h>, since in_port_t wasn't defined.
2000-06-01 02:04:01 +00:00
Brian Wellington
7a97b7630f
dns_message_gettsig/getsig0 cleanup
2000-06-01 01:30:55 +00:00
Michael Graff
d98c74e2ec
set the default destination port in the view, and use it when returning addresses from the adb.
2000-06-01 00:30:58 +00:00
Brian Wellington
fe0e3c7707
Rename message->tsigset/querytsigset to tsig/querytsig.
2000-05-31 23:58:35 +00:00
Andreas Gustafsson
e6ec99f169
commented
2000-05-31 23:35:09 +00:00
James Brister
725a4773f5
Support also-notify and trusted-keys in a view statement.
...
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington
0f80bfec68
The message code now has functions to manipulate TSIG and SIG(0), and the
...
callers use these functions. Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Andreas Gustafsson
7cd4c3ddd1
The 'cache-ttl' and 'ncache-ttl' options now work
2000-05-26 23:17:56 +00:00
Brian Wellington
af60263664
Added dns_tsigkey_attach & _detach, to simplify reference counting.
...
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
David Lawrence
82a30bf0a0
in dns_name_fromtext, REQUIRE() that the source buffer not have an
...
isc_buffer_remaininglength of 0. this finds problems like isc_buffer_init
not followed by isc_buffer_add much sooner.
also, enforce the already documented contract requirements of needing
a valid source buffer and either a valid target buffer or a name
with a dedicated buffer.
2000-05-25 23:57:25 +00:00
Andreas Gustafsson
c885fad9b8
Wired up the view-specific 'key' statement.
2000-05-25 22:06:51 +00:00
Andreas Gustafsson
c6cdf39bb2
Removed the function dns_zone_validate(). It was unused,
...
undocumented, marked XXX, and buggy (it contained a switch
statement that compared an rdclass to a set of zone types).
2000-05-25 21:13:39 +00:00
Andreas Gustafsson
e6aae9483e
removed code for hint, forward, and cache "zones" as those
...
no longer have zone objects associated with them
2000-05-25 21:07:43 +00:00
Andreas Gustafsson
c90b021ea3
renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
...
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
Brian Wellington
5d83b561ad
Added dns_tsigrcode_totext/fromtext
2000-05-25 00:46:32 +00:00
Michael Sawyer
c7868e2262
Modify dns_message_totext, dns_message_sectiontotext,
...
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
Brian Wellington
19d1b1667d
notify and zone soa queries are now tsig signed when appropriate.
2000-05-24 17:30:41 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
David Lawrence
94bd549175
updated comments with regards to chains and parent pointers, and added caveat
...
about what happens with "name" and "origin" parameters when a chain
points to ".".
2000-05-24 02:56:26 +00:00
Brian Wellington
41faaa9b35
If an incoming message contains a SIG(0), store the rdataset owner name
...
in the message structure, even though it should be the root. Also,
return this name in dns_message_getsig0().
2000-05-23 23:35:54 +00:00
Mark Andrews
00b67c06b9
Add contract notes for dns_requestmgr_{attach,detach}().
2000-05-23 00:11:45 +00:00
Michael Sawyer
1ed4ba5a1f
Add pseudosection printing, and dns_message_pseudosectiontotext().
2000-05-22 21:22:06 +00:00
Andreas Gustafsson
cd01c9716f
Reintroduced separate internal/external reference counts for zones,
...
reversing part of the changes made on 2000/05/17. Doing an explicit
zone shutdown on destruction of the zone table caused the zone to
be shut down prematurely on server reload when the zone table was
destroyed but the zone had already been attached to a new zone table.
An external reference count is needed to correctly handle this situation.
2000-05-22 17:23:15 +00:00
Mark Andrews
0103f42343
Add comment about requiring pointers to memory block to be NULL if the
...
corresponding length is 0, non-NULL otherwise.
2000-05-22 12:34:16 +00:00
Michael Graff
341323e0e7
move dns_db_getsoaserial() from journal.c to db.c
2000-05-20 01:32:03 +00:00
Michael Sawyer
9dca36b2ab
Remove unused no_rdata_or_ttl flag from message_totext and message_sectiontotest routines.
2000-05-20 01:29:58 +00:00
Michael Graff
46993e1d9d
Merge the mlg-20000518 branch onto the mainline. Change summary:
...
dns_dispatch_create() no longer exists. dns_dispatch_createtcp()
and dns_dispatch_getudp() are the replacements. _createtcp() takes
a bound, connected TCP socket, while _getudp() will search for
a sharable UDP socket, and if found, attach to it and return a
pointer to it. If one is not found, it will create a udp socket,
bind it to a supplied local address, and create a new dispatcher
around it.
dns_dispatch_remove{request,response}() no longer take the dispatch
as an argument.
query-source can now be set per view.
The dispatch manager holds onto three memory pools, one for
allocating dispatchers from, one for events, and one for
requests/replies. The free list on these pools is hard-coded,
but set to 1024. This keeps us from having to dig into the
isc_mem_t the pools draw from as often.
dns_resolver_create() and dns_view_createresolver() require that
valid dispatchers be passed in; dispatchers are no longer created
for the caller.
2000-05-19 21:46:46 +00:00
Brian Wellington
e49c834de8
Replaced dns_keynode_next by the more correct dns_keytable_findnextkeynode
2000-05-19 20:25:55 +00:00
Brian Wellington
ea14aa24aa
added dns_keynode_next
2000-05-19 18:38:27 +00:00
James Brister
8977ab7ca0
Zone configuration validation is now done at end of config file parsing,
...
and before loading callbacks.
2000-05-18 23:20:21 +00:00
Mark Andrews
59abb512d3
186 [func] dns_request_getresponse() has an additional arguement
...
'preserve_order'.
2000-05-18 02:59:20 +00:00
Brian Wellington
2ee24549b3
Added DNS_R_NOTINSECURE
2000-05-18 01:42:40 +00:00
Andreas Gustafsson
22608315e8
Fixed multiple shutdown cleanup bugs in the zone object. This
...
involved extensive restructuring of the reference counting of
zones and related objects.
Zones now attach to their views. To avoid a circular dependency that
would keep views from ever shutting down, this is done using the new
functions dns_view_weakattach() / dns_view_weakdetach() which
guarantee that the view will not be freed but still allow it
to be shut down.
The zones themselves now only have a single reference count, with
similar "weak" semantics. Managed zones must now be shut down
explicitly by calling dns_zone_shutdown(). To shut down all
zones in a zone table, call dns_zt_shutdown().
The zone manager is now reference counted, weakly. To shut down the
zone manager, you must explicitly call dns_zonemgr_shutdown().
2000-05-17 19:45:36 +00:00
David Lawrence
34b394b43e
DNS_R_RANGE -> ISC_R_RANGE
2000-05-15 21:14:38 +00:00
Michael Sawyer
c95a89b433
Added dns_message_sectiontotext() and dns_message_totext() functions.
2000-05-15 17:49:57 +00:00
James Brister
4932a54ed6
- options named.conf statement *must* now come before any zone or view
...
statements.
- Post-load of named.conf check verifies a slave zone has non-empty list
of masters defined.
- New per-zone boolean:
enable-zone yes | no ;
- intended to let a zone be disabled without having to comment out the
entire zone statement.
- New global and per-view option:
max-cache-ttl number
- New global and per-view option:
addition-data internal | minimal | maximal;
2000-05-15 12:36:33 +00:00
Andreas Gustafsson
f7d85bae58
Keep a queue of zones waiting for zone transfer quota so that a new
...
transfer can be dispatched immediately whenever quota becomes available
2000-05-14 20:01:34 +00:00
Andreas Gustafsson
7c74a7745d
comments for dns_zone_setmasters() and dns_zone_setnotify()
...
said they add to a list; this is no longer true, they now set the whole list
2000-05-13 17:54:37 +00:00
Andreas Gustafsson
e1f16346db
validator must not indicate a validation failure by returning
...
ISC_R_NOTFOUND as that seriously confuses query_find(). Introduced new
result codes DNS_R_NOVALIDSIG and DNS_R_NOVALIDNXT to use instead.
2000-05-12 21:25:17 +00:00
Mark Andrews
8adf1b9e74
Checkpoint ratelimiting refresh queries and notifies.
...
170. [cleanup] Remove inter server consistancy checks from zone,
these should return as a seperate module in 9.1.
dns_zone_checkservers(), dns_zone_checkparents(),
dns_zone_checkchildren(), dns_zone_checkglue().
Remove dns_zone_setadb(), dns_zone_setresolver(),
dns_zone_setrequestmgr() these should now be found
via the view.
2000-05-11 10:04:59 +00:00
Michael Graff
b9c8f4378a
Add address searching to dns_disptach_find().
2000-05-11 07:33:17 +00:00
Michael Graff
202ea9ccee
make magic numbers be the first things in the structures
2000-05-10 23:58:12 +00:00
Michael Graff
ca9739800f
implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server.
2000-05-10 21:34:50 +00:00
Michael Graff
bc892aec31
implement _find()
2000-05-10 17:26:23 +00:00
Michael Graff
abf30e12ba
declare dns_dispatchlist_t here
2000-05-10 17:24:55 +00:00
Michael Graff
1cf2ee1ef0
snapshot; dispatch list stuff
2000-05-10 07:28:33 +00:00
Andreas Gustafsson
84fcfe530b
new logging module DNS_LOGMODULE_MASTERDUMP
2000-05-09 23:31:12 +00:00
Mark Andrews
8b61d20120
convert TRACE -> logging: ISC_LOG_DEBUG(3)
2000-05-09 05:12:49 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
James Brister
65c9645ca7
Support new 'database' statement in zone.
...
database "quoted-string";
2000-05-06 10:18:48 +00:00
Andreas Gustafsson
a726ac16b3
updated comments
2000-05-05 00:18:16 +00:00
Michael Graff
c90f5e8d1e
Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext().
2000-05-03 21:11:40 +00:00
Andreas Gustafsson
deb7afc49f
documented the 'covers' argument of dns_ncache_add()
2000-05-03 21:08:14 +00:00
James Brister
e2cf9c2db3
support 'disabled' statement in zone config (causes
...
zone to be parsed and then ignored). Currently must
come after the 'type' clause.
support optional ports in masters and also-notify
statements:
masters [ port xxx ] { y.y.y.y [ port zzz ] ; }
removed some unused arguments.
stop issuing some warnings about some features that
were not implemented, but now are.
2000-05-03 19:29:43 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
David Lawrence
b09983678f
145. [cleanup] Added <isc/lang.h> and ISC_LANG_BEGINDECLS/
...
ISC_LANG_ENDDECLS to header files that had function
prototypes, and removed it from those that did not.
2000-05-01 17:59:10 +00:00
David Lawrence
4be63b1fd8
144. [cleanup] libdns header files too numerous to name were made
...
to conform to the same style for multiple inclusion
protection.
2000-04-29 02:02:38 +00:00
Andreas Gustafsson
014892d86d
added dns_rdatatype_isknown()
2000-04-29 01:49:37 +00:00
Michael Graff
20c266cbc9
add dispatcher logging functions
2000-04-29 00:45:26 +00:00
Mark Andrews
efd55ce62e
Add mctx comment for tostruct.
2000-04-28 23:18:01 +00:00
Mark Andrews
598b67856b
dns_zone_{set,get}masterport() is gone.
2000-04-28 17:18:23 +00:00
Bob Halley
80cff01698
rdata.h
2000-04-28 16:29:58 +00:00
Bob Halley
3ae5393d7e
Update contract of dns_name_rdatacompare to return < 0, 0, > 0 instead of
...
-1, 0, 1.
2000-04-28 16:29:48 +00:00
Mark Andrews
6c7e680943
115. [cleanup] libdns.a changes:
...
dns_zone_clearnotify() and dns_zone_addnotify()
are replaced by dns_zone_setnotifyalso().
dns_zone_clearmasters() and dns_zone_addmaster()
are replaced by dns_zone_setmasters().
2000-04-28 00:58:42 +00:00
David Lawrence
b3e7753518
108. [cleanup] DNS_SETBIT/DNS_GETBIT/DNS_CLEARBIT moved from
...
<dns/types.h> to <dns/bit.h> and renamed to
DNS_BIT_SET/DNS_BIT_GET/DNS_BIT_CLEAR.
2000-04-27 22:26:50 +00:00
Bob Halley
bcaf544581
add macros
2000-04-27 21:45:46 +00:00
Brian Wellington
9e842bb2d3
Allow dnssec verifications to ignore the validity period.
2000-04-27 18:09:10 +00:00
David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Bob Halley
048f38385e
change contract for value of order
2000-04-26 23:12:57 +00:00
Andreas Gustafsson
ad73ddc323
don't use 'new' as an identifier in installed
...
header files - it's a reserved word in C++
2000-04-26 01:01:23 +00:00
David Lawrence
8fedfa7b45
79. [cleanup] <dns/callbacks.h> does not need <stdio.h>.
2000-04-25 20:13:54 +00:00
David Lawrence
6d4b6f9d4b
added dns_c_ndcctx_getserver, minor style lint
2000-04-24 22:53:41 +00:00
David Lawrence
69d9d317ae
Add DNS_RBTFIND_NOOPTIONS to make it clear what the options parameter of
...
dns_rbt_find* is when no options are passed.
Add DNS_RBTFIND_NOPREDECESSOR to specify that the predecessor
searching code of dns_rbt_findnode should be skipped.
Much comment cleanup w.r.t. DNS_RBTFIND_* options.
2000-04-24 21:18:02 +00:00
Brian Wellington
ec371edc34
Add 'type' as a parameter to dns_validator_create()
2000-04-20 20:43:52 +00:00
Brian Wellington
e9a9ae4fc6
Added dns_trust_ultimate for zone data (can be renamed later if necessary).
2000-04-20 18:47:21 +00:00
Andreas Gustafsson
d1bdeae7bb
moved typedef of dns_zone_callbackarg_t from <dns/types.h> to
...
bin/tests/zone2_test.c; it's obsolete and zone2_test.c is the only
place using it
2000-04-20 17:39:02 +00:00
Michael Graff
5007a32191
use unsigned int for bitfields, not isc_boolean_t
2000-04-19 22:47:24 +00:00
Brian Wellington
767b4086b1
dns_dnssec_verifymessage updates
2000-04-19 20:57:55 +00:00
Bob Halley
dded35f92d
noexact support
2000-04-19 18:49:11 +00:00
Bob Halley
0a09237aa0
add noexact matching option
2000-04-19 18:21:24 +00:00
Brian Wellington
2e8e76e547
Added dns_keytable_finddeepestmatch()
2000-04-18 17:47:17 +00:00
Mark Andrews
9e53cbca72
Add UDP refresh queries.
...
Generate NOTIFY messages.
2000-04-18 11:43:46 +00:00
Mark Andrews
262e8ed36a
Add DNS_EVENT_VIEWREQSHUTDOWN
2000-04-18 08:36:20 +00:00
Mark Andrews
1a1a2ad3e8
add dns_resolver_dispatchv4(), dns_resolver_dispatchv6() and
...
dns_resolver_socketmgr().
2000-04-18 08:30:24 +00:00
Mark Andrews
9b8057fce9
Add dns_adb_attach().
2000-04-18 08:18:52 +00:00
Andreas Gustafsson
e3628581ae
say that sigrdataset may be NULL
2000-04-17 23:13:50 +00:00
Andreas Gustafsson
a7b62db9ca
commented validator API
2000-04-17 23:02:52 +00:00
Michael Graff
e44487bfc2
convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc.
2000-04-17 19:22:44 +00:00
Michael Graff
7ec579cd5d
Add functions to check that a type is only or is not allowed in a question section
2000-04-14 20:13:49 +00:00
Michael Graff
3bb3b7ac46
implement singleton type checking
2000-04-14 18:36:45 +00:00
Brian Wellington
53c892082e
Added dns_nxt_typepresent()
2000-04-13 18:08:07 +00:00
David Lawrence
d3c34e76d6
Stole one bit from node's 'attributes' bitfield for 'is_root' boolean.
...
Prototyped and documented dns_rbt_deletenode.
2000-04-12 21:27:49 +00:00
David Lawrence
567f3a25bc
do not include dns/rbt.h
2000-04-12 21:25:27 +00:00
Andreas Gustafsson
b4b4adc097
added convenience function dns_name_format() for use in formatting
...
log messages
2000-04-11 19:11:46 +00:00
Andreas Gustafsson
230bc05e7e
added DNS_LOGCATEGORY_DNSSEC and DNS_LOGMODULE_VALIDATOR
2000-04-11 18:17:35 +00:00
Andreas Gustafsson
edcb93b49c
wired up view options: request-ixfr, provide-ixfr
2000-04-07 22:30:43 +00:00
James Brister
6abdc5c090
Changes necessary to support server statements inside a view statement.
2000-04-07 17:40:43 +00:00
Brian Wellington
b80a8db9f9
Added DNS_EVENT_VALIDATORSTART
2000-04-07 17:15:35 +00:00
James Brister
616ee4a3f7
Changes to support keys inside views.
2000-04-07 13:35:06 +00:00
Michael Graff
6324997211
add attributes (line singleton, exlcusive, meta, etc) to rdata C files, and
...
build a table of them using gen.c. This means the names are stored twice,
but that will change in the near future. This will speed up number to text
conversions for rdatatypes, and I plan on speeding up text->number as
well, soon.
2000-04-07 03:54:52 +00:00
Andreas Gustafsson
a672bfbee4
wired up view options: allow-query, allow-recursion, allow-transfer
2000-04-06 23:59:19 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Michael Graff
c1a2cfef7f
s/DNS_R_/ISC_R_/ change for some codes. Mostly documentation in these files.
2000-04-06 20:59:29 +00:00
Andreas Gustafsson
66e2dd5001
wired up view options: recursion, auth-nxdomain, transfer-format
2000-04-06 20:25:48 +00:00
James Brister
a38ea1c635
Change some accessor names.
2000-04-06 20:13:07 +00:00
David Lawrence
5d4f11b265
The RBT now maintains a parent pointer at each node.
2000-04-06 18:47:07 +00:00
James Brister
3a49917729
Support new optional class on a view declaration.
2000-04-06 10:35:27 +00:00
James Brister
5e3d37f84a
Many new view-specific fields.
2000-04-06 09:50:13 +00:00
James Brister
03f18a3c14
Three new options fields: lame-ttl min-roots serial-queries.
2000-04-06 09:49:19 +00:00
Andreas Gustafsson
8c1616072e
previous commit was by mistake, backed out
2000-04-05 20:49:29 +00:00
Andreas Gustafsson
76ec142174
added 'matchclients' field
2000-04-05 20:45:36 +00:00
Andreas Gustafsson
afd4b04898
need <dns/aclconf.h>, <dns/confctx.h>, <dns/confzone.h>;
...
removed obsolete comment
2000-04-05 17:37:34 +00:00
Andreas Gustafsson
024eb50b65
must not include <config.h> in installed headers
2000-04-05 17:36:36 +00:00
Andreas Gustafsson
f79476e131
need <dns/confzone.h>
2000-04-05 17:35:56 +00:00
Andreas Gustafsson
8293999117
HEADERS contained obsolete header confserv.h and was missing
...
peer.h
2000-04-05 17:30:02 +00:00
James Brister
300115d413
Replaced with peer.c and peer.h
2000-04-05 17:20:45 +00:00
James Brister
14256bd72e
Removed include of config.h (illegal and unnecessary).
2000-04-05 16:38:01 +00:00
James Brister
ebafb8a02a
match-clients support
2000-04-05 15:29:53 +00:00
James Brister
64da53037f
Added misc 'unset' functions
2000-04-05 15:22:51 +00:00
Andreas Gustafsson
421f476fe8
requires <isc/stdtime.h>
2000-04-04 22:38:26 +00:00
Andreas Gustafsson
20abf4f676
ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS were
...
used needlessly and without including <isc/lang.h>
2000-04-04 21:25:36 +00:00
Andreas Gustafsson
c36e9ea3cd
no need to #include <isc/buffer.h>
2000-04-04 20:11:54 +00:00
Andreas Gustafsson
e6e674f6a5
no need to include <isc/ondestroy.h> from <isc/mem.h>
2000-04-04 20:06:29 +00:00
James Brister
f2af22c3e0
- Provide routine to check all zone definitions. Currently just looking
...
for allow-update and update-policy being used together. allow-update
definition is removed in this case.
- Provide zonelist iterator functions.
2000-03-30 17:21:16 +00:00
Bob Halley
18a4aa1dc8
Add dns_name_dupwithoffsets().
2000-03-30 00:57:23 +00:00
James Brister
3cfa5fedfe
Replace bit-setting method for determining if a config file field was set.
...
Templatized(?) code with macros.
2000-03-29 15:01:14 +00:00
Brian Wellington
5caab9f99d
TSIG and SIG(0) are no longer message pseudosections.
2000-03-29 01:32:22 +00:00
James Brister
da47a1b896
Removed listen-on from views.
...
Changed syntax of grant/deny statements so they now must be inside an
'update-policy' block.
quote rr types when printing grant/deny statements as they can
clash with config file keywords.
Added rcs Id inside comment.
2000-03-28 22:58:25 +00:00
Bob Halley
dda4bfe649
update copyrights
2000-03-23 19:52:19 +00:00
David Lawrence
ecb6c5782e
exorcized local compression
2000-03-23 05:18:46 +00:00
Andreas Gustafsson
5fe5a0c026
revised logging categories
2000-03-23 00:55:12 +00:00
Andreas Gustafsson
4bc5101166
wired up the new 'request-ixfr' option
2000-03-20 19:42:21 +00:00
Mark Andrews
afbc024820
Add DNS_R_USETCP.
2000-03-20 12:26:32 +00:00
Mark Andrews
48df229b7b
Add request/requestmgr support.
2000-03-20 12:25:48 +00:00
Mark Andrews
78da321b43
checkpoint
2000-03-20 12:22:02 +00:00
James Brister
5475a2d296
Support request-ixfr and provide-ixfr values in options and server
...
statements.
2000-03-19 02:58:15 +00:00
Bob Halley
7457bbd82f
secroots is now a keytable; add trustedkeys keytable
2000-03-17 00:00:18 +00:00
James Brister
c0536aa152
ndc config parser and test program
2000-03-15 02:11:57 +00:00
Michael Graff
ae8d0aedd6
implement pktinfo through dispatcher -> named client
2000-03-14 03:30:52 +00:00
Brian Wellington
f7fbd68b1c
added msg.verify_attempted, renamed msg.verify_sig0 to verify_sig
2000-03-13 19:27:35 +00:00
James Brister
0e858455d8
Make sure ssuauth table only goes in master zones.
2000-03-07 21:16:38 +00:00
Brian Wellington
6fcfd0c35d
ssutables are now attached/detached; zones get ssutables from config structs
2000-03-06 19:06:07 +00:00
James Brister
9ecccc109a
Code removal.
2000-03-02 20:43:16 +00:00
James Brister
e0c4b53b70
Add dns_ssutable_t to zone.
2000-03-02 20:42:56 +00:00
James Brister
10529b4cd4
Add peer and peerlist printing prototypes.
2000-03-02 20:42:32 +00:00
Brian Wellington
9c8bd3184c
commented the accessors/iterators
2000-03-02 16:04:41 +00:00
James Brister
f8b167ffb9
SUe strgings instead of dns_c_category_t.
...
Removed dns_c_logginglist_catbytype().
2000-03-02 04:00:00 +00:00
James Brister
c0d8bb424c
Use strings instead of dns_c_category_t.
2000-03-02 03:59:22 +00:00
James Brister
7716a94ffb
Drop prototypes of dns_c_category2string and dns_c_string2category.
...
Added dns_c_checkcategory prototype (checks string against predefined
category names).
2000-03-02 03:58:50 +00:00
Brian Wellington
2fabf91e5b
Added a rule iterator and rule accessor functions
2000-03-01 23:28:31 +00:00
Brian Wellington
408ebaeec9
Added dns_ssurule_t
2000-03-01 23:27:15 +00:00
David Lawrence
edcd1247ad
isc_log_create now has three parameters, the additional one used to
...
return an isc_logconfig_t. isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.
isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.
isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Bob Halley
453603c018
add dns_name_depth() and dns_name_splitatdepth()
2000-02-25 01:06:54 +00:00
Andreas Gustafsson
e01ecff4b1
Implemented the 'transfers' clause of the 'server' statement
...
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Bob Halley
e419f613d8
checkpoint
2000-02-24 22:40:55 +00:00
Andreas Gustafsson
6e70b15670
zones now know which view they are in
2000-02-24 21:40:54 +00:00
Andreas Gustafsson
03ccfda9ec
the view now has a peer list
2000-02-24 21:12:16 +00:00
Bob Halley
b91bbbcdb4
add ordering attributes
2000-02-24 21:07:28 +00:00
Bob Halley
435abcf2e2
add dns_message_renderreset()
2000-02-24 19:37:28 +00:00
Andreas Gustafsson
4777bac498
moved dns_peer_t and dns_peerlist_t typedefs to <dns/types.h>
2000-02-24 18:45:02 +00:00
James Brister
e323a667e0
Replace use of private config type user for server statement with new
...
dns_peer_t.
Support two forms of server key statement:
keys "blah";
keys { "foo" ; };
Non longer build confserv.c
2000-02-24 14:48:30 +00:00
James Brister
2cde028c51
New dns_peer_t type and its methods.
2000-02-24 14:39:27 +00:00
Bob Halley
856ddedea9
add validator done event
2000-02-24 00:22:54 +00:00
Bob Halley
e612c2d0b1
improve comment
2000-02-23 23:32:06 +00:00
Bob Halley
1f61ebeead
add keytag, keytable, and keynode types
2000-02-23 23:31:51 +00:00
Bob Halley
bf43fdafa3
add keytable, validator
2000-02-23 23:31:33 +00:00
Bob Halley
380466f49e
remove trusted key stuff
2000-02-23 23:30:29 +00:00
Bob Halley
7126c08a71
add request.h
2000-02-23 21:54:00 +00:00
Bob Halley
f919bf7227
add
2000-02-23 21:53:22 +00:00
Andreas Gustafsson
3eef7eaba0
renamed dns_acl_checkrequest() to ns_client_checkacl()
...
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Bob Halley
ef1dabcd5c
add dns_validator_t
2000-02-19 00:11:56 +00:00
Bob Halley
f18f3c93e7
add dns_name_requiresedns()
2000-02-19 00:11:21 +00:00
Andreas Gustafsson
7e46d184d9
typo in comment
2000-02-16 22:33:47 +00:00
Brian Wellington
9fae7ff638
dns_zone_getssutable/dns_zone_setssutable
2000-02-16 16:37:55 +00:00
Michael Graff
69a7905cf3
return 'avoid_bitstring' in dns_adbaddrinfo_t. If non-zero, the timer hasn't expired.
...
This means we need to pass 'now' into dns_adb_findaddrinfo() as well, to filter
out timers that have expired.
2000-02-16 00:16:36 +00:00
Brian Wellington
99fa73cf4c
added ssu.h
2000-02-15 21:51:48 +00:00
Brian Wellington
55e001d7ba
added support for different pattern types. c file coming later
2000-02-15 20:16:09 +00:00
Brian Wellington
16a5aa9a57
add dns_ssutable_t
2000-02-15 19:53:18 +00:00
Andreas Gustafsson
fd0bc40a25
IP addresses in ACLs are now represented as
...
isc_netaddr_t, not isc_sockaddr_t
2000-02-15 19:53:05 +00:00
James Brister
b9b814893a
Add prototype for dns_c_ipmatchany_new().
2000-02-15 17:07:52 +00:00
James Brister
0b5d6a2091
Add dns_c_ipmatch_any to dns_c_ipmatch_type_t enum.
2000-02-15 17:06:58 +00:00