Hello,
i'm trying to add a local CA for my homelab, so i need a CAA record for my local dns domain.
dnsmasq should support this explicitly since 2.8, and i have dnsmasq-full 2.90 (i'm on 24.10-rc4)
the gui is bugged for RR entries, but honestly i haven't found much on how to configure manually the entry in config files.
any hint?
Thanks
Arbitrary dnsmasq
configuration isn't available in config, but you can just drop .conf
files into /tmp/dnsmasq.d/
and they'll be picked up when dnsmasq
reloads. I do this for TXT
records, like this:
$ cat /tmp/dnsmasq.d/txt_records.conf
txt-record=panther,"Experimental RT3200 router, OpenWrt SNAPSHOT in lab."
...
You can copy the file to tmp from a persistent location using various "at-reboot" mechanisms (/etc/rc.local
, for example).
would it be the same changing directly /etc/dnsmasq.conf?
have you any clue about format of CAA records for dnsmasq?
Yes. I would advise to use /etc/dnsmasq.conf
so your changes are persistent.
It's literally the first hit on Google....
Sure. I use a separate config file as I auto-generate it on the fly, so creating a whole new file from scratch is a lot easier than trying to edit an existing one.
No idea, but if it's documented, it's in the man page: https://linux.die.net/man/8/dnsmasq