Part 2 - Informing Namecheap about OPNsens IP

Rebuilding my network - Part 2: Informing Namecheap about the current IP

Parts:

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.

![Alt text](/img/user/projects/rebuilding my home network/assets/pkg_search_dns.png)

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

![Alt text](/img/user/projects/rebuilding my home network/assets/ui_dyn_dns.png)

There are quite a few settings we need to fill out, and to be frank. It not trivial to figure out what is what...
![Alt text](/img/user/projects/rebuilding my home network/assets/dyn_dns_blank.png)

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/111/11/using-namecheap-dynamic-dns-client-version-20x-beta/

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:

![Alt text](/img/user/projects/rebuilding my home network/assets/dyn_dns_filled.png)

Parts: