From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 10:51:14 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 37F6D16A4CE for ; Tue, 15 Feb 2005 10:51:14 +0000 (GMT) Received: from grover.logicsquad.net (ppp140-249.lns1.adl2.internode.on.net [150.101.140.249]) by mx1.FreeBSD.org (Postfix) with SMTP id CC8E043D3F for ; Tue, 15 Feb 2005 10:51:09 +0000 (GMT) (envelope-from paulh@logicsquad.net) Received: (qmail 39525 invoked by uid 1000); 15 Feb 2005 10:51:05 -0000 Date: Tue, 15 Feb 2005 21:21:05 +1030 From: "Paul A. Hoadley" To: Luke Message-ID: <20050215105105.GB95283@grover.logicsquad.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: RL cc: freebsd-questions@freebsd.org Subject: Re: Setting up own domain and mailserver 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: Tue, 15 Feb 2005 10:51:14 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 14, 2005 at 08:56:01PM -0800, Luke wrote: > On Sat, 12 Feb 2005, RL wrote: >=20 > >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. > >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? And from there > >can I set up A records, MX Records, etc and all that good stuff? > > For a domain name to be effective, you need a public and highly > referenced source to map your name to your IP address. You certainly need a DNS server. > That's what these public registrars do. The registrar certainly puts an NS record in the top-level zone file. Beyond that, some of them no doubt provide nameservice for an extra fee, or are associated with some DNS provider. But registration of the name and provision of DNS are separate issues. > You want them to map your name to your address. You can't move that > service to your own box because... well.. how would anybody find you > in the first place? While your conclusion might be true for the OP (we have established elsewhere that he almost certainly can't do what he was hoping he could), it's not about being able to find his machine. If he fulfilled the technical requirements (static IP addresses, more than one host providing DNS), he certainly could point the world at his own box by nominating it, and another, as the namerservers with his registrar. > Technically you can do SOME of the domain service yourself if you're > running a network. Public DNS servers might get them to > yourdomain.com, and then you could direct them to > machine1.yourdomain.com, machine2.yourdomain.com, etc. but you > probably don't have any need for something like that at home. Unless you're describing port redirection of some kind, you're describing the OP doing his own DNS. I think we've ruled that out. > You can run your own DNS service to do lookups for yourself though, > and it's a fun way to learn about how the global system works. > Check out the sections of the FreeBSD Handbook on BIND. Running DNS > for a small network in my home was pretty educational for me. I agree. Running BIND on your own network is a good exercise. > >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? 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? Why couldn't I just set up > >sendmail to use a port other than 25 like 8080? >=20 > Sending isn't the problem. You can send from just about any port > you want. It's receiving that's the problem. When a mail server > tries to deliver mail to mynewdomain.com, it's going to be looking > for your mail server on port 25, because that's the standard. It's > just like how your web browser always goes looking for a web server > on port 80 when you contact another machine. Unless there's some > trick you can do with the MX records for your domain to advertise to > the world that your mail server is running on a nonstandard port, There is no such trick. > I don't know how you could get around the receiving problem if your > ISP blocks incoming connections to port 25, short of having some > external service like those you've mentioned cache the mail for you. As an aside, are there still ISPs that do this? How draconian. --=20 Paul. w http://logicsquad.net/ h http://paul.hoadley.name/ --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCEdQZ730Z/jysbzIRAhTXAJ9gfQdvNQepxUkAon/X/QbQddjGWACbB+sv K6pC2U0wQgJFAcO3RBaaNgA= =Ji1t -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--