Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
dynv6 with dhcpv6 (using TSIG keys) to auto add AAAA records for all leases
« previous
next »
Print
Pages: [
1
]
Author
Topic: dynv6 with dhcpv6 (using TSIG keys) to auto add AAAA records for all leases (Read 1696 times)
aefainoh
Newbie
Posts: 2
Karma: 0
dynv6 with dhcpv6 (using TSIG keys) to auto add AAAA records for all leases
«
on:
April 23, 2020, 04:19:03 am »
Has anyone ever used TSIG keys with dynv6 (or any dynamic dns service) under the `Dynamic DNS` section of the DHCPv6 server configuration? The path is /services_dhcpv6.php?if=lan. Not the regular dynv6 configuration at /services_dyndns.php.
I can't seem to get it to work although everything suggests it probably should. Dynv6 has an nsupdate example here:
https://dynv6.com/docs/apis#dns-update
. Opnsense's config is very similar as far as I can tell.
The first issue I ran into is that the key name looks like `_XXXXXX._tsig.dynv6.com`. It appears that the string needs to be quoted in the /var/dhcpd/etc/dhcpdv6.conf file generated by that configuration page because of the underscores but it isn't by default.
The next problem is that even if I hack together a working config file and start the service it never actually updates anything or uses the key and I can't seem to figure out where logs would be to start debugging it. Maybe there is a way to turn on logging for that specific service that I'm missing?
It's also possible that I have completely misunderstood how this feature is suppose to work. There isn't a lot of documentation that I could find but if someone knows please feel free to point me in the right direction.
I have been able to update dynv6's records using the regular http api and the built in dynv6 option in /services_dyndns.php however I'd like to create records for individual hosts. I do realize that I could run nsupdate or some other utility on the host itself but I think the above should work as well.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
dynv6 with dhcpv6 (using TSIG keys) to auto add AAAA records for all leases