curl error how do you fix it on fedora 36?



Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,764
Reaction score
2,512
Credits
28,058
cURL error 6 indicates that the cURL can’t resolve the hostname and it happens whenever there is a problem with the DNS server.
Have you tried using a different mirror server?
 
OP
L

Leonardo_B

Active Member
Joined
Apr 15, 2020
Messages
244
Reaction score
106
Credits
1,799
cURL error 6 indicates that the cURL can’t resolve the hostname and it happens whenever there is a problem with the DNS server.
Have you tried using a different mirror server?
I going to need help with that with chaning the mirror server
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,575
Reaction score
4,143
Credits
40,707
I'm not running Fedora but if I remember correctly the Fedora repositories on your system are configured to use a mirror url so that it then uses the best one available to you. Since you can't resolve that one I suspect something is not going correctly on your side somewhere. This is what I get when I try to resolve the url your system can't seem to resolve.
Code:
;; QUESTION SECTION:
;mirrors.fedoraproject.org.    IN    A

;; ANSWER SECTION:
mirrors.fedoraproject.org. 6    IN    CNAME    wildcard.fedoraproject.org.
wildcard.fedoraproject.org. 60    IN    A    67.219.144.68
wildcard.fedoraproject.org. 60    IN    A    38.145.60.21
wildcard.fedoraproject.org. 60    IN    A    209.132.190.2
wildcard.fedoraproject.org. 60    IN    A    152.19.134.142
wildcard.fedoraproject.org. 60    IN    A    8.43.85.73
wildcard.fedoraproject.org. 60    IN    A    140.211.169.196
wildcard.fedoraproject.org. 60    IN    A    38.145.60.20
wildcard.fedoraproject.org. 60    IN    A    152.19.134.198
wildcard.fedoraproject.org. 60    IN    A    8.43.85.67
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,677
Reaction score
1,296
Credits
11,063
Can you ping?

You can manually set your closest mirror (which isn't always the fastest)

Find the one that's closest (or fastest) for you, and you can edit your
/etc/yum.repos.d/fedora.repo file.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,575
Reaction score
4,143
Credits
40,707
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top