By default, a DHCP client gets an IP address, a network gateway and a DNS server. That’s fine most of the time. But if you own an OpenBSD cloud instance that has to use DHCP to get online, you might not be satisfied with the domain-name-servers option provided by your DHCP server. Hopefully, OpenBSD provides an easy way to force your DNS:
# vi /etc/dhclient.conf
prepend domain-name-servers 127.0.0.1;
Since then, OpenBSD will use our DNS resolver. Which is… unbound(8)
# rcctl enable unbound
# rcctl start unbound
Note that this configuration allows to use the DNS server provided by the DHCP server as a fallback.
OpenBSD highly enables chrooting daemons. I try to do it as much as possible. But lazy software sometime fail to work out of the box. Here’s my notes to enable sending email via chroot PHP (in my case, hear WordPress).
Continue reading “Send email with chrooted PHP in OpenBSD”
In a “get pretty graphs” mood, I’m looking at what can be done regarding OpenBSD monitoring using the CollectD collector and Grafana dashboard renderer. OpenBSD 6.2-current provides InfluxDB and Grafana packages. A great stack for pretty reportings.
Continue reading “Monitoring OpenBSD using CollectD, InfluxDB and Grafana”
Logs are usefull. Graphs are sexy. Here’s a way to get a view on what happens to your OpenSMTPD traffic, using Web v2.0 tools ; namely Logstash & Grafana.
Continue reading “Monitor OpenSMTPD using Logstash and Grafana”
On the official Synology website, the DiskStation DS918+ has “Memory Expandable up to 8 GB (4 GB x 2)”. Well, in reality, it supports a bit more than this…
Continue reading “Synology DS918+ supports 16GB of RAM”