how to add DNS record on linux server code example Example: change dns resolver linux $ sudo vim /etc/resolvconf/resolv.conf.d/base