I'm giving it a shot as well. Tried mirroring Debian 11 and 12, and it works great. We also use Oracle Linux at work, but I cannot seem to figure out how to mirror that repo. I created it with the URL https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64
and added the URL for the GPG key as well.
From the logs I see the following
Getting <b>primary.xml.gz</b> from https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/762bc5fcb0018de11ca573c5d0abba3d9141a77f-primary.xml.gz ... <span>OK</span>
- Retrieving packages list from /home/repo/download-mirror-ol7-1698140614/primary.xml.gz ...
and from there nothing happens. It does get the repodata (primary.xml, primary.xml.gz and repodata.xml), but does not download any packages. Tried on two differnet installs and locations, but the result is the same. I tried changing the URL to https://yum.oracle.com/repo/OracleLinux/OL$releasever/latest/$basearch
but that did not make any difference.
Anyone facing the same issue and manage to figure it out?
Adguard Home, Pihole and CoreDNS fits the bill imho. I use AdguardHome for "general purpose", and CoreDNS for my lab projects.