Set a fixed IP-adress to a raspberry Pi running Raspbian:
open up /etc/dhcpcd.conf with a text editor.
sudo nano /etc/dhcpcd.conf
Scroll down until you see the line static ip_address=. Uncomment that line Then add some stuff (fill the ip-adresses with something relevant to your network.
Save and Done!
You could use external DNS-servers instead of those by your own ISP:
Cloudflare – 188.8.131.52 (They say it is fast… Haven’t tested)
Google – 184.108.40.206, 220.127.116.11 (dependable but zero trust)
OpenDNS – 18.104.22.168, 22.214.171.124 (they claim not to log your DNS-requests)
If you have your own DNS-server use that one.