dnsmanagerv1/readme.markdown

106 lines
3.5 KiB
Markdown
Raw Normal View History

2016-01-07 14:12:18 +01:00
# DNSmanager (en)
This project is about managing DNS zones with a simple website, provinding a
name to anyone on the Internet. It is binded to the [netlib.re][netlibre]
project. This service let you manage your dynamic IP address with your domain so
you don't need DynDNS anymore, and it's all libre software !
The association managing the infrastructure behind this service is [Alsace
Réseau Neutre][arn] which is an ethical ISP based in Alsace, France. Don't be
shy, go ask your questions !
## Tools
* [Dancer2](http://perldancer.org/)
* [Net::DNS](https://metacpan.org/pod/Net::DNS)
* [Bootstrap](http://twitter.github.io/bootstrap/)
* [DBD::mysql](https://metacpan.org/module/DBD::mysql)
* [Moo](https://metacpan.org/pod/Moo)
* [Crypt::Digest::SHA256](https://metacpan.org/pod/Crypt::Digest::SHA256)
## TODO
* zone delegation
* REST API
* captcha ?
# Installation (base)
I suggest using [perlbrew][perlbrew] and [cpanm][cpanm] for the installation,
to not change your current environment. So install them then :
perlbrew install perl-5.18.0
perlbrew switch perl-5.18.0
perlbrew exec sh init/deploiement.sh all
# Contribution (but only to the user interface)
If you want to contribute only on the application interface, you don't need to install and configure all the applications involved in the production release of dnsmanager.
First, uncomment "isviewtest" on **conf/config.yml** then :
perlbrew install perl-5.18.0
perlbrew switch perl-5.18.0
perlbrew exec sh init/deploiement.sh installdep
perlbrew exec sh init/deploiement.sh perlmodules
Finally, to run the application with fake views :
perlbrew exec plackup --port 3000 bin/app.psgi
2016-01-07 14:12:18 +01:00
# DNSmanager (fr)
2015-12-23 00:15:38 +01:00
Ce projet est un programme de gestion de zones DNS à partir d'un site web
simple, permettant à chacun d'avoir un nom sur **Internet**. Il est lié au
2016-01-07 14:12:18 +01:00
service en ligne [netlib.re][netlibre]. Ce service en ligne peut
2015-12-23 00:15:38 +01:00
remplacer avantageusement DynDNS puisqu'il est basé sur du code libre, et une
association s'occupe de son maintien ([Alsace Réseau
2016-01-07 14:12:18 +01:00
Neutre][arn], éthique++).
2015-12-23 00:15:38 +01:00
De manière factuelle :
- des utilisateurs peuvent s'enregistrer puis
- ajouter, supprimer, modifier des zones DNS
- mettre à jour un enregistrement A ou AAAA automatiquement via un script
- des administrateurs sont là pour
- supprimer des zones, des utilisateurs
- vous aider sur IRC (#arn sur irc.geeknode.org) ! \o/
2013-05-28 11:34:05 +02:00
# installation (base)
2013-05-28 11:34:05 +02:00
L'installation de l'application se fait de préférence via
[perlbrew][perlbrew] et [cpanm][cpanm] ce qui permet d'installer les
bibliothèques sans toucher à votre installation de Perl. Installez ces
programmes puis faites :
2013-05-28 11:34:05 +02:00
perlbrew install perl-5.18.0
perlbrew switch perl-5.18.0
perlbrew exec sh init/deploiement.sh all
# Contribuer (uniquement à l'interface)
Si vous souhaitez contribuer à *l'interface*, il suffit de décommenter la ligne
indiquant "isviewtest" dans le fichier de configuration **conf/config.yml**.
À partir de là, vous pouvez installer l'application comme ceci :
perlbrew install perl-5.18.0
perlbrew switch perl-5.18.0
perlbrew exec sh init/deploiement.sh installdep
perlbrew exec sh init/deploiement.sh perlmodules
Puis pour faire vos tests :
perlbrew exec plackup --port 3000 bin/app.psgi
## Ce qu'il reste à faire
* délégation de zone
* API REST
2015-12-23 00:15:38 +01:00
* captcha ?
2016-01-07 14:12:18 +01:00
[netlibre]: https://netlib.re/
[arn]: https://www.arn-fai.net
[perlbrew]: http://perlbrew.pl/
[cpanm]: http://search.cpan.org/~miyagawa/App-cpanminus-1.7040/bin/cpanm