(solution) CURL failed: code:6, 6; Could not resolve host
Posted: Fri Oct 09, 2020 1:20 pm
Posted this on steam but thought it might be useful here.
TLDR, ensure systemd-resolved is running or you cant connect to mod portal multiplayer etc.
recently ran into this issue on my fedora host, For some reason factorio could not resolve mods.factorio.com
All the normal tools nslookup, browser curl etc worked fine, just factorio had dns issues.
bingo, replicated issue outside factorio
It appears that from fedora 33 (not out yet) systemd-resolved is enabled by default, before that it is not.
https://fedoraproject.org/wiki/Changes/systemd-resolved
TLDR, ensure systemd-resolved is running or you cant connect to mod portal multiplayer etc.
recently ran into this issue on my fedora host, For some reason factorio could not resolve mods.factorio.com
All the normal tools nslookup, browser curl etc worked fine, just factorio had dns issues.
Code: Select all
$ resolvectl query mods.factorio.com
mods.factorio.com: resolve call failed: Could not activate remote peer.
Code: Select all
$ sudo systemctl enable --now systemd-resolved
$ resolvectl query mods.factorio.com
mods.factorio.com: 104.26.15.88 -- link: enp6s0
104.26.14.88 -- link: enp6s0
172.67.71.197 -- link: enp6s0
2606:4700:20::ac43:47c5 -- link: enp6s0
https://fedoraproject.org/wiki/Changes/systemd-resolved