Domains to search in

Author:

When you try to access a Web site, or any remote site, you need to specify the full hostname. This means the
machine name plus the domain name:
lynx my.yahoo.com
If you have a few domain names that you access a lot, you can make your life easier. You can edit
/etc/resolv.conf and add the domains there:
search domain.net yahoo.com
This means that the system will search in those domains for hostnames. From now on type:
lynx my
The system will now look for “my”, if that hostname doesn’t exist it will look for “my.domain.net”, and at
last “my.yahoo.com”.

Leave a Reply

Your email address will not be published.