retoon
08-16-2003, 12:09 PM
Hey all, I am looking for the text configuration file for available DNS servers. I would like to specify a dns server on a solaris box so that it may connect to the internet. Thank you for any help.
|
Click to See Complete Forum and Search --> : Change DNS Server in Solaris retoon 08-16-2003, 12:09 PM Hey all, I am looking for the text configuration file for available DNS servers. I would like to specify a dns server on a solaris box so that it may connect to the internet. Thank you for any help. Alex Cavnar, aka alc6379 08-16-2003, 09:31 PM As root, open up /etc/resolv.conf in a text editor. You don't even have to delete anything if you want, you'd just simply add the nameserver you wanted to use. For instance, my /etc/resolv.conf looks like this: nameserver 68.52.0.6 nameserver 68.52.0.5 Cool thing is, that's a universal syntax. My box is a FreeBSD machine, but it's exactly the same under Linux, Solaris, *BSD's, HP-UX, etc... retoon 08-19-2003, 12:53 PM Thank you very much for the help. It works for me under linux, but when I went onto my Solaris 8 box, there was no resolv.conf file. Would you know if I had to create it? Also, not to be a pest, but I noticed that there was also no /etc/sysconfig/network-scripts/ifcfg-eth0 file where I could change the ip address. Lately I have had to do alot of work with a Solaris box and need to be able to change simple things like the ip, dns, gateway. I appreciate the help you've given me so far. Any more would also be appreciated.:) justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |