Temporarily set dns server in raspbian

Submitted by code_admin on Wed, 07/25/2018 - 15:48

resolv.conf is lost on reboot. I use this method when using a raspberrypi device in USB mode to override my special home dns server which is the default setting.

  1. echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
RJM Article Type
Work Notes