huronOS-build-tools icon indicating copy to clipboard operation
huronOS-build-tools copied to clipboard

Make dig to try several nameservers for DNS resolution.

Open equetzal opened this issue 2 years ago • 0 comments

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.1 and try over all the nameservers in the list.

equetzal avatar May 09 '23 22:05 equetzal