DNS Correction for the Staging Server

From Open Source Ecology
Jump to: navigation, search

Safer alternative

This is a safer alternative for accessing the staging server, if you only need that access in a browser.

sudo apt-get install firejail
firejail --dns=10.241.189.1 firefox

Run After Connecting

sudo cp /etc/resolv.conf /etc/resolv.conf.bak

echo "nameserver 10.241.189.1" | sudo tee /etc/resolv.conf

Run After Disconnecting

sudo rm /etc/resolv.conf

sudo mv /etc/resolv.conf.bak /etc/resolv.conf

See Also