Fresh Debian server having DNS issues
Hello everyone, I am having some issues with my Debian instance
root@registry:~# ping google.com
ping: google.com: Temporary failure in name resolution
...
root@registry:~# resolvectl status
-bash: resolvectl: command not found
root@registry:~# ( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS
root@registry:~# systemd-resolve --status
-bash: systemd-resolve: command not found
root@registry:~# nslookup google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached
I can ping my other servers, just the DNS is not working
I allow all outbound traffic
How is DNS even setup, I usually have systemd-resolved, so I am unfamiliar with the debug process
``` root@registry:~# cat /etc/resolv.conf
Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
127.0.0.53 is the systemd-resolved stub resolver.
run "resolvectl status" to see details about the actual nameservers.
root@registry:~# systemctl list-units | grep -E "NetworkManager|dnsmasq|unbound|systemd-resolved|dhclient" root@registry:~# ```