# DNF default configuration and faulty download mirrors

**URL:** <https://forums.rockylinux.org/t/dnf-default-configuration-and-faulty-download-mirrors/9599>\
**Category:** Rocky Linux Help & Support\
**Created:** [April 18, 2023, 9:16am UTC](https://forums.rockylinux.org/t/dnf-default-configuration-and-faulty-download-mirrors/9599 "2023-04-18T09:16:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![microlinux](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/microlinux/32/1244_2.png) [@microlinux](https://forums.rockylinux.org/u/microlinux)\
**Post date:** [April 18, 2023, 9:16am UTC](https://forums.rockylinux.org/t/dnf-default-configuration-and-faulty-download-mirrors/9599/1 "2023-04-18T09:16:27Z")

</div>

Hi,

In the default configuration, DNF uses mirrors rather than the upstream `dl.rockylinux.org`:

```auto
[baseos]
name=Rocky Linux $releasever - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever
#baseurl=https://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/

```

Now **sometimes** it happens that this configuration hangs, probably because some crappy or otherwise misconfigured mirror is identified as the fastest mirror and blocks it all.

I know there’s always the solution to comment out the `mirrorlist` stanza in all the `*.repo` files and uncomment the `baseurl` lines. But I think this problem should be handled upstream by the Rocky maintainers.

Any suggestions ?

PS: right now mirrorlist hangs completely, and using the upstream `dl.rockylinux.org` gives a whopping 20 kb/s. Meh.

PPS (later): now things have gone to a complete halt. WTF is going on ?

PPPS: ah ok [MirrorManager Maintenance](https://forums.rockylinux.org/t/mirrormanager-maintenance/9601)

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:17am UTC](https://forums.rockylinux.org/t/dnf-default-configuration-and-faulty-download-mirrors/9599/2 "2023-08-25T03:17:44Z")

</div>


