Dear Vaibhav,
As far I know,
For example if U add this in /etc/resolv.conf
search
redhat.com
it would mean that when U want to place a query like
ping
mail.redhat.com
due to the addition of the search keyword in
resov.conf
U could just type
ping mail
it would automatically ping
mail.redhat.com
Due to the ' search ' keyword it appends queried
hostname to the domain mentioned next to search to
every query U make
Correct me If I am wrong ...
Always waiting to upgrade myself ..
Hope I am of some Help
Regards,
Shailesh
Vaibahv wrote :
---------------------------------------------------
Hi All,
This sure is a too fundamental a question, and I could
not get an
understandable answer, hence I am seeking help here.
What is the meaning of "search foo.com" & "domain
foo.com" in
resolv.conf
resolv.conf contains a list of NS <as provided by
ISPs> which will do
domain to IP lookup... so then what will searched on
foo.com ??
Diff. betwee search
foo.com & domains
foo.com
Trying to set my fundas correct... No flames pls.
Thank you.
Vai
=======================================================
.. just to save u some typing ;)
I am sure there is a deeper reasoning...
What about the dine DOMAIN