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

allow the "dns" configuration option to dynamically assign in IPV6 #96

Open EricLuehrsen opened 7 years ago

EricLuehrsen commented 7 years ago

As a lift from dnsmasq behavior, allow the dns option to configure to the prefixes on the interface. If its [::] it will use the GA of the router, if its [fd00::] it will use the ULA, if its [fe80::] also as default, and just host ID parts append to all prefixes such as [::53]. The later to direct to a standalone server.

IPV6 prefixes can shift at your ISP will, and setting a static dns option for odhcpd for either "this router" or "device ::53" is not self sustaining. Also the link addresses are really for lower level network management, and application levels should be GA or ULA.