SUMMARY: DNS and Solaris

From: Nikos Passas-NOC (
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/ 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 <>
Stephen Schaefer - Imonics Consultant <> (Aditya Talwar)
Casper Dik <casper@Holland.Sun.COM>
Lyle Miller <> (Daniel R. Bidwell) (Butch Deal NRL)
reedwv@expu79 (Bill Reed) (Mumford)
"MR.OMAR" <> (Brett Newton-Palmer(Sun Admin))
Jack Porter <> (Tim Evans)
Ric Anderson <> (Jim Rosetti)
misawa@physics.Berkeley.EDU (Shigeki Misawa) (Reggie Dugard) (Paul Lupa X4184)
From: Simon Burr <>
Chris Swanson <> (Matt Sherek) (Terence P. Spielman) (Andy Feldt)
"Tanya Herlick" <>
"Michael (M.A.) Meystel" <MEYSTMA@DUVM.BITNET>
"Michael J. Covington" <covingto@NADN.Navy.MIL> (Rahul Roy)
Philip Moose <> (Anatoly M. Lisovsky)
Tom Mornini <> (Guy Harris)
stern@sunrise.East.Sun.COM (Hal Stern - Distinguished Systems Engineer)
"System Administrator" <> (Colin Macleod)
"Scott L. Sherrill" <> (Jerry Springer)
"Mike Ordun" <>
"N" <>

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