|
| 1 | +DESCRIPTION |
| 2 | +=========== |
| 3 | + |
| 4 | +Installs and configures Dan Bernstein's DNS tinydns, aka djbdns. Services are configured to start up under runit. |
| 5 | + |
| 6 | +REQUIREMENTS |
| 7 | +============ |
| 8 | + |
| 9 | +Platform |
| 10 | +-------- |
| 11 | + |
| 12 | +Known to work on Debian, Ubuntu, Red Hat and CentOS. |
| 13 | + |
| 14 | +Cookbooks |
| 15 | +--------- |
| 16 | + |
| 17 | +* build-essential - for compiling the source. |
| 18 | +* runit - for setting up the services. |
| 19 | + |
| 20 | +ATTRIBUTES |
| 21 | +========== |
| 22 | + |
| 23 | +* `node[:djbdns][:tinydns_ipaddress]` - listen address for public facing tinydns server |
| 24 | +* `node[:djbdns][:tinydns_internal_ipaddress]` - listen address for internal tinydns server |
| 25 | +* `node[:djbdns][:public_dnscache_ipaddress]` - listen address for public DNS cache |
| 26 | +* `node[:djbdns][:axfrdns_ipaddress]` - listen address for axfrdns |
| 27 | +* `node[:djbdns][:public_dnscache_allowed_networks]` - subnets that are allowed to talk to the dnscache. |
| 28 | +* `node[:djbdns][:tinydns_internal_resolved_domain]` - default domain this tinydns serves |
| 29 | +* `node[:djbdns][:bin_dir]` - default location where binaries will be stored. |
| 30 | +* `node[:djbdns][:axfrdns_uid]` - default uid for the axfrdns user |
| 31 | +* `node[:djbdns][:dnscache_uid]` - default uid for the dnscache user |
| 32 | +* `node[:djbdns][:dnslog_uid]` - default uid for the dnslog user |
| 33 | +* `node[:djbdns][:tinydns_uid]` - default uid for the tinydns user |
| 34 | + |
| 35 | +RECIPES |
| 36 | +======= |
| 37 | + |
| 38 | +default |
| 39 | +------- |
| 40 | + |
| 41 | +The default recipe installs djbdns software from package where available, otherwise installs from source. It also sets up the users that will run the djbdns services using the UID's specified by the attributes above. |
| 42 | + |
| 43 | +axfr |
| 44 | +---- |
| 45 | + |
| 46 | +Creates the axfrdns user and sets up the axfrdns service. |
| 47 | + |
| 48 | +cache |
| 49 | +----- |
| 50 | + |
| 51 | +Sets up a local DNS caching server. |
| 52 | + |
| 53 | +internal_server |
| 54 | +--------------- |
| 55 | + |
| 56 | +Sets up a server to be an internal nameserver. To modify resource records in the environment, modify the tinydns-internal-data.erb template. |
| 57 | + |
| 58 | +server |
| 59 | +------ |
| 60 | + |
| 61 | +Sets up a server to be a public nameserver. To modify resource records in the environment, modify the tinydns-data.erb template. |
| 62 | + |
| 63 | +LICENSE AND AUTHOR |
| 64 | +================== |
| 65 | + |
| 66 | +Author:: Joshua Timberman (<joshua@opscode.com>) |
| 67 | + |
| 68 | +Copyright 2009, Opscode, Inc. |
| 69 | + |
| 70 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 71 | +you may not use this file except in compliance with the License. |
| 72 | +You may obtain a copy of the License at |
| 73 | + |
| 74 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 75 | + |
| 76 | +Unless required by applicable law or agreed to in writing, software |
| 77 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 78 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 79 | +See the License for the specific language governing permissions and |
| 80 | +limitations under the License. |
0 commit comments