How do I add TXT record for dnsmasq? I need it for kerberos.
There is no way to do this in LuCI, so, the question is - how do I add custom dnsmasq config + LuCI generated one?
How do I add TXT record for dnsmasq? I need it for kerberos.
There is no way to do this in LuCI, so, the question is - how do I add custom dnsmasq config + LuCI generated one?
You can create your custom config file and add something like this to your Local Startup:
cp /root/mycustomdns.conf /tmp/dnsmasq.d/
Yeah, I do what @AndrewZ says:
$ cat /tmp/dnsmasq.d/txt.conf
txt-record=panther.cat.lan,"Experimental RT3200 router"
txt-record=panther,"Experimental RT3200 router"
$ dig TXT panther
...
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;panther. IN TXT
;; ANSWER SECTION:
panther. 0 IN TXT "Experimental RT3200 router"
EDIT: I forgot this part:
I just use the standard sysupgrade config to keep it alive, seems to work even though the file is in tmp:
$ grep txt /etc/sysupgrade.conf
/tmp/dnsmasq.d/txt.conf
Yooo! That's it! Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.