I configured uci set resolver.kresd.dynamic_domains=1 && uci commit and rebooted my router.
This enabled resolving e.g. a computer named x1 by resolving x1.lan.
Unfortunately, after running /etc/init.d/kresd restart, resolving x1.lan does not work anymore.
This is because /etc/kresd/dhcp_host_domain_ng.sh uses kresd’s non-persistent tty interface to add hints.config("/tmp/kresd/hints_dynamic.tmp") to the config.
Could you please move this configuration setting into /etc/init.d/kresd, so that it properly persists?