APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Setup resolv.conf SCO Unix

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Different systems have slightly different syntax for resolv.conf - this is for S CO Unix 3.2v4 and 5 and may not work elsewhere. There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

/etc/resolv.conf needs to be readable by everyone. Do "chmod 644 /etc/resolv.conf" if it is not.

A sample resolv.conf:


domain whatever.com
nameserver 216.70.169.66
nameserver 216.70.169.67
hostresorder local bind
 

DON'T USE THESE NAMESERVERS! Use nameservers close to your network- usually your ISP's nameservers.

You replace "whatever.com" with your local domain name. If you have no idea what that means, look in /etc/hosts- you probably set SOMETHING when you installed the machine. This part isn't really important unless you have an internal network of machines- what it does is tell the resolver which domain names YOU are responsible for. Just don't set it to a real domain like "sco.com"- that would mess you up.

Replace the xyz.xyz.xyz.xyz in the "nameserver" lines with the addresses your ISP gave you. Note that these HAVE to be numeric addresses, not host.domain names. You can have multiple nameserver lines.

That's it- you don't have to reboot- it will work instantly.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> Setup resolv.conf SCO Unix



Increase ad revenue 50-250% with Ezoic

Kerio Samepage


Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us





Science is what we understand well enough to explain to a computer. Art is everything else we do. (Donald Knuth)





This post tagged: