| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | package DNS::Oterica; | ||
| 4 | # ABSTRACT: build dns configuration more easily | ||
| 5 | 1 | $DNS::Oterica::VERSION = '0.313'; | |
| 6 | #pod =head1 WARNING | ||
| 7 | #pod | ||
| 8 | #pod B<HIGHLY EXPERIMENTAL> | ||
| 9 | #pod | ||
| 10 | #pod This code is really not stable yet. We're using it, and we're going to feel | ||
| 11 | #pod free to make incompatible changes to it whenever we want. Eventually, that | ||
| 12 | #pod might change and we will reach a much stabler release cycle. | ||
| 13 | #pod | ||
| 14 | #pod This code has been released so that you can see what it does, use it | ||
| 15 | #pod cautiously, and help guide it toward a stable feature set. | ||
| 16 | #pod | ||
| 17 | #pod =head1 OVERVIEW | ||
| 18 | #pod | ||
| 19 | #pod DNS::Oterica is a system for generating DNS server configuration based on | ||
| 20 | #pod system definitions and role-based plugins. You need to provide a few things: | ||
| 21 | #pod | ||
| 22 | #pod =head2 domain definitions | ||
| 23 | #pod | ||
| 24 | #pod Domains are groups of hosts. You know, domains. This is a DNS tool. If you | ||
| 25 | #pod don't know what a domain is, you're in the wrong place. | ||
| 26 | #pod | ||
| 27 | #pod =head2 host definitions | ||
| 28 | #pod | ||
| 29 | #pod A host is a box with one or more interfaces. It is part of a domain, it has a | ||
| 30 | #pod hostname and maybe some aliases. It's a member of zero or more node groups. | ||
| 31 | #pod | ||
| 32 | #pod =head2 node families | ||
| 33 | #pod | ||
| 34 | #pod Nodes (both hosts and domains) can be parts of families. Families are groups | ||
| 35 | #pod of behavior that nodes perform. A family object is instantiated for each | ||
| 36 | #pod family, and once all nodes have been added to the DNS::Oterica hub, the family | ||
| 37 | #pod can emit more configuration. | ||
| 38 | #pod | ||
| 39 | #pod =head1 I WANT TO KNOW MORE | ||
| 40 | #pod | ||
| 41 | #pod Please read L<DNS::Oterica::Tutorial|DNS::Oterica::Tutorial>, which may or may | ||
| 42 | #pod not yet exist. | ||
| 43 | #pod | ||
| 44 | #pod =head1 TODO | ||
| 45 | #pod | ||
| 46 | #pod There's a lot of stuff to do. | ||
| 47 | #pod | ||
| 48 | #pod * determine location automatically based on world IP | ||
| 49 | #pod * look into replacing nodefamily behavior with Moose roles | ||
| 50 | #pod * rewrite tests to use Diagnostic recordmaker | ||
| 51 | #pod * thorough tests for TinyDNS recordmaker | ||
| 52 | #pod * simpler method to say "being in family X implies being in Y" | ||
| 53 | #pod * means to replace Module::Pluggable with list of families to register | ||
| 54 | #pod * means to track concepts like virts/zones, zonehosts, per-host interfaces | ||
| 55 | #pod | ||
| 56 | #pod =cut | ||
| 57 | |||
| 58 | 1 | 1; | |
| 59 | |||
| 60 | __END__ | ||
| 61 | |||
| 62 | =pod | ||
| 63 | |||
| 64 | =encoding UTF-8 | ||
| 65 | |||
| 66 | =head1 NAME | ||
| 67 | |||
| 68 | DNS::Oterica - build dns configuration more easily | ||
| 69 | |||
| 70 | =head1 VERSION | ||
| 71 | |||
| 72 | version 0.313 | ||
| 73 | |||
| 74 | =head1 OVERVIEW | ||
| 75 | |||
| 76 | DNS::Oterica is a system for generating DNS server configuration based on | ||
| 77 | system definitions and role-based plugins. You need to provide a few things: | ||
| 78 | |||
| 79 | =head2 domain definitions | ||
| 80 | |||
| 81 | Domains are groups of hosts. You know, domains. This is a DNS tool. If you | ||
| 82 | don't know what a domain is, you're in the wrong place. | ||
| 83 | |||
| 84 | =head2 host definitions | ||
| 85 | |||
| 86 | A host is a box with one or more interfaces. It is part of a domain, it has a | ||
| 87 | hostname and maybe some aliases. It's a member of zero or more node groups. | ||
| 88 | |||
| 89 | =head2 node families | ||
| 90 | |||
| 91 | Nodes (both hosts and domains) can be parts of families. Families are groups | ||
| 92 | of behavior that nodes perform. A family object is instantiated for each | ||
| 93 | family, and once all nodes have been added to the DNS::Oterica hub, the family | ||
| 94 | can emit more configuration. | ||
| 95 | |||
| 96 | =head1 PERL VERSION | ||
| 97 | |||
| 98 | This library should run on perls released even a long time ago. It should work | ||
| 99 | on any version of perl released in the last five years. | ||
| 100 | |||
| 101 | Although it may work on older versions of perl, no guarantee is made that the | ||
| 102 | minimum required version will not be increased. The version may be increased | ||
| 103 | for any reason, and there is no promise that patches will be accepted to lower | ||
| 104 | the minimum required perl. | ||
| 105 | |||
| 106 | =head1 WARNING | ||
| 107 | |||
| 108 | B<HIGHLY EXPERIMENTAL> | ||
| 109 | |||
| 110 | This code is really not stable yet. We're using it, and we're going to feel | ||
| 111 | free to make incompatible changes to it whenever we want. Eventually, that | ||
| 112 | might change and we will reach a much stabler release cycle. | ||
| 113 | |||
| 114 | This code has been released so that you can see what it does, use it | ||
| 115 | cautiously, and help guide it toward a stable feature set. | ||
| 116 | |||
| 117 | =head1 I WANT TO KNOW MORE | ||
| 118 | |||
| 119 | Please read L<DNS::Oterica::Tutorial|DNS::Oterica::Tutorial>, which may or may | ||
| 120 | not yet exist. | ||
| 121 | |||
| 122 | =head1 TODO | ||
| 123 | |||
| 124 | There's a lot of stuff to do. | ||
| 125 | |||
| 126 | * determine location automatically based on world IP | ||
| 127 | * look into replacing nodefamily behavior with Moose roles | ||
| 128 | * rewrite tests to use Diagnostic recordmaker | ||
| 129 | * thorough tests for TinyDNS recordmaker | ||
| 130 | * simpler method to say "being in family X implies being in Y" | ||
| 131 | * means to replace Module::Pluggable with list of families to register | ||
| 132 | * means to track concepts like virts/zones, zonehosts, per-host interfaces | ||
| 133 | |||
| 134 | =head1 AUTHOR | ||
| 135 | |||
| 136 | Ricardo SIGNES <rjbs@semiotic.systems> | ||
| 137 | |||
| 138 | =head1 CONTRIBUTORS | ||
| 139 | |||
| 140 | =for stopwords Chris Nehren Joel Shea | ||
| 141 | |||
| 142 | =over 4 | ||
| 143 | |||
| 144 | =item * | ||
| 145 | |||
| 146 | Chris Nehren <apeiron@cpan.org> | ||
| 147 | |||
| 148 | =item * | ||
| 149 | |||
| 150 | Joel Shea <jshea@fastmail.com> | ||
| 151 | |||
| 152 | =back | ||
| 153 | |||
| 154 | =head1 COPYRIGHT AND LICENSE | ||
| 155 | |||
| 156 | This software is copyright (c) 2021 by Ricardo SIGNES. | ||
| 157 | |||
| 158 | This is free software; you can redistribute it and/or modify it under | ||
| 159 | the same terms as the Perl 5 programming language system itself. | ||
| 160 | |||
| 161 | =cut | ||