?
Solved

Name Resolution Solaris 2.5

Posted on 1998-03-03
1
Medium Priority
?
283 Views
Last Modified: 2013-12-23
I have a Solaris machine which is connected to the internet. I do not run DNS, but my ISP provides 2 name servers. During the boot process I can see a default route being added so that is there and I can ping machines using their IP addresses, but I cannot reolve any names.

In Irix, there is a file /etc/resolv.conf which contains (on my machines):

hostresorder local bind
domain foo.bar.com
nameserver x.x.x.x
nameserver y.y.y.y

I have tried creating similar files on the Solaris machine, but it doesn't work.

If I run nslookup, it even knows to look at the nameservers - why can't any applications find them!

What else is missing? This should be easy for you Sun admins!
0
Comment
Question by:cpranderia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
n0thing earned 60 total points
ID: 1583168
Hi,

  Edit /etc/nsswitch.conf in the hosts part add:

hosts: files dns

  Save it, it should work. Keep your resolv.conf as it.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question