Error during downloading update and software

hello i just installed fedora and im new here

[darky@fedora ~]$ sudo dnf update 
Fedora 38 - x86_64                                                             0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'fedora':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-38&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-38&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
[darky@fedora ~]$

i think its a problem for the mirrors bec some urls are blocked by our internet here so how i can change the mirrors and find a good one

Its look like it is your DNS that does resolve names.

Test DNS from the command line with host mirrors.fedoraproject.org.

2 Likes

hi how can i do this im new in fedora
but i cant download anything even in appstore

You would have to open a terminal and enter the command there. If you start typing terminal in Gnome’s search on the desktop, it’s icon will popup below the entry.

1 Like

no i mean how to test dns from the command line idk but i dont think its the solution for my problem
its been one day i cant download anythin on fedora and still

You type the host command i provided at a terminal prompt.

1 Like

 [darky@fedora ~]$ host mirrors.fedoraproject.org
mirrors.fedoraproject.org is an alias for download.linux.
download.linux has address 10.202.8.134
Host download.linux not found: 3(NXDOMAIN)
Host download.linux not found: 3(NXDOMAIN)
[darky@fedora ~]$

What kind of Internet provider would do that? That is evil. If you are able to, you can configure your network to use a trustworthy DNS provider for example 8.8.8.8 or 1.1.1.1

can you tell me how i can fix it?
but i think its about my country /: and happened recently anway i have to use vpn but i dont know how
i bought a vleess config but dont know how to use it idk but here most things apps and websites are banned and also vpns -_-