Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpcc05!hpcc01!cricket From: cricket@hpcc01.HP.COM (Cricket Liu) Newsgroups: comp.sys.hp Subject: Re: Name resolution service for HP 9000/HP-UX 7.0 Message-ID: <1670002@hpcc01.HP.COM> Date: 3 Oct 90 17:33:18 GMT References: <3532@dftsrv.gsfc.nasa.gov> Organization: HP Internet Data Operations Lines: 32 I want to set my 800 and 300s up to get IP addresses from a name server. Are name-resolver versions of the standard ARPA/Berkeley programs (telnet, ftp, SMTP, etc.) available for HP-UX 7.0? Maybe just an MX sendmail? TIA. Actually, the versions of telnet, ftp, etc., that are shipped with HP-UX 7.0 are compiled with resolver versions of gethostby*(). If you've got a nameserver running for your local domain, all you need to do is point /etc/resolv.conf at it using the "nameserver" directive, like so (also see man 4 resolver): nameserver 128.183.10.134 If you want your search list to be set correctly and you don't set your hostname to a full domain name, you should also use the "domain" directive (also man 4 resolver) in /etc/resolv.conf: domain gsfc.nasa.gov sendmail is trickier - your sendmail.cf file may need to include the appropriate canonicalization operators, etc., to work with nameservice. But I think that the stock sendmail.cf shipped with 7.0 (/etc/newconfig/sendmail.cf) does that. Last, if you want to *run* a nameserver locally, I'd suggest having a look at the "Installing and Maintaining BIND" chapter in the _Installing and Administering ARPA Services_ manual. cricket hostmaster@hp.com