Am 30.11.11 06:28, schrieb i iordanov:
> This is the last one for now! I hope I haven't been too annoying! :)
> 
> 1) Setting the hostname of the router to anything does not actually
> add an entry to /etc/hosts. This is a problem if one expects the
> hostname to resolve to something, and on OpenWRT it does not resolve
> to anything at all!

And to waht should it be set? That lan interface? What if there are two,
three, for lan interfaces? All interfaces? What about ones with dynamic
IP? /etc/hosts would have to be rewritten on every interface state
change, not desirable. This is most likely a wontfix candidate.


> 2) Also adding entries to Network->Hostnames does not add entries to
> /etc/hosts either, the only consequence are entries in
> /etc/config/dhcp (which also seems a bit out of place, given that the
> hostname is not being added in the DHCP/DNS tab).

Why should it? If you want /etc/hosts, use /etc/hosts.


~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to