Pi-hole changes gateway by itself... unwanted

The issue I am facing:
I want to use an orange pi as a wireguard gateway. Therefore I changed the gateway in the settings of pi-hole from 192.168.1.1 to 192.168.1.4 (-> ip of orange pi).

This changes works for a few days. Then pi-hole magically reverts back to the old setting by itself :frowning: I do nothing, I do not want this. I want the value for the gateway to stay at 192.168.1.4

How can I avoid this issue?

Details about my system:
Pi-hole
v5.18.3 / FTL v5.25.2 / Web Interface v5.21 in docker container

What I have changed since installing Pi-hole:
created CNAME-records

How would Pi-hole be involved here?

Also, please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

sudo pihole -d

or if you run your Pi-hole as a Docker container:

docker exec -it <pihole-container-name-or-id> pihole -d

where you substitute <pihole-container-name-or-id> as required.

Please, post your compose file (or docker run command) used to start the container.

And don't forget the debug token requested by Bucking_Horn.