Thanks , but i want another thing. That is : On my network there is a machine that runs DNS server. And i wanna use his service by showing my machine use IP of DNS server to resolve hostname.
For example on WIndows XP, i assigned the following paramaters:
+Preferred DNS server: 85.23.192.2
+Alternate DNS server:195.131.52.130
How to assign these parameters to networking interface on Solaris?
Thanks alot !!!
I have configured the following files:
1) resolv.conf
nameserver 85.235.192.2
nameserver 195.131.52.130
2) nsswitch.conf has a line:
hosts : files dns
and then i restart interface:
# ifconfig nfo0 down
#ifconfig nfo0 up
but it doesn't work.
#nslookup www.sun.com
request timeout , no server is not reachable
I have a note: in dierectory /etc not exist <resolv.conf> file, and i made it myself.
Please help me ! Thanks a lot !
... and are you going to keep that information a secret?
You came to this public discussion forum and asked for help.
It appears that responses pointed toward an eventual solution.
Would'n it be nice for others to also learn by simply reading the discusion thread?
Then they would not need to post their own version of the same question, just to get to the same result.
... teach, don't leech.
Excuse me, maybe u miss understanding about me. I'm not going to keep that information for myself. I don't know that u are interested in it. I always wanna get knowledge from everybody and share my knowledge ,hope that it is useful to someone.
My problem was: i didn't assign defaultgateway to my networking interface (IP 192.168.1.45). I connect internet through a Lan (through another machine IP 192.168.1.12), so if i wanna to use DNS server, i must route my machine to Gateway in order to connect to DNS server.
Thank u for a straight quote. I'm Vietnamese. We are friends !!!