I am having a server to server ping issues.
when i am login into server i am unable to ping other servers by using host name(DNS). it working when i am using IP address.
but when i apply netplan ( sudo netplan apply) . i am able to ping the other servers by using host name.
can you please help me if there is any permanent fix for this issue.