Re: Ordering of NameServers is not always respected
On Sat, 2015-10-31 at 17:21 +, Sam Nazarko wrote: > I think this is non standard behaviour -- DNS servers should be > written in the same order received from DHCP. If this is not the case, > then DNS ordering should at least be identical regardless of whether > DNS is being proxied or not. Looks like a bug. ConnMan should have correct ordering internally and then just write the entries in this order to resolv.conf. Cheers, Patrik ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman
Ordering of NameServers is not always respected
Hi, OSMC ships with DNS proxying disabled. We have noticed that some users report DNS priorities to not work as expected. It seems that nameservers are written in reverse order in /etc/resolv.conf. I checked resolver.c: /* * Domains and nameservers are added in reverse so that the most * recently appended entry is the primary one. No more than * MAXDNSRCH/MAXNS entries are used. */ I think this is non standard behaviour -- DNS servers should be written in the same order received from DHCP. If this is not the case, then DNS ordering should at least be identical regardless of whether DNS is being proxied or not. Cheers, Sam Nazarko https://osmc.tv ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman