From owner-freebsd-questions Thu Apr 6 17:48:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wat-border.sentex.ca (waterloo-hespler.sentex.ca [199.212.135.66]) by hub.freebsd.org (Postfix) with ESMTP id 3DD7337B77E for ; Thu, 6 Apr 2000 17:48:37 -0700 (PDT) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by wat-border.sentex.ca (8.9.3/8.9.3) with ESMTP id UAA63364; Thu, 6 Apr 2000 20:48:36 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id UAA16632; Thu, 6 Apr 2000 20:48:35 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: tylei@hotmail.com ("Jerry Lei") Cc: questions@freebsd.org Subject: Re: an error message from sendmail Date: Fri, 07 Apr 2000 00:45:59 GMT Message-ID: <38ed2e76.169947090@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 6 Apr 2000 19:01:15 -0400, in sentex.lists.freebsd.questions you wrote: >Hi, > >My FreeBSD3.3-release sometimes will give me an error message like >sendmail: gethostbyaddress(my IP address) error. > >Can anyone give me a suggestion about this error message? Thanks. Yes, the IP address does not have a DNS PTR record for it. If its just a 192.168.x.x address (i.e. from the RFC 1918 space), you can add an entry for it in the /etc/hosts file, and then change the order of /etc/hosts.conf or add something like zone "1.168.192.in-addr.arpa" { type master; file "db.192.168.1"; }; in /etc/named.conf and db.192.168.1 has something like @ IN SOA my.example.com. me.example.com. ( 200004060 ; serial 10800 ; refresh after 3600 ; retry after 604800 ; expire after 66000 ) ; minimum TTL ; ; Define the name servers IN NS my.example.com ; ; Addresses 1 IN PTR my-inside-address.example.com. ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message