Hi, on my mox kresd is able to resolve local hostnames for ipv4 just fine. unfortunately it does not for ipv6, so I added the line list hostname_config '/tmp/hosts/odhcpd'to the kresd section in /etc/config/resolver in order to make Knot aware of the additional hosts file generated by odhcpd. In /tmp/kresd/hints.tmpI can now see the ipv6 hosts and their hostnames (without a domain).
Unfortunately I cannot resolve those names on the mox. nslookup hostname ::1 only returns the IPv4 record.
You are right, it does not. My internal network is quite static and also uses IPv6-ULA thus reading that file on each restart of the resolver might suffice. But when the router reboots /tmp/hosts/odhcpd does not even exist when kresd starts, thus the file is never read at all.
In addition:
The file /tmp/hosts/odhcpd contains the ipv6 address and the hostname. /tmp/kresd/hints.tmp contains ipaddress and the hostname.domain.
When I copy the file /tmp/hosts/odhcpd to, let’s say /tmp/v6dns, and extend all hostnames with my internal domain name, nslookup returns the ipv4, the ipv6-ula, and the external ipv6 as well.
For my use-case it should be sufficient to create a static file listing the ipv6-ULA and the hostnames+domain