From owner-freebsd-questions Thu Jun 14 22:50:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.halplant.com (24-168-203-47.wo.cox.rr.com [24.168.203.47]) by hub.freebsd.org (Postfix) with ESMTP id 2B6D237B403 for ; Thu, 14 Jun 2001 22:50:31 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id 6C6EA2150; Fri, 15 Jun 2001 01:50:20 -0400 (EDT) Date: Fri, 15 Jun 2001 01:50:20 -0400 From: Andrew J Caines To: FreeBSD Questions Subject: Re: Hostname Message-ID: <20010615015020.R581@hal9000.servehttp.com> Reply-To: Andrew J Caines Mail-Followup-To: FreeBSD Questions References: <20010614061219.8584.qmail@web14706.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010614061219.8584.qmail@web14706.mail.yahoo.com>; from wayneclubin@yahoo.com on Wed, Jun 13, 2001 at 11:12:19PM -0700 Organization: H.A.L. Plant X-Powered-by: FreeBSD 4.3-STABLE X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne, > I connect to the internet with DSL I presume you use DHCP to get your IP. > what value do I use for 'hostname' in the rc.conf file. That may or may not be as important as the first entry which you should have in your hosts file for your IP. I suggest that if you want to run your own servers - mail and others, then you should sign up with some kind of dynamic DNS service. There are several which you can use for free* and several which charge a modest fee. Typically when you use such a service, you'll be in some domain which the service provider owns, for example I am in servehttp.com. I then set my hostname to "hal9000.servehttp.com" in rc.conf and have.. (my IP) hal9000.servehttp.com hal9000 hal ..in my /etc/hosts. If you do likewise, sendmail should be perfectly happy. For the record, I don't use sendmail but I am familiar with its behaviour wrt qualifying server names. Note that more importantly than just avoiding messages at startup, you will be unable to deliver mail to some servers unless they can look up your FQDN. *[ I use no-ip.com and am happy with them so far, although my IP hasn't changed yet so I haven't confirmed that the update works.] -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@altavista.net | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message