From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 16:55:44 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 55CAF37B405 for ; Thu, 27 Mar 2003 16:55:44 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E62E44075 for ; Thu, 27 Mar 2003 16:50:58 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id AF78851A6F; Fri, 28 Mar 2003 11:20:34 +1030 (CST) Date: Fri, 28 Mar 2003 11:20:34 +1030 From: Greg 'groggy' Lehey To: James Earl , Jaime , James Earl Message-ID: <20030328005034.GA72254@wantadilla.lemis.com> References: <20030327183154.GA622@comp4.ici.net> <20030327103827.A8705@mail.telestream.com> <20030327185204.GA645@comp4.ici.net> <20030327214336.GE645@comp4.ici.net> <20030327185204.GA645@comp4.ici.net> <20030327135506.A60255-100000@malkav.snowmoon.com> <20030327183154.GA622@comp4.ici.net> <20030327103827.A8705@mail.telestream.com> <20030327185204.GA645@comp4.ici.net> <20030327183154.GA622@comp4.ici.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20030327214336.GE645@comp4.ici.net> <20030327135506.A60255-100000@malkav.snowmoon.com> <20030327185204.GA645@comp4.ici.net> <20030327183154.GA622@comp4.ici.net> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 X-Spam-Status: No, hits=-38.2 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-questions@freebsd.org Subject: Re: Reverse DNS and single IP address space 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, 28 Mar 2003 00:55:52 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 27 March 2003 at 11:31:54 -0700, James Earl wrote: > I'm in the process of setting up primary and secondary name servers. > This is my first time setting up named so I'm kinda a newbie in this > area. > > My question is in regards to in-addr.arpa entries in named.conf and > zone files. In the FreeBSD Handbook and alot of other resources, I've > noticed how the ip address is reversed, with part of the address left > off. For example: > > zone "0.168.192.in-addr.arpa" { > type slave; > file "s/0.168.192.in-addr.arpa.bak"; > masters { > 192.168.1.1; > }; > }; This is a slave entry. It would be more interesting to see what the master config looks like. Anyway, this address is in an RFC 1918 non-routable address range. That means it's not unique, and it's completely meaningless on the global Internet. In fact, I have that address here :-) $ nslookup 192.168.0.1 Server: echunga.lemis.com Address: 192.109.197.82 Name: phantom.hidden.lemis.com Address: 192.168.0.1 > Now, what happens when I have only been allocated a single ip address > from my ISP (well, actually two, one for the primary/master and one for > the secondary/slave)? in-addr.arpa. addresses come in blocks of 256. You don't get the choice, your ISP has to provide reverse DNS. If he refuses, your only options are to find a new ISP or a /24 address range for which you can get reverse lookup. On Thursday, 27 March 2003 at 11:52:04 -0700, James Earl wrote: > On 2003.03.27 11:38 Victor Bondarenko wrote: >> On Thu, Mar 27, 2003 at 11:31:54AM -0700, James Earl wrote: >> [...] >>> Or, do I even need to worry about reverse DNS entries since my ISP >>> already has them setup? >> >> If your ISP has reverse DNS for your IP(s), there's really no point in >> you mapping them on your own. Your network might see whatever you've >> mapped, but the rest of the world will see what your ISP maps. > > I'm assuming if I can use nslookup [ip-address] to get my hostname, > that reverse DNS on the ISP is setup properly. Is this an okay > assumption? No. It depends on the name server you ask. If you have set up your name server as above, you'll get a response. Nobody else will, for the reasons mentioned above. On Thursday, 27 March 2003 at 13:55:37 -0500, Jaime wrote: >> I'm assuming if I can use nslookup [ip-address] to get my hostname, >> that reverse DNS on the ISP is setup properly. Is this an okay >> assumption? > > If you know enough about nslookup, then yes. I'd suggest "host > -v 1.2.3.4", though. Its a bit easier. :) Is that easier than "nslookup 1.2.3.4"? On Thursday, 27 March 2003 at 14:43:36 -0700, James Earl wrote: > Thanks for the help everyone! From your suggestions, it appears > reverse DNS is setup properly. Now if only my ISP could provide as > good of support, as all of you provided me! :) Unfortunately, most of it was wrong :-( Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+g5xaIubykFB6QiMRAoNKAJ4mec2iCmznQqKriYPnzuyQxnvpQgCfdMlE TgaHukkJEanFH29Iuot8uUU= =iMgY -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--