From owner-freebsd-security Thu Nov 18 8:29:41 1999 Delivered-To: freebsd-security@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id BBF8A1528D for ; Thu, 18 Nov 1999 08:29:38 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id IAA85609; Thu, 18 Nov 1999 08:29:31 -0800 (PST) (envelope-from dillon) Date: Thu, 18 Nov 1999 08:29:31 -0800 (PST) From: Matthew Dillon Message-Id: <199911181629.IAA85609@apollo.backplane.com> To: matt Cc: "Mr. K." , freebsd-security@FreeBSD.ORG Subject: Re: [Systalk] localhost.org (fwd) References: Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org :Forgive me if I'm just being completely daft, but consider this; : :I have domain.com pointing to a machine, which is named s01.domain.com, :is my domain name domain.com or .com ? Now, .org would be the TLD (top :level domain), but inbox.com would be your domain name, a hostname would :be something.inbox.com. Though I will admit that the wording of the :resolv.conf man page could stand to be more clear. Having your domain :set like this to .org is a dangerous thing. As you saw with localhost.org. : :Matt No, you are absolutely right. I was about to comment on that myself. My domain is 'backplane.com' but the hostname I use for my main machine is 'apollo.backplane.com', not 'backplane.com'. I then simply route backplane.com's MX records and, of course, www.backplane.com, to apollo. The official name of a host is what gets returned by the 'hostname' program. It doesn't matter how many aliases you have, it is that name which the resolver uses to figure out everything else. It is not generally a good idea to name a host the same as your base domain. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message