home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,728 of 14,669   
   Jorgen Grahn to SpreadTooThin   
   Re: hostname vs hostname.local   
   19 Feb 09 19:43:52   
   
   c734a066   
   From: grahn+nntp@snipabacken.se   
      
   On Sun, 15 Feb 2009 12:07:44 -0800 (PST), SpreadTooThin    
   wrote:   
   > Hi.. I have a mixed environment of macs and pc.   
   > On the pcs ns lookup works if you just specify the hostname, where as   
   > on the mac you must specify hostname.local.   
   >   
   > 1) Which is correct?   
      
   Both, but most people think it's inconvenient to have to type the   
   domain name all the time.   
      
   Assuming MacOS works like a normal Unix, you might edit   
   /etc/resolv.conf to say "whenever someone on this machine just says a   
   host name, he means .. Quoting the BSD man   
   page resolv.conf(5):   
      
       domain Local domain name.   
           Most queries for names within this domain can use   
           short names relative to the local domain.  If  no   
           domain entry is present, the domain is determined   
           from the local host  name  returned  by  gethost-   
           name(); the domain part is taken to be everything   
           after the first .'.  Finally, if the  host  name   
           does  not  contain a domain part, the root domain   
           is assumed.   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn           R'lyeh wgah'nagl fhtagn!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca