A bit off-topic: Multiple connection/instances and name servers...?
Martin Maurer
martin.maurer at mmeacs.de
Fri Sep 29 08:03:55 UTC 2023
Sorry, if a bit off-topic, but I hope others can help on this topic,
which occurs together with libqmi:
Assume I am able to build up 3 connections, each of them IPv6, different
APN/destination/usages:
For each connection, I get a IPv6 address assigned.
I can send ping to each connection, when using IPv6 addresses.
I also get 1-2 DNS server addresses for each connection.
I can send ping to each connection:
ping -6 -I qmimux0 ...IPv6-Adresse...
ping -6 -I qmimux1 ...IPv6-Adresse...
ping -6 -I qmimux2 ...IPv6-Adresse...
(Instead of
ping -6 -I wwan0 ...IPv6-Adresse...
in single connection/single instance case)
But what do I do with the 3x2=6 DNS addresses?
When writing them e.g. to /etc/resolv.conf they are used for all
connection together?
So I cannot more distinguish over which nameserver a name is resolved?
Best case would be when it does not matter which connection is used to
resolve the names to IPv6 addresses
and the information is valid independant of the used connection.
Or not use names at all and only use IPv6 addresses?
Have other hit this problem?
Many thanks for your thoughts!
Best regards,
Martin
More information about the libqmi-devel
mailing list