How to Set Name servers on your Linux server to resolve to internet.

Set name servers in the following config file:
[root@localhost ~]# cat /etc/resolv.conf
nameserver 192.168.1.1
nameserver 8.8.8.8
[root@localhost ~]#


To verify if the name servers are working or not: # ping 192.168.1.254
# ping google.com

No comments:

Post a Comment

Thank You.

https://linwintech.blogspot.com/