Solved

Name Resolution Solaris 2.5

Posted on 1998-03-03
1
278 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
1 Comment
 
LVL 5

Accepted Solution

by:
n0thing earned 20 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

839 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