To specify the new domain name server, you will need to edit the file resolv.conf
. Open the file with any text editor:
nano /etc/resolv.conf
and replace the ip-address with a new one in the line nameserver
:
# Generated by vps config generator
options rotate
options timeout:2
options attempts:1
nameserver 91.228.153.88
nameserver 212.224.118.111