From owner-freebsd-questions Thu Mar 26 12:16:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15169 for freebsd-questions-outgoing; Thu, 26 Mar 1998 12:16:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA15118 for ; Thu, 26 Mar 1998 12:15:55 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id OAA22326; Thu, 26 Mar 1998 14:14:54 -0600 (CST) From: "Paul T. Root" Message-Id: <199803262014.OAA22326@horton.iaces.com> Subject: Re: dns lookup by ip-address wrong To: jms@caja-granada.es (Jose Megias Sanchez) Date: Thu, 26 Mar 1998 14:14:54 -0600 (CST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from Jose Megias Sanchez at "Mar 26, 98 08:10:20 pm" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Jose Megias Sanchez said: > When I try to look for a machine of my lan by its ip-address then name return is wrong. For example I use the command nslookup jms, the answer is: > > Server: mulhacen.caja.es > Address: 0.0.0.0 > > Name: jms.caja.es > Address: 130.130.105.3 > > > if I try the command nslookup 130.130.105.3, the answer is: > > Server: mulhacen.caja.es > Address: 0.0.0.0 > > Name: jms.130.130.in-addr.arpa > Address: 130.130.105.3 > > where the name return is different. What's wrong? > I'd say your reverse lookup table is wrong. A PTR record wants to point to a fully qualified name. ie: $ORIGIN 105.130.130.in-addr.arpa. 3 IN PTR jms.caja.es. Be sure to have the . at the end. -- If you saw a lawyer riding down the road on a bicycle, why wouldn't you swerve to hit it? It's probably your bike! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message