From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 14:48:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37F4037B401 for ; Fri, 25 Apr 2003 14:48:34 -0700 (PDT) Received: from chimera.noanet.net (chimera.noanet.net [66.119.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A60443F75 for ; Fri, 25 Apr 2003 14:48:33 -0700 (PDT) (envelope-from mksmith@noanet.net) Received: from [64.81.189.2] (mks733.mks.noanet.net [64.81.189.2]) by chimera.noanet.net (8.12.8p1/8.12.8) with SMTP id h3PLmWUJ034718; Fri, 25 Apr 2003 14:48:32 -0700 (PDT) User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Fri, 25 Apr 2003 14:48:31 -0700 From: "Michael K. Smith" To: James Lee , FreeBSD Questions Message-ID: In-Reply-To: <003201c30b72$94b038e0$0100a8c0@xp> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: ---- Sendmail not working from command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 21:48:34 -0000 On 4/25/03 2:35 PM, "James Lee" wrote: > I have a real domain name. I have an ISP. I changed the Server name to > ra.myisp.com it's not really ra.myisp.com because I'm sending my info > through email. I also changed the address. The real address points to > my ISP's primary DNS server. My domain is hosted at another ISP. > Locahost.com resolves to the 10. Address as listed below: -bash-2.05b$ host localhost.com localhost.com has address 10.11.12.13 localhost.com mail is handled (pri=10) by ghost.localhost.com You need to have the following line in your config: 127.0.0.1 localhost localhost.my.domain Where you change localhost.my.domain to whatever your machine resolves to, or just leave it the way it is. Don't, however, use localhost.com. That is a valid DNS name and belongs to someone else. If your aren't running DNS locally, make sure you have the following in your /etc/resolv.conf. domain nameserver Mike > -----Original Message----- > From: William > Sent: Friday, April 25, 2003 12:13 PM > To: > Cc: freebsd-questions@freebsd.org > Subject: RE:---- Sendmail not working from command line. > > On Fri, 25 Apr 2003, James Lee wrote: > >> This is the output for nslookup localhost.com >> >> # nslookup localhost.com >> Server: ra.myisp.com >> Address: 208.98.98.98 >> >> Non-authoritative answer: >> Name: localhost.com >> Address: 10.11.12.13 > > There seems to be some confusion here. Both localhost.com and myisp.com > are registered domain names, belonging to other people. They shouldn't > really be used as names for your machines. ra.myisp.com itself resolves > to 64.38.103.192. > >> I changed the servers name to ra.myisp.com because it points to my >> providers DNS server. I also changed the address underneath server >> because it was my ISPs DNS address. I don't know where to fix this >> problem. I also don't know why the Non-authoritative's address is >> 10.11.12.13 > > That is because that is the name the owners of localhost.com have chosen > to have it resolve to. Localhost != localhost.com > > Ideally, use a domain you own for your internal DNS, or, as long as the > machine is not answering queries coming in from the Internet, make up a > domain like internal.intranet or mydomain.moc. I have tried using TLDs > as internal-only domains, but they don't work very well. Some programs > expect name.ext and don't like www.lan or user@lan, with lan. as the > local-only TLD. > > Bill. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Michael K. Smith NoaNet 206.219.7116 (work) 206.579.8360 (cell) mksmith@noanet.net http://www.noanet.net