From owner-freebsd-questions@FreeBSD.ORG Sun Feb 13 03:11:39 2005 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 9769016A4CE for ; Sun, 13 Feb 2005 03:11:39 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id B344C43D39 for ; Sun, 13 Feb 2005 03:11:38 +0000 (GMT) (envelope-from rlurman@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so488917rng for ; Sat, 12 Feb 2005 19:11:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mpHAYTk1LpPEV9CzFnnwbtqfimxfocNde0kF0UdpPa/Rc4BXnJ+g4pFrT5qB97DBZJDOFej1YqifYggzA3VBJggef8VrHGf+/xsyHT+N9THVayb8IeAHE5s/RO5HJlph3N7TqineeEwcdDI7EEU46gSRGUkwlY0gUMsrT77oP1I= Received: by 10.38.59.27 with SMTP id h27mr17354rna; Sat, 12 Feb 2005 19:11:38 -0800 (PST) Received: by 10.38.149.30 with HTTP; Sat, 12 Feb 2005 19:11:38 -0800 (PST) Message-ID: Date: Sat, 12 Feb 2005 22:11:38 -0500 From: RL To: freebsd-questions@freebsd.org In-Reply-To: <20050213025436.GB3936@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050213025436.GB3936@grover.logicsquad.net> Subject: Re: Setting up own domain and mailserver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: RL List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 03:11:39 -0000 On Sun, 13 Feb 2005 13:24:36 +1030, Paul A. Hoadley wrote: > On Sat, Feb 12, 2005 at 07:52:08PM -0500, RL wrote: > > > 1. I have adelphia cable internet. I would like to get a dyndns or > > no-ip.com account to have a static IP for my new godaddy domain. > > I assume both of those services are dynamic DNS providers, and I'll > assume your cable provider gives you a dynamic IP address. Dynamic > DNS providers don't provide you with a static IP, but rather > nameservice for your domain. The provider will nominate some subset > of their nameservers for you to register (with the registrar that sold > you the domain name) as providing DNS for your new domain. The idea > is that whenever your IP address changes, you contact the dynamic DNS > provider (in some provider-specific way---e.g., a web form, a local > script) to update your A record. > > > Simple enough. However, I would like to also do my own DNS to learn > > more about it. Will I be able to do this if I set my nameserver on > > godaddy to my box's dyndns address? > > Almost certainly not, for two reasons. You need a static IP address > to lodge with your registrar. (I guess it would be _possible_ to > manually update the address with your registrar every time it changes, > but quite impractical.) Further, you need to provide at least two > nameservers for your domain. Again, it is _possible_ that you could > personally provide one, and use a DNS provider as a secondary. > > > 2. What about reverse DNS? Could I possibly do that on my box? > > Not unless you solve all of the problems above, and then discuss the > issue with your ISP---since they own the IP address, they run the > corresponding part of the in-addr.arpa zone, and the specific PTR > record you will require. > > > 3. I would also like to run my own mailserver for that domain (again > > to learn). Would I be able to do this and send receive email > > from/to name@mynewdomain.com? > > This you'll be able to do. You need to add an MX record to your zone > file at the dynamic DNS provider. You would want mail sent to the > host named in the A record. > > > I know most ISPs block port 25 and no-ip.com has a pay service > > called mail reflector that can get around this. Is this necessary? > > If _your_ ISP blocks port 25, then you'll have to do _something_ to > get around that, but I don't know if that particular service is the > right solution. > > > Why couldn't I just set up sendmail to use a port other than 25 like > > 8080? > > There's certainly nothing _intrinsically_ special about port 25. > However, it's the port that everyone's agreed to send mail to. If > your sendmail was listening on port 8080, how would my sendmail know? > > -- > Paul. > > w http://logicsquad.net/ > h http://paul.hoadley.name/ > > > Yeah and crappy Adelphia doesn't offer static IPs without charging way way too much. At least I should be able to set up my own mail.