Add nameserver without DNS

Linux

1.Edit : etc/sysconfig/network
Add : HOSTNAME=”dodol”

2. Edit /etc/hosts
Add : 127.0.0.1 dodol

Windows
c:\windows\system32\drivers\etc\hosts
Add : 127.0.0.1 dodol

1 thought on “Add nameserver without DNS”

Leave a Comment

Your email address will not be published. Required fields are marked *