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.


Sam Nazarko

connman mailing list

Reply via email to