Cannot rebuild app due to nameserver DNS issues "could not resolve host github.com"

I looked at my test server and found it has like this

nameserver 127.0.0.53
options edns0 trust-ad

So I followed that but still not working.

My thought is I changed /etc/ssh/sshd_config file to use ssh remote from my local PC
Changed like
PasswordAuthentication no -> PasswordAuthentication yes

Do you think this change might affect the server?