-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for settings nameserver from dhcp? #1
Comments
Hi, Good idea, I will try to look into it over weekend. The information should already be there, so the biggest challenge is to ensure that resolv.conf mirrors the interface metrics. DNS requests are sent to the first DNS server on the list, but if there are overlapping networks then the request might not be sent over the correct interface. Some DNS servers block requests from clients not belonging to their network. One easy solution would be to just have resolv.conf contain the nameservers of the interface with the lowest metric, and then update the entire file as needed. |
Hi Faden, Sorry for taking so long on this. Work has gotten in the way and I have not been able to look more into adding this feature. I will try to get it ready as soon as possible. Btw, I saw that you had forked multi, are you working on adding support for DNS? |
Hey, I forked it to work on creating a Debian package for multi. But as it goes I did not have time to do some real work myself. I will let you know when it is it packaged. |
Hi, Instead of changing resolv.conf, it may be better to use either |
Sorry for my very late reply, I have been and still am on holiday :) My suggestion would be to that when an interface becomes available/unavailable (so in multi_multicast), recreate the entire resolv.conf by iterating through interfaces and adding the DNS addresses acquired through DHCP. You should add public DNS servers (for example Google and OpenDNS) to the end of the file, for interfaces that are not configured through DHCP (or if a DNS server fails). |
Hi,
I would love to see multi with the ability to configure nameservers provided dhcp.
I started toying around with multi in combination with mptcp and really like it. The only thing that is missing in order to completely replace my old setup is the ability to set nameservers provided by the dhcp servers.
The text was updated successfully, but these errors were encountered: