(solution) CURL failed: code:6, 6; Could not resolve host

This subforum contains all the issues which we already resolved.
Post Reply
dajenko
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Oct 09, 2020 11:31 am
Contact:

(solution) CURL failed: code:6, 6; Could not resolve host

Post by dajenko »

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.

Code: Select all

$ resolvectl query mods.factorio.com
mods.factorio.com: resolve call failed: Could not activate remote peer.
bingo, replicated issue outside factorio

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
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

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users