Part 2 - Informing Namecheap about OPNsens IP
Rebuilding my network - Part 2: Informing Namecheap about the current IP
Parts:
- Part 0, the intro: Part 0 - Uh oh. Spagettio
- Part 1, the planning: Part 1 - Planning out my new network
- Part 2, Dynamic DNS: Part 2 - Informing Namecheap about OPNsens IP
- Part 3, WireGuard VPN Part 3 - Setting up Wireguard on OPNsense
Next up: I need a way to inform the rest of the internet where i am. My current registrar is Namecheap, which allows me to send the dynamic updates to records there.
What i want is for the record vindel.hacky.software
to always point to my firewall.
As a sidenote: vindel
is short for vindelbro
, or drawbridge if you want. My old namingscheme was based on medival settings.
I also want to do the same for homeassistant
and wireguard
. This is for future ingress controlling. Its way easier to have multiple domain names than remembering ports
Step one is to install os-ddclient
which apparently is the Dynamic DNS client for OPNsense.

After the install you will find a new option under services.

There are quite a few settings we need to fill out, and to be frank. It not trivial to figure out what is what...

First thing first, get the API key. I found mine under Advance DNS. This is the same as password
https://ap.www.namecheap.com/Domains/DomainControlPanel/hacky.software/advancedns
With a guide to decipher here:
https://www.namecheap.com/support/knowledgebase/article.aspx/583/11/how-do-i-configure-ddclient/
use=web,
web=dynamicdns.park-your-domain.com/getip
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=yourdomain.com
password=a9438540ba8a449fb0ed09c3737b9e32
www
I mean, how the heck am i supposed to figure this out?
The final solution ended up looking like this:

Parts:
- Part 0, the intro: Part 0 - Uh oh. Spagettio
- Part 1, the planning: Part 1 - Planning out my new network
- Part 2, Dynamic DNS: Part 2 - Informing Namecheap about OPNsens IP
- Part 3, WireGuard VPN Part 3 - Setting up Wireguard on OPNsense