Need help with setting fix IP and DNS

Hi,

i have been spending 3 days now trying to setup static IP and DNS but cannot make it work.

My Router is on 192.168.22.1
On the Router the reservation for the Pi (bound MAC to IP) is 192.168.22.50.

If I don’t do anything else for some reason the PI gets the IP 192.168.22.76.

I am following this link to try to setup: https://github.com/home-assistant/operating-system/blob/4d6246be4dd0f9fca89a5e3ce7c0812e90511e0b/Documentation/network.md

Now as I wanted to setup AdGuard so I need to do the static IP and DNS setup whatever I try breaks my PI.

So if I only setup static IP then all of a sudden I cannot install add-ons getting the error:
ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install homeassistant/armv7-addon-almond:1.0.1 -> 500 Server Error: Internal Server Error ("Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:49106->[::1]:53: read: connection refused").

If I set up he ipv4 gateway as 192.186.22.1 then I cannot even login to hassio (also if I set dns to 192.186.22.1) but with an IP scannner I can see my Rapberri being on the network.

I desperately trying to work out what I do wrong but cannot. :frowning: