Back at it. It was not TOO hard for a new Ubuntu build. Not to customize it beyond proper netplan for addressing and then successfully (I think!) install MiaB.
I can now go to the admin web URL, go to External DNS and see the base zone file you create.
I found out where the zone files are stored (yay locate command!): /etc/nsd/zones
Does not look wise to directly edit any of the files there. So…
The FIRST customization I want is to add an A record for another host:
medon IN A 23.122.122.50
But the External DNS tab is only display and download zone file.
Custom DNS lets me create a RR for a zone, but not seem to allow specifying the host name?
I see some API instructions for maybe:
curl -X PUT https://klovia.htt-consult.com/admin/dns/custom/medon.htt-consult.com
?
How does this go? After I get a couple other hosts set up in my main zone, I will create a subzone of test.htt-consult.com for further testing and next moving on to doing some mailing.
Also there is a strange thing going on with that External DNS page which I think is associated with the SSHD port. I moved my SSHD port to 1234 and I get an error on that web page and it would not do that nice display of all the zone records, yet I could still download the zone file. Do you have some SSH commands buried into your web scripting? I moved SSHD back to 22 and that page started working properly, so I really think this is a lockdown to SSHD to the default port? From a security position, this is not so good.
If I knew what your commands look like (ssh localhost or ssh host), I could probably edit /etc/ssh/ssh_config to provide the port value. I do that on my laptop to make connecting to my various hosts with there non-default SSHD port, and still connect to github on port 22.
But IMO, changing SSHD port cuts down the noise of all the port knocking. Otherwise you have to implement rate limiting on the default port.