mirror of
https://github.com/espressif/openthread.git
synced 2026-07-10 14:20:29 +00:00
ee6fbbae05
There's a CI failure that the BR sends the query to 8.8.8.8 as the upstream DNS server and responded to the DNS client. This is undesired behavior. We want the BR to query our test DNS server instead. The issue happened because 8.8.8.8 is already an entry in `/etc/resolv.conf`. To avoid querying it, we should fully overwrite the `/etc/resolv.conf` to ensure the BR queries the test DNS server. There's another issue that `bind9` service was also running on the BR node which taken over all incoming DNS queries. `bind9` should only run on the upstream DNS server node. I'll try fix this in a more generic way later.