NetworkManager always sets my DNS server in /etc/resolv.conf to be 192.168.1.1 even though my router address is 192.168.18.1. Manually setting it to the latter works, but is overwritten constantly with wrong info. I can't tell where NetworkManager gets this incorrect info. This is true for both wired and wifi connections.
Some more info: Connecting through wireguard works because resolvconf overwrites resolv.conf with a working nameserver (1.1.1.1)
Environment: Manjaro Linux KDE default settings.