UDP connection to coredns is failing`

UPD connection to the Coredns service is failing. Both internal and external DNS are not resolving from worker nodes after node restart.

K8s version: v1.17.17-rancher2-1
Docker version: Client: v20.10.7 Server:v18.09.8
Ubuntu version: 16.04

Note: Just upgraded Rancher from v2.4.8 to 2.4.17 a month back.

dig google.com @10.43.0.10 +short +vc
142.250.189.196

dig google.com @10.43.0.10 +short
; <<>> DiG 9.10.3-P4-Ubuntu <<>> google @10.43.0.10 +short
;; global options: +cmd
;; connection timed out; no servers could be reached

The issue was fixed after upgrading the instance type from m4 to m5. Seem to be a virtualization on m4-type nodes.