irnutsmurt / Selfhosted-Unbound-DNS-and-Easy-RSA-CA

Automated script for installing Unbound and Easy-RSA. Includes a script for adding and removing DNS entries into unbound, as well as easily creating your own CA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selfhosted-Unbound-DNS-and-Easy-RSA-CA

Automated script for installing Unbound and Easy-RSA. Includes a script for adding and removing DNS entries into unbound, as well as easily creating your own CA. I got tired of all the guides that were like "install this. run this command. configure this option." I'm able to do this, but not everyone can. So I created these 2 scripts that will automate the installation of Unbound, Easy-RSA, and OpenSSL for Ubuntu Server 20.04 and Raspberry Pi OS. It uses a menu system so that its easy to follow and you get exactly what you need.

place both scripts in the same directory then type

chmod +x install-unbound-easy-rsa.sh && chmod +x add-dns-sign-cert.sh

Then run the install-unbound-easy-rsa.sh

./install-unbound-easy-rsa.sh

The install script will replace a variable in the add-dns-sign-cert.sh

user_domain="your_domain_here"

But if you don't need to install these, then just replace the "your_domain_here" with your respective domain and run the add-dns-sign-cert.sh

About

Automated script for installing Unbound and Easy-RSA. Includes a script for adding and removing DNS entries into unbound, as well as easily creating your own CA.

License:MIT License


Languages

Language:Shell 100.0%