Verify which mirror I am using?

I have set a particular mirror in my DNF config that I want to use.

For example Index of /pub/fedora/linux/updates/43/Everything/x86_64/

How can I verify that I am using that mirror?

When I run dnf update, it shows me

Updating and loading repositories:
 RPM Fusion for Fedora 43 - Nonfree                                                                                                                                                        100% |   2.4 KiB/s |  15.1 KiB |  00m06s
 RPM Fusion for Fedora 43 - Free                                                                                                                                                           100% |   2.4 KiB/s |  11.6 KiB |  00m05s
 RPM Fusion for Fedora 43 - Nonfree - Test Updates                                                                                                                                         100% |   3.5 KiB/s |  14.1 KiB |  00m04s
 RPM Fusion for Fedora 43 - Free - Test Updates                                                                                                                                            100% |   3.6 KiB/s |  10.7 KiB |  00m03s
 Fedora 43 - x86_64                                                                                                                                                                        100% |   2.2 KiB/s |   4.4 KiB |  00m02s
 Fedora 43 openh264 (From Cisco) - x86_64                                                                                                                                                  100% | 622.0   B/s | 986.0   B |  00m02s
 Fedora 43 - x86_64 - Updates                                                                                                                                                              100% |   6.8 KiB/s |   5.4 KiB |  00m01s
Repositories loaded.

But does not say which mirror that is.

closest I could get was the output from sudo dnf repoinfo and then eyeballing by hand… err… eye and hoping it didn’t change for the actual pull of the repo itself.

Would be nice to see which server was supplying the repository information, however.

1 Like

According to Vlad in How to find out which mirror host is being used by netinstall? - #4 by vgaetera
The mirror list is supplied by rpm-software-manager and the mirrormanager application.

I am unsure if the mirror list is locally hosted or mirrormanager.fedoraproject.org and the same at rpmfusion is contacted.

Edit: The second command

Tells me where I downloaded a certain package from - which is very useful.

What I want to know is what mirror I am connecting to at the time I am running updates or downloading new packages.

1 Like

Using netstat, I found that running dnf update connects to mirrormanager at 158.69.60.128 IP Address Details - IPinfo.io

Yes, all the repos have metalinks, however I am using the dnf override .repo you showed me in another thread - which I have confirmed does work, but the repo I connect to not show in with dnf --dump-repo-config=*

So while I have verified that me last download came from the mirror specified in the override .repo - I still want to know proactively what repo I will connect to.

DNF Command Reference — DNF @DNF_VERSION@-1 documentation shows -v and --verbose but apparently, those options don’t exist in dnf5 anymore.

see also:

sudo dnf4 update -v

…still works and shows you the mirror.

me@fedora ~]$ sudo dnf4 update -v
[sudo] password for me: 
Loaded plugins: builddep, changelog, config-manager, copr, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.23.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Fedora Linux 43; generic; Linux.x86_64)'
repo: downloading from remote: fedora
countme: no event for fedora: window already counted
Fedora 43 - x86_64                                                  1.8 MB/s |  35 MB     00:19    
fedora: using metadata from Fri 24 Oct 2025 11:56:13 +07.
repo: downloading from remote: fedora-cisco-openh264
Fedora 43 openh264 (From Cisco) - x86_64                            972  B/s | 1.8 kB     00:01    
fedora-cisco-openh264: using metadata from Wed 05 Mar 2025 17:45:56 +07.
repo: downloading from remote: updates
countme: no event for updates: window already counted
Fedora 43 - x86_64 - Updates                                        732 kB/s | 2.2 MB     00:03    
updates: using metadata from Sun 26 Oct 2025 09:08:52 +07.
repo: downloading from remote: rpmfusion-free
RPM Fusion for Fedora 43 - Free                                      39 kB/s | 143 kB     00:03    
rpmfusion-free: using metadata from Fri 24 Oct 2025 22:13:23 +07.
repo: downloading from remote: rpmfusion-free-updates
RPM Fusion for Fedora 43 - Free - Updates                           2.2 kB/s | 5.9 kB     00:02    
rpmfusion-free-updates: using metadata from Fri 24 Oct 2025 23:01:51 +07.
repo: downloading from remote: rpmfusion-nonfree
RPM Fusion for Fedora 43 - Nonfree                                   26 kB/s |  74 kB     00:02    
rpmfusion-nonfree: using metadata from Fri 24 Oct 2025 22:23:56 +07.
repo: downloading from remote: rpmfusion-nonfree-updates
RPM Fusion for Fedora 43 - Nonfree - Updates                        741  B/s | 1.9 kB     00:02    
rpmfusion-nonfree-updates: using metadata from Sat 25 Oct 2025 23:22:10 +07.
Completion plugin: Generating completion cache...
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
Nothing to do.
Complete!

If you run tail -n 10 -f /var/log/dnf5.log during the update/download, does it show the information you need?

1 Like

There is a new command in DNF5 like:

dnf repoinfo or dnf repo info

It seams to show the last used mirror.

1 Like

Excellent and very informative command. I highly recommend anyone interested in how dnf works to run it.
It is too long to post it all but here is a sample.

$ tail -n 10 -f /var/log/dnf5.log
2025-10-27T16:01:35+0000 [12713] DEBUG No modules metadata available for repo rpmfusion-free-updates
2025-10-27T16:01:35+0000 [12713] DEBUG Loading solv cache file: "/var/cache/libdnf5/rpmfusion-nonfree-updates-c00cb99192127d50/solv/rpmfusion-nonfree-updates.solv"
2025-10-27T16:01:35+0000 [12713] DEBUG No updateinfo metadata available for repo "rpmfusion-nonfree-updates"
2025-10-27T16:01:35+0000 [12713] DEBUG Loading solv cache file: "/var/cache/libdnf5/rpmfusion-nonfree-updates-c00cb99192127d50/solv/rpmfusion-nonfree-updates-group.solvx"
2025-10-27T16:01:35+0000 [12713] DEBUG No modules metadata available for repo rpmfusion-nonfree-updates
2025-10-27T16:01:35+0000 [12713] DEBUG Loading solv cache file: "/var/cache/libdnf5/rpmfusion-nonfree-a1eaa2e306b49749/solv/rpmfusion-nonfree.solv"
2025-10-27T16:01:35+0000 [12713] DEBUG No updateinfo metadata available for repo "rpmfusion-nonfree"
2025-10-27T16:01:35+0000 [12713] DEBUG Loading solv cache file: "/var/cache/libdnf5/rpmfusion-nonfree-a1eaa2e306b49749/solv/rpmfusion-nonfree-group.solvx"
2025-10-27T16:01:35+0000 [12713] DEBUG No modules metadata available for repo rpmfusion-nonfree
2025-10-27T16:01:35+0000 [12713] INFO DNF5 finished
2025-10-27T16:51:54+0000 [29725] INFO --- DNF5 launched with arguments: "dnf update --refresh" ---
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/builddep_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "builddep" ("/usr/lib64/dnf5/plugins/builddep_cmd_plugin.so") version "1.0.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/changelog_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "changelog" ("/usr/lib64/dnf5/plugins/changelog_cmd_plugin.so") version "1.0.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/config-manager_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "config-manager" ("/usr/lib64/dnf5/plugins/config-manager_cmd_plugin.so") version "0.1.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/copr_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "copr" ("/usr/lib64/dnf5/plugins/copr_cmd_plugin.so") version "0.1.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/needs_restarting_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "needs_restarting" ("/usr/lib64/dnf5/plugins/needs_restarting_cmd_plugin.so") version "1.0.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/repoclosure_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "repoclosure" ("/usr/lib64/dnf5/plugins/repoclosure_cmd_plugin.so") version "1.0.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/repomanage_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "repomanage" ("/usr/lib64/dnf5/plugins/repomanage_cmd_plugin.so") version "1.0.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin file="/usr/lib64/dnf5/plugins/reposync_cmd_plugin.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded dnf5 plugin "reposync" ("/usr/lib64/dnf5/plugins/reposync_cmd_plugin.so") version "1.0.0"
2025-10-27T16:51:54+0000 [29725] DEBUG Loading plugin library file="/usr/lib64/libdnf5/plugins/expired-pgp-keys.so"
2025-10-27T16:51:54+0000 [29725] INFO Loaded libdnf plugin "expired-pgp-keys" ("/usr/lib64/libdnf5/plugins/expired-pgp-keys.so"), version="1.0.0"
and etc

However it does not show which mirror I will connect to.
On the upside I am learning a lot about how dnf mirror manager works.

Note also I am using an override file in /etc/dnf/repos.override.d/ which I believe I have confirmed will be respected during downloads and updates, but is not shown in tail while running dnf update

$ dnf repoinfo
Updating and loading repositories:
Repositories loaded.
Repo ID              : fedora
Name                 : Fedora 43 - x86_64
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 604800 seconds (last: 2025-10-27 15:43:22)
Skip if unavailable  : false
Config file          : /etc/yum.repos.d/fedora.repo
URLs                 : 
  Base URL           : http://mirrors.rc.rit.edu/fedora/fedora/linux/development/43/Everything/x86_64/os/ https://download-cc-rdu01.fedoraproject.org/pub/fedora/linux/development/43/Everything/x86_64/os/
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 77663
  Total packages     : 77663
  Size               : 117.1 GiB
  Revision           : 1761281773
  Updated            : 2025-10-24 04:56:13

Repo ID              : fedora-cisco-openh264
Name                 : Fedora 43 openh264 (From Cisco) - x86_64
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 1209600 seconds (last: 2025-10-27 15:43:22)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/fedora-cisco-openh264.repo
URLs                 : 
  Base URL           : https://codecs.fedoraproject.org/openh264/43/x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 6
  Total packages     : 6
  Size               : 3.5 MiB
  Revision           : 1741171556
  Updated            : 2025-03-05 10:45:56

Repo ID              : rpmfusion-free
Name                 : RPM Fusion for Fedora 43 - Free
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 1209600 seconds (last: 2025-10-27 15:00:14)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-free.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/free/fedora/development/43/Everything/x86_64/os/ (61 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=free-fedora-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 337
  Total packages     : 337
  Size               : 1.0 GiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761318799
  Updated            : 2025-10-24 15:13:23

Repo ID              : rpmfusion-free-updates
Name                 : RPM Fusion for Fedora 43 - Free - Updates
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 172800 seconds (last: 2025-10-27 15:00:10)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-free-updates.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/free/fedora/updates/43/x86_64/ (60 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 13
  Total packages     : 13
  Size               : 76.0 MiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761321711
  Updated            : 2025-10-24 16:01:51

Repo ID              : rpmfusion-nonfree
Name                 : RPM Fusion for Fedora 43 - Nonfree
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 1209600 seconds (last: 2025-10-27 15:00:14)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-nonfree.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/nonfree/fedora/development/43/Everything/x86_64/os/ (79 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 217
  Total packages     : 217
  Size               : 1.9 GiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761319435
  Updated            : 2025-10-24 15:23:56

Repo ID              : rpmfusion-nonfree-updates
Name                 : RPM Fusion for Fedora 43 - Nonfree - Updates
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 172800 seconds (last: 2025-10-27 15:00:10)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/nonfree/fedora/updates/43/x86_64/ (80 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 2
  Total packages     : 2
  Size               : 68.3 KiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761409330
  Updated            : 2025-10-25 16:22:10

Repo ID              : updates
Name                 : Fedora 43 - x86_64 - Updates
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 21600 seconds (last: 2025-10-27 15:43:22)
Skip if unavailable  : false
Config file          : /etc/yum.repos.d/fedora-updates.repo
URLs                 : 
  Base URL           : http://mirrors.rc.rit.edu/fedora/fedora/linux/updates/43/Everything/x86_64/ https://download-cc-rdu01.fedoraproject.org/pub/fedora/linux/updates/43/Everything/x86_64/
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 4414
  Total packages     : 4414
  Size               : 13.5 GiB
  Revision           : 1761442348
  Updated            : 2025-10-26 02:08:52

Thats it! It shows the override file and thus specifies the mirror that will be used!

I’ll test later to see if it only shows the last used mirror, or updates to show the mirror that will be used.

So I removed the override file and run the command again and now I get

$ dnf repoinfo
Updating and loading repositories:
Repositories loaded.
Repo ID              : fedora
Name                 : Fedora 43 - x86_64
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 604800 seconds (last: 2025-10-27 15:00:14)
Skip if unavailable  : false
Config file          : /etc/yum.repos.d/fedora.repo
URLs                 : 
  Base URL           : https://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-projects/fedora/linux/development/43/Everything/x86_64/os/ (21 more)
  Metalink           : https://mirrors.fedoraproject.org/metalink?repo=fedora-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 77663
  Total packages     : 77663
  Size               : 117.1 GiB
  Revision           : 1761281773
  Updated            : 2025-10-24 04:56:13

Repo ID              : fedora-cisco-openh264
Name                 : Fedora 43 openh264 (From Cisco) - x86_64
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 1209600 seconds (last: 2025-10-15 16:22:31)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/fedora-cisco-openh264.repo
URLs                 : 
  Base URL           : https://codecs.fedoraproject.org/openh264/43/x86_64/ (1 more)
  Metalink           : https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 6
  Total packages     : 6
  Size               : 3.5 MiB
  Revision           : 1741171556
  Updated            : 2025-03-05 10:45:56

Repo ID              : rpmfusion-free
Name                 : RPM Fusion for Fedora 43 - Free
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 1209600 seconds (last: 2025-10-27 15:00:14)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-free.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/free/fedora/development/43/Everything/x86_64/os/ (61 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=free-fedora-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 337
  Total packages     : 337
  Size               : 1.0 GiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761318799
  Updated            : 2025-10-24 15:13:23

Repo ID              : rpmfusion-free-updates
Name                 : RPM Fusion for Fedora 43 - Free - Updates
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 172800 seconds (last: 2025-10-27 15:00:10)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-free-updates.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/free/fedora/updates/43/x86_64/ (60 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 13
  Total packages     : 13
  Size               : 76.0 MiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761321711
  Updated            : 2025-10-24 16:01:51

Repo ID              : rpmfusion-nonfree
Name                 : RPM Fusion for Fedora 43 - Nonfree
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 1209600 seconds (last: 2025-10-27 15:00:14)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-nonfree.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/nonfree/fedora/development/43/Everything/x86_64/os/ (79 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 217
  Total packages     : 217
  Size               : 1.9 GiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761319435
  Updated            : 2025-10-24 15:23:56

Repo ID              : rpmfusion-nonfree-updates
Name                 : RPM Fusion for Fedora 43 - Nonfree - Updates
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 172800 seconds (last: 2025-10-27 15:00:10)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
URLs                 : 
  Base URL           : rsync://rsync.mirrors.ustc.edu.cn/rpmfusion/nonfree/fedora/updates/43/x86_64/ (80 more)
  Metalink           : https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-43
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 2
  Total packages     : 2
  Size               : 68.3 KiB
  Content tags       : binary-x86_64
  Distro tags        : Forty Three (cpe:/o:fedoraproject:fedora:43)
  Revision           : 1761409330
  Updated            : 2025-10-25 16:22:10

Repo ID              : updates
Name                 : Fedora 43 - x86_64 - Updates
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 21600 seconds (last: 2025-10-27 15:00:14)
Skip if unavailable  : false
Config file          : /etc/yum.repos.d/fedora-updates.repo
URLs                 : 
  Base URL           : rsync://mirror.twds.com.tw/fedora/linux/updates/43/Everything/x86_64/ (176 more)
  Metalink           : https://mirrors.fedoraproject.org/metalink?repo=updates-released-f43&arch=x86_64
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 4414
  Total packages     : 4414
  Size               : 13.5 GiB
  Revision           : 1761442348
  Updated            : 2025-10-26 02:08:52

So the command dnf repoinfo does indeed show the mirror that will be used.
No restart needed.

No. Good point, I was wondering how quickly the mirror from the mirror manager would change.
But as I want to use this command to verify if manually added mirrors or overrides are working, I think that it is good enough and I am satisfied.

That’s what I was trying to say up top - it shows the mirror currently being used, but not necessarily the one which will be used for the actual pull, as there’s every chance a load balancer or a VIP will kick in and route the actual update to another of the “(21 more)” referred to as an example.

1 Like

You are correct, I had an error in my repo override so it did not click at the time.
In the upside I learnt a lot about DNF along the thread.
As you got the solution first I have reassigned it to you, thanks everyone for the fantastic help.

1 Like

This can be a bit noisy…
hit Ctrl + C to exit

sudo bash -c "while true; do ss -o state established -p -r -t '( dport = :http or dport = :https )' | grep dnf; done"