From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 10:04:25 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 93B8337B401 for ; Fri, 25 Apr 2003 10:04:25 -0700 (PDT) Received: from ntli.com (pc1-glfd2-4-cust59.glfd.cable.ntl.com [81.99.187.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50A2F43FB1 for ; Fri, 25 Apr 2003 10:04:24 -0700 (PDT) (envelope-from william@palfreman.com) Received: from aqua.lan.palfreman.com (localhost [127.0.0.1]) by ntli.com (8.12.3p2/8.12.3) with ESMTP id h3PHDLRa035549; Fri, 25 Apr 2003 18:13:21 +0100 (BST) (envelope-from william@palfreman.com) Received: from localhost (william@localhost)h3PHDKOl035546; Fri, 25 Apr 2003 18:13:21 +0100 (BST) X-Authentication-Warning: aqua.lan.palfreman.com: william owned process doing -bs Date: Fri, 25 Apr 2003 18:13:20 +0100 (BST) From: William Palfreman To: James Lee In-Reply-To: <002801c30b37$5201eab0$0100a8c0@xp> Message-ID: <20030425175641.I632@ndhn.yna.cnyserzna.pbz> References: <002801c30b37$5201eab0$0100a8c0@xp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org 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 17:04:25 -0000 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. -- W. Palfreman. I'm looking for a job. Read my CV at: Tel: 0771 355 0354 www.palfreman.com/william/cv-wfp2.html