SUMMARY: DNS and Solaris

From: Nikos Passas-NOC (npas@isosun.ariadne-t.gr)
Date: Fri May 26 1995 - 09:22:30 CDT


Hello Sun Managers,

With this mail I'd like to thank all of you who have responded to
my question about DNS in Solaris. The original question was:

>
> I'm facing some problems with a Sun Sparc 10, having Solaris and
> I would appreciate some help.
>
> I tried to put the Sparc on the network and although all the network
> programs works fine (ftp, telnet, gopher) using IP addresses,
> DNS seems to have problems and no program works with IP names.
>
> I have created the file /etc/resolv.conf and put in it the default DNS
> servers but it didn't help. I assume that the problem is in the resolver
> library (/usr/lib/libresolv.so) but I'm not sure.
>
> Does anyone have any ideas about what might be the problem?

I took more answers than I could dream of and all of them advise me to
look at the file /etc/nsswitch.conf. Here is a sample answer:

> Look in the file /etc/nsswitch.conf and verify that the "hosts"
> entry looks like this:
> hosts: dns files
>
> This tells the host to consult DNS records before /etc/hosts entries.
> The default for this file is to state only "files" (/etc/hosts, etc.)
> The "dns" string must appear first, reading from left to right.

Actually this was a simple problem but I have to say that the machine
of interest was a remote host and I had no manuals to read, so I was
trying to find a way out. I want to thank all the people who aswered.
The list of them follows (I hope I don't forget anybody. Excuse me if
I do).

Sonic the Hedgehog <sonic@deepspc1.htls.lib.il.us>
Stephen Schaefer - Imonics Consultant <sps@imonics.com>
sunman@criterion.com (Aditya Talwar)
Casper Dik <casper@Holland.Sun.COM>
Lyle Miller <lmiller@aspensys.com>
bidwell@andrews.edu (Daniel R. Bidwell)
deal@ait.nrl.navy.mil (Butch Deal NRL)
reedwv@expu79 (Bill Reed)
dly@caveat.csl.sri.com
kmumford@esoc.esa.de (Mumford)
"MR.OMAR" <root@tsd.ksm.com.my>
sunm@erm.oz.au (Brett Newton-Palmer(Sun Admin))
Jack Porter <jack@scope.dentistry.adelaide.edu.au>
tkevans@eplrx7.es.duPont.com (Tim Evans)
Ric Anderson <ric@seagull.rtd.com>
rosetti@mailhost.ocp.rl.af.mil (Jim Rosetti)
misawa@physics.Berkeley.EDU (Shigeki Misawa)
reggie@rentec.com (Reggie Dugard)
Paul_Lupa@galileo.tracor.com (Paul Lupa X4184)
From: Simon Burr <simes@tcp.co.uk>
Chris Swanson <cds@SSDS.com>
Matt.Sherek@seag.fingerhut.com (Matt Sherek)
terence@interval.net (Terence P. Spielman)
Andy_Feldt@phyast.nhn.uoknor.edu (Andy Feldt)
"Tanya Herlick" <tanya@ora.com>
"Michael (M.A.) Meystel" <MEYSTMA@DUVM.BITNET>
"Michael J. Covington" <covingto@NADN.Navy.MIL>
roy@mss.com (Rahul Roy)
Philip Moose <moose%ctc.csustan.edu@altair.csustan.edu>
Anatoly.Lisovsky@kamaz.kazan.su (Anatoly M. Lisovsky)
brunel@delver.iterus.org
bobr@SUGAR-LAND.WIRELINE.SLB.COM ( Bob Reardon )
Tom Mornini <tmornini@parallaxinc.com>
guy@netapp.com (Guy Harris)
stern@sunrise.East.Sun.COM (Hal Stern - Distinguished Systems Engineer)
Eric.Olemans@esat.kuleuven.ac.be
"System Administrator" <suli@indi1.sebuaa.ac.cn>
cmacleod@mcs.dundee.ac.uk (Colin Macleod)
"Scott L. Sherrill" <slsherri@mtu.edu>
jerry.springer@valcom.com (Jerry Springer)
"Mike Ordun" <mro@lci.com>
"N" <Nikos.Apostolou@intranet.gr>

Thanks again

Nikos Passas
Systems Administrator
Ariadne Network
NCSR Demikritos
Athens - Greece



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:25 CDT