labriqueinternet / DEPRECATED-build.labriqueinter.net

Debian image with YunoHost for olinuxino boards (scripts)
20 stars 10 forks source link

DNS issue with some routers #17

Closed jvaubourg closed 8 years ago

jvaubourg commented 9 years ago

When connected to a classical network with a DCHP, the Cube system uses the default DNS resolvers delivered by the DHCP server.

In some cases, the delivered DNS resolvers correspond to public IP, but restricted to some clients (in fact, clients with IP corresponding to the ISP owning the router). If the Cube uses a VPN, all DNS queries are made with the public IP delivered by the VPN (and not the private IP delivered by the DHCP server). Consequently, any DNS queries fail with this setup.

We should force LDN, FDN, etc. public DNS resolvers in resolv.conf and we should prevent the DHCP client to change it.

jvaubourg commented 8 years ago

See: https://github.com/labriqueinternet/vpnclient_ynh/issues/22