[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #58571] DNS host list is global even for multiple neti
From: |
Sylvain Rochet |
Subject: |
[lwip-devel] [bug #58571] DNS host list is global even for multiple netifs |
Date: |
Wed, 17 Jun 2020 17:52:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0 |
Follow-up Comment #3, bug #58571 (project lwip):
Hi,
I am with Ashley here. Having per netif DNS server storage and using DNS
servers of the current default interface would be very nice.
I had a similar setup with wired Ethernet (default) and PPP (GPRS backup) and
we had to write a DNS server switch outside lwIP. Basically interface UP hooks
to copy negotiated DNS servers from DHCP and/or PPP outside lwIP to keep track
of them, and something very ugly to enforce using the DNS servers list from
the current default interface. I can't remember the outcome exactly but I was
not very happy writing it :-)
Today's DNS servers handling in OSes is MUCH MORE complicated than just
overwriting /etc/resolv.conf or equivalent. With systemd-networkd or
NetworkManager, and last time I had to deal with that on Windows with VPN
clients it was much better than a naive overwrite of the previous DNS servers
list.
Sylvain
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?58571>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/