If it helps, I've installed AdGuard Home on a Raspberry Pi 4 and I've configured my router to make my devices use the RPi for DNS queries. This would ensure devices with DNS management services (Android) use the DNS I want. For devices that don't use DNS management services, I've changed /etc/resolv.conf manually to point it to my RPi and that file never gets modified automatically.
It's upto you how you manage your settings in /etc. A software will never modify anything in /etc without your choice.