Computing.Net > Forums > Solaris > resolv file

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.

resolv file

Reply to Message Icon

Name: wolf
Date: January 19, 2003 at 15:39:16 Pacific
OS: solaris 8
CPU/Ram: 128
Comment:

Hi, I'm trying connect internet on my solaris 8 and failed. My resolv.conf is:

68.82.0.5
68.82.0.6

Both are DNS ip from my cable company. From DOS on my w2k pc, I type ipconfig /all and the output is

C:\>ipconfig /all

Windows 2000 IP Configuration

Host Name . . . . . . . . . . . . : venus
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : malvrn01.pa.comcast.net

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : malvrn01.pa.comcast.net
Description . . . . . . . . . . . : 3Com EtherLink XL 10/100 PCI For Com
plete PC Management NIC (3C905C-TX)
Physical Address. . . . . . . . . : 00-01-02-71-97-D2
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 68.82.0.5
68.82.0.6
Lease Obtained. . . . . . . . . . : Sunday, January 19, 2003 5:34:30 PM
Lease Expires . . . . . . . . . . : Wednesday, January 22, 2003 5:34:30
PM

Did I miss something?



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: January 19, 2003 at 16:22:39 Pacific
Reply:

Your /etc/resolv.conf file should look like

---------------8<-----cut here----8<----
domain pa.comcast.net
nameserver 68.82.0.5
nameserver 68.82.0.6



0

Response Number 2
Name: wolf
Date: January 19, 2003 at 19:12:54 Pacific
Reply:

David, Thanks for your reply. I edit the resolv.conf and the internet access still failed. Following are the defaultrouter, resolv.conf and netstat -r

# more /etc/defaultrouter

192.168.1.1

# more /etc/resolv.conf

domain pa.comcast.net
nameserver 68.82.0.5
nameserver 68.82.0.6

# netstat -r

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-- ---------
192.168.1.0 aw90s U 1 1 elxl0
224.0.0.0 aw90s U 1 0 elxl0
default 192.168.1.1 UG 1 0
localhost localhost UH 2 6 lo0
#

192.168.1.1 is the linksys router ip. Please let me know if there are some problems in above setting. Thanks.


0

Response Number 3
Name: jmiturbe
Date: January 21, 2003 at 01:07:11 Pacific
Reply:

Hello,

Have you determined the nature of the problem? It can be a physical network problem, a network configuration problem, a routing problem, a naming service configuration problem,...

Can you ping your router using IP? If you can your local network seems to be OK.

Can you ping the dns servers using IPs? If you can the routing to these servers seems to be ok.

Can you ping any internet host using IP? If you can the default routing is OK.

Can you find IPs using nslookup? If you can but you cannot ping any internet url, looks like you did not "instruct" solaris to use the apropiate dns naming service (CONSIDER THAT MANY INTERNET URLs FILTER ICMP TRAFFIC LIKE PING, SO IF YOU CANNOT PING TRY WITH SOME OTHER URLs). This is done with the file /etc/nsswitch.conf. You must edit it and modify the hosts entry to include dns too, and not only files. There is a templete called /etc/nsswitch.dns you can look at.

Try to determine the cause of the error and weŽll try to help you.

Bye,

jmiturbe


0

Response Number 4
Name: francois_29
Date: January 21, 2003 at 05:33:22 Pacific
Reply:

check that /etc/nsswitch is also with a line

hosts: files dns

otherwise it will not check to your dns server


0

Response Number 5
Name: wolf
Date: January 21, 2003 at 18:59:21 Pacific
Reply:

Excellent answers, I edit /etc/nsswitch.conf by adding dns after 'osts: files'. The problem solved. Thanks all.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

unable to eject cdrom in ... Skipping system DUMP, No ...



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: resolv file

web page not opening for solaris 9 www.computing.net/answers/solaris/web-page-not-opening-for-solaris-9/3111.html

Getting online with solars 2.7 www.computing.net/answers/solaris/getting-online-with-solars-27/3196.html

solaris netscape www.computing.net/answers/solaris/solaris-netscape/1520.html