This post below are the steps on how to configure primary and secondary DNS :
- Login as root
- Modify file /etc/resolv.conf
vi /etc/resolv.conf
- Add lines below
nameserver 192.168.6.17 nameserver 192.168.6.18
You must replace DNS IP on your own - Save and close the file
- To test DNS use one of the following command :
$ host google.com $ dig google.com $ ping google.com $ nslookup your-domain.com
No comments:
Post a Comment