DNS Resolution Issue with Pi-hole and GL.iNet Firmware 4.x on Beryl AX

I rolled back to 4.6.8 because on 4.7.0, I couldn't install anything due to architecture conflicts. Running the uname -a command showed ARMv8.

I tried installing from here ↓ (luci-compat)

https://archive.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a53/luci/
https://archive.openwrt.org/releases/23.05.5/packages/aarch64_generic/luci/
https://archive.openwrt.org/releases/23.05.5/packages/arm_cortex-a8_vfpv3/luci/

I suppose there is something wrong with the firmware.