huronOS-build-tools
huronOS-build-tools copied to clipboard
Make dig to try several nameservers for DNS resolution.
Problem
Currently we have two nameservers on the /etc/resolv.conf file, but when using the digor ntp tool, it only try the value of the first nameserver on the resolv.conf file, if some institution does have blocked the first DNS, we usually have name resolution problems.
Solutions
- If possible for connman to try all the dns
- Check the dns list after connection stablish and sort them by availability
- Force the use of a certain dns servers like
dig somedomain.org @1.1.1.1and try over all the nameservers in the list.