Computing.Net > Forums > Solaris > Hostname-to-IP address -- Problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Hostname-to-IP address -- Problem

Reply to Message Icon

Name: Deb
Date: August 29, 2001 at 09:00:12 Pacific
Comment:

Hi,
I have some problem with hostname-to-IP address translation. Because my net works fine when I put IP address in the browser.

Can anyone suggest a solution in details for this problem.

Thanks.
Deb



Sponsored Link
Ads by Google

Response Number 1
Name: oliver
Date: August 29, 2001 at 09:48:02 Pacific
Reply:

configure DNS.

edit /etc/resolv.conf and /etc/nsswitch.conf

you can either man them or find examples on the web


0

Response Number 2
Name: phlyp
Date: August 29, 2001 at 09:58:11 Pacific
Reply:

I had the same problem just today. This is what I did, hope it helps:
--Put the address of the default gateway in the /etc/defaultrouter file
--Put ip addresses of dns nameservers in /etc/resolv.conf (in the form "nameserver ", without the quotation marks and using the actual ip address in the place of )
--Copied /etc/nsswitch.conf to /etc/nsswitch.old and copied /etc/nsswitch.dns to /etc/nsswitch.conf

Hope this helps.


0

Response Number 3
Name: Horus
Date: November 30, 2001 at 10:18:11 Pacific
Reply:

Thanks, that helped me too.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


changing power management... Modem install on Sol 7



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Hostname-to-IP address -- Problem

Change of IP Address www.computing.net/answers/solaris/change-of-ip-address/1186.html

setting up my sparc5 as dns client www.computing.net/answers/solaris/setting-up-my-sparc5-as-dns-client/2866.html

Solaris2.8 IP address config on a Intel www.computing.net/answers/solaris/solaris28-ip-address-config-on-a-intel-/588.html