From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 07:42:47 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 E039516A4CE for ; Fri, 21 Nov 2003 07:42:47 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6937D43FDF for ; Fri, 21 Nov 2003 07:42:46 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id hALFg3pd067288; Fri, 21 Nov 2003 16:42:03 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Fri, 21 Nov 2003 16:42:03 +0100 (CET) Message-Id: <200311211542.hALFg3pd067288@fw.farid-hajji.net> From: "Cordula's Web" To: root@pukruppa.de In-reply-to: <20031121161852.H28859@pukruppa.net> (message from Peter Ulrich Kruppa on Fri, 21 Nov 2003 16:35:59 +0100 (CET)) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <20031121161852.H28859@pukruppa.net> cc: freebsd-questions@freebsd.org Subject: Re: Static IP and fully qualified domain names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 15:42:48 -0000 > My ISP was so nice to give me a domain name (pukruppa.net) and > assign it statically to an IP (213.146.114.24). > [So now everybody in the world can telnet pukruppa.net and crack > my private machine :-) ] > > From reading manuals one should think, that now I could give my > machines names like one.pukruppa.net, two.pukruppa.net, etc... > and all these would be reachable via internet - but they aren't. > The only one that can be accessed is pukruppa.net . You need to add A records (or CNAME records) to your DNS zone pukruppa.net: one.pukruppa.net. A 213.146.114.24 two.pukruppa.net. A 213.146.114.24 ... Or, alternatively, use CNAME (don't forget the trailing dots) pukruppa.net. A 213.146.114.24 one.pukruppa.net. CNAME pukruppa.net. two.pukruppa.net. CNAME pukruppa.net. ... Setting A records directly saves one additional lookup though. You could also use Wildcard DNS records (*.pukruppa.net. A ....), but I wouldn't recommend this. BTW, you could also use a better PTR record for your IP: 24.114.146.213.IN-ADDR.ARPA domain name pointer reverse-213-146-114-24.dialin.kamp-dsl.de kamp-dsl will be glad to set up a reverse record for you if you asked them. -- Cordula's Web. http://www.cordula.ws/