Hey everyone,
Ran into an error I haven’t seen before where when I run the sudo systemctl, I am unable to resolve my host IP : Temporary failure in name resolution…
I tried looking online but I can’t seem to find the fix
Thanks
Hey everyone,
Ran into an error I haven’t seen before where when I run the sudo systemctl, I am unable to resolve my host IP : Temporary failure in name resolution…
I tried looking online but I can’t seem to find the fix
Thanks
What’s the content of /etc/resolv.conf
…also do you allow outbound connections just for some specific ports or for all?
For all tcp
If there is no /etc/resolv.conf
then add it with content:
nameserver 8.8.8.8
and restart the dns resolver service: sudo systemctl restart systemd-resolved.service
Then try pinging some domain… ie ping google.com
Hey @mcrio
Resolv.conf is in red and when i try to sudo nano into it to add nameserver 8.8.8.8 it gives me this…
It’s probably a symlink.
ls -l
will show you where it points to.
Type cat /etc/resolv.conf
and see what the content is.
No such file or directory, and when I try to restart enable systemctl, its unable to resolve host
a bit confused as it’s displayed above in your screenshot.
does ls -la /etc
show it?
You mean restart the cardano node or some other service?
Found my problem…
I Had to go into /etc/systemd/resolved.conf and configure the dns to 8.8.8.8
and restart the systemd-resolve.
Thanks for pointing me in the right direction @mcrio