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
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.
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
Summary: ramesh, 2 procedures 1) for permanant change ie even if u reboot also it will take ,... edit /etc/hosts and give the hostname and ip address edit /etc/netmasks give the netmasks ip address edit /etc/...
Summary: Hi! /etc/defaultrouter should contain the ip-adress of your default gateway, that would proably be the adress of your adsl-router. /etc/resolv.conf should contain the keyword "nameserver" (exclude the...
Summary: Hello, I've installed Solaris 2.8 on an Intel machine. While installing, i chose the computer is networked, non-dhcp and gave the ip address and Netmask. But now if i give ifconfig -a, it doesn'...