Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

Hi! This is my ansible playbook for self-hosting your own email, web hosting, XMPP chat,
and DNS records using OpenBSD. I use it to host everything on
c0ffee.net, but you can easily adapt it for your own domain by
setting a few variables in vars.yml.
TLDR
Configure a secondary DNS provider and set them as your nameservers at your registrar. Set up reverse DNS for your server.
./scripts/bootstrap_openbsd.sh
cp vars-sample.yml vars.yml && vi vars.yml
ansible-playbook site.yml
./scripts/ds_records.sh YOURDOMAIN and set DS records at your registrar for DNSSEC.
Assumptions
You have a public-facing server (probably a VPS) running OpenBSD, with an IPv4 and IPv6 address. I recommend Vultr.
You have your own domain name, and a registrar that supports DNSSEC. I recommend Namecheap.
You have a secondary DNS provider that supports DNSSEC. I recommend DNS Made Easy. (Why do I need this?)
You’re crazy enough to run your own mail server 🙂
Goals

A small and secure OpenBSD platform to host email, DNS, XMPP chat, and


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/RDcgc9lSG4E/dank-selfhosted

Original article

Comments are closed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: