Host not Resolvable -Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Host not Resolvable -Solaris
# 1  
Old 03-07-2012
Host not Resolvable -Solaris

How do you fix a Host not resolvable error when visiting a website. Thanks
# 2  
Old 03-07-2012
You need to be more specific about yuor issue. This is a Unix box? Which o/s?

URL's in browsers need to be resolvable. Do to that your machine must know where it's DNS server(s) is and probably also need to know the IP of it's gateway in order to get to the DNS server.

Post more info please.
# 3  
Old 03-07-2012
Is the site working externally and also internally? or one of the other
# 4  
Old 03-07-2012
This is a unix box running solaris 10. i know where the DNS server is and also its ip. I just need help with what the steps and what commands i should be using. The site works when using a computer outside the enterprise.

Thanks in advance
# 5  
Old 03-07-2012
Okay, I see your reply post.

Firstly, I'll cheat and give you this link to save me some time:-

Solaris UNIX: How to Setup DNS Client configuration / name server

The files are:-

/etc/hosts which will resolve local stuff (your subnet and LAN)
Lines contain an IP address followed by a host name

Further afield the system looks at resolv.conf
Lines contain the word "nameserver" followed by an IP address.
There can be multiple lines ie. multiple DNS servers.

For this to work the file:
/etc/defaultrouter should tell your system where the gateway is to get out of your LAN.
One line contains just an IP address. Nothing else need.

With the above your system should know how to get beyond your LAN and one or more DNS servers to send resolution requests to.

Hope that helps.

---------- Post updated at 07:18 PM ---------- Previous update was at 07:14 PM ----------

Forgot to say that some of these files may not exist after a raw install. Just create them with an editor and populate them as described.

---------- Post updated at 07:34 PM ---------- Previous update was at 07:18 PM ----------

resolv.conf also resides in /etc
This User Gave Thanks to hicksd8 For This Post:
# 6  
Old 03-07-2012
In addition to hicksd8's excellent post, also read up on the nslookup and traceroute commands.
# 7  
Old 03-07-2012
Thanks Hicks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 virtual - how do I tell physical host?

uname -a reports type Generic so I know its virtual. Assume its an ldom somewhere. How do I find out what physical host server is? (4 Replies)
Discussion started by: psychocandy
4 Replies

2. Solaris

Upgrading a Solaris host.

Am looking to go from Solarus Update 4 to Solaris Update 6. I've downloaded the U6 patch cluster and installed, but it seems to me this ins't a true upgrade. Am I wrong? Is there a better way to upgrade my system? (2 Replies)
Discussion started by: akbar
2 Replies

3. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

4. Solaris

Moving Solaris 9 Host to new SAN.

Hi All, Hopefully you can answer my question. We are about to move to a new Fibre Channel infrastructure going from Cisco to Brocade switches. Amongst others, we have a number of Solaris 9 hosts which connect to our EVA5000 and EVA8100 array's. What is involved in moving the Solaris hosts to... (3 Replies)
Discussion started by: eptc
3 Replies

5. Solaris

Unable to ping Solaris VM from Xp host

Hi All, I am using Vmware Workstation 6.0.3 build-80004. Guest OS: Solaris 10 Host OS : Win XP I am getting request time out when i am trying to ping from XP ( cmd line) to Solaris VM - I have assigned IP 192.168.50.5 in Solaris VM ( Hostname: Tower1) and it is in UP status. ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

6. UNIX for Dummies Questions & Answers

vendor of physical host with Solaris OS

I have a machine with Solaris OS 10 installed. What command/file can give me the vendor of physical machine. I have a machine with AIX OS installed. What command/file can give me the vendor of physical machine. I have a machine with Linux OS installed. What command/file can give... (1 Reply)
Discussion started by: epriya2003
1 Replies

7. UNIX for Dummies Questions & Answers

Host ID in Solaris Machine

Hi, On doing reinstallation of Solaris 10 OS, does an existing host id change? Regards, Thiru (1 Reply)
Discussion started by: nthiruvenkatam
1 Replies

8. Solaris

Solaris on Vmware host of vista

Hi I am planning to install solaris as a virtual machine on vista as host os. My requirements are I want to access virtual machine from vista using putty. So how to assign static ip to virtual machine ? In future i might have to virtual machines so i want communication between them as... (3 Replies)
Discussion started by: ankurk
3 Replies

9. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

10. UNIX for Dummies Questions & Answers

Accessing a modem on another Solaris host

Hi! I have 2 Solaris 9 servers (server 1 and server 2) on my network, both have a serial port with dial in/out modems. On server 1 there are always problems with the modem connection, so I really would like server 1 to use the the modem(s) on server 2, when sending something. Is there some way... (4 Replies)
Discussion started by: gsf
4 Replies
Login or Register to Ask a Question