I found a solution how to resolve host-names from DHCP. Here is the solution:
Edit:
/etc/init.d/kresd
Add those two lines:
- in section
init_header
, after lineecho " 'policy'" >> $CONFIGFILE
echo " , 'hints'" >> $CONFIGFILE
- in section
load_uci_config_common
, after lineset_param_func "cache.clear" ""
set_param_func "hints.config" "'/tmp/hosts/dhcp'"
restart the KNOT service:
/etc/init.d/kresd restart
If you edit /etc/config/dhcp
and add anything you want, it will be resolved as well.