Closed icpz closed 3 years ago
I would rather call the config option dns_service. But the PR has formal issues as no SoB is present in the git commit desription (see https://openwrt.org/submitting-patches). Also you should add the reason why you want this config option to the git commit description
Thanks for the reply! I've updated the branch
General remark the config option should as well enable/disable sending of DNS server(s) via DHCPv4
Updated, thanks!
The new option takes effect for DHCPv4 now.
Patch pushed to master (https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=694148a87fa5a0c964286fdaac1fa490a2fb530b); thx
In some cases the IPv6 dns server is not available on the LAN interface, thus we don't want ra/dhcpv6 server to announce the ipv6 address as dns to clients.
Currently, the ra server has 'ra_dns' option to disable the function, but there is no option for dhcpv6. I think a new option 'dnsvalid' to indicate the availability of dns server on specific interface would be better. (I'm not sure if the phrase 'dnsvalid' is suitable for this purpose.)
Thanks!