Search Domains

Here at Sun I get a lot of e-mails with links containing abbreviated domain names to Sun intranet sites. For example:

http://sunweb.central

Which is intended to mean:

http://sunweb.central.sun.com

However, my browser tries to resolve it as:

http://www.sunweb.central

Which of course fails.

The solution is to simply add the following line to /etc/resolv.conf:

search sun.com 

Comments:

It's /etc/resolv.conf :-)

Posted by guest on August 18, 2008 at 05:10 AM GMT #

Corrected. Thanks for that catch.

Posted by Brian Leonard on August 19, 2008 at 02:11 PM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today