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 @ +short +vc

dig google.com @ +short
; <<>> DiG 9.10.3-P4-Ubuntu <<>> google @ +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.