Moritz Warning
Moritz Warning
Also, `config->ip6` should say if the gateway address is an ipv4 or ipv6 address. But maybe `config->gw_address` should be in a binary representation at some point in the future (sockaddr_in/sockaddr_in6...
We want to run NDS in dual-stack mode all the time and remove config->ipv6 if we can get ipv6 support to work as well as ipv4. That means that the...
@wanxewoj it would be awesome if you can get dual-stack working. This might have some impact on the config. But we can probably keep it small and even backwards compatible.
@bluewavenet this won't break FAS. :-)
@bluewavenet I do not think you really need to test the ipv6 handling if you do not use ipv6. You let it disabled in NDS or disable ipv6 system wide...
ok :-)
Won't it be sufficient to return the gateways IP address if the router is meant to work offline? This is already possible on OpenWrt by setting: `uci add_list dhcp.@dnsmasq[0].address '/#/192.168.1.1'`...
Ok, you want to have a dynamic detection. If there is not Internet => return Gateway IP, if there is Internet => return gateway IP if unauthenticated and real IP...
We would need to implement a DNS proxy. I would prefer a more elegant solution with the same effect, if possible.
Maybe there is a solution here: https://serverfault.com/questions/940769/dnsmasq-return-default-ip-address-if-address-cannot-be-resolved Of course we could create a script that tests for Internet access and reconfigures the DNS server. But this would also not be...