how to setup local dns in linux code example Example: change dns resolver linux $ sudo vim /etc/resolvconf/resolv.conf.d/base