openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
162 stars 98 forks source link

Add system ip to hosts file (ipv6) #126

Open aragilar opened 5 years ago

aragilar commented 5 years ago

Currently odhcpd provides a mapping of IP addresses to hostnames for the local DNS server. However, this does not include the system odhcpd is running on. Would it be possible to append the local IP address to those included in the host file?

This is a basically a request to fix https://dev.archive.openwrt.org/ticket/17457, which appears to have been archived and never fixed. It seems to me the safest option is to have odhcpd provide this to the system, vs. generating another host file via an additional uci module.