From owner-freebsd-questions Thu Dec 12 16:16:59 2002 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 C28DD37B401 for ; Thu, 12 Dec 2002 16:16:56 -0800 (PST) Received: from andromeda.68k.org (callisto.teisoft.com [12.109.66.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD9E43EC2 for ; Thu, 12 Dec 2002 16:16:55 -0800 (PST) (envelope-from ayn@andromeda.68k.org) Received: from andromeda.68k.org (ayn@localhost [127.0.0.1]) by andromeda.68k.org (8.12.6/8.12.6/Debian-6Woody) with ESMTP id gBD0HGIE024804 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 12 Dec 2002 19:17:17 -0500 Received: (from ayn@localhost) by andromeda.68k.org (8.12.6/8.12.6/Debian-6Woody) id gBD0HGZS024802; Thu, 12 Dec 2002 19:17:16 -0500 Date: Thu, 12 Dec 2002 19:17:16 -0500 From: Andrew Y Ng To: Bsd Neophyte Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hosting more than one website on a cable connection (DHCP)... and using BIND Message-ID: <20021213001716.GA24632@AndrewNg.com> References: <20021212072707.58724.qmail@web20109.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20021212072707.58724.qmail@web20109.mail.yahoo.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable you can create a dynamic hostname with dyndns.org and update it with ddclient, and create a CNAME entry for your machine and alias it to the dyndns hostname at your DNS. (i have home.andrewng.com to point to my machi= ne behind a cable modem with a dynamic IP address) you can just set the DNS to that dynamic hostname at the registrar. you need one more DNS though, dyndns has a DNS hosting service, but I'm=20 not sure if that is free... this takes care of the having your own domains part... to resolve to different machine, I think you can look into NAT and BIND, I have not done that myself, but I'll probably be look into doing that soon. right now I'm simply running sshd at a different port and have my firewall forward it to the other machine... :) /ayn On 0, Bsd Neophyte wrote: >=20 > Alright, this is what I want to do... >=20 > I have a cable connection that uses DHCP, giving me a lease for about 2 > minutes. Usually the address stays the same, but at times it does change. > =20 >=20 > I want to host two domain names to start. I also would like to have the > possiblity to host more. I will have only one changing IP. >=20 > I also want to have subdomains. I want each system at home to have a > subdomain based on either one of the two domain's I'll have established.= =20 > So if I have blah.com as my primary domain, I want to be able to ssh to > yadda.blah.com from any other location. If I want to ssh to yawn.blah.com > from any other location, it should be able to connect to that system, > eventhough they are both sharing 1 ip address through Natting. >=20 > I've been told I can use these free third party domain name servers. I've > also been told that you need to keep a record with at least 2 domain name > servers when hosting a domain name. While, I can do this, I'd like to > host at least one DNS at home. >=20 > Now, I'm completely confused if this can be done and if it can, then how > to do it. >=20 > The FreeBSD handbook seems pretty straight-forward in setting up BIND.=20 > However, I don't know how to distinguish more than one domain name when > using only one IP address. Also, is it possible for the home DNS and the > third party DNS's to work in tandem? >=20 > Does any of this make sense? >=20 > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 andrew y ng http://andrewng.com fingerprint : 46a1 29ff 893a 0381 dc81 1e1e bed8 e882 9bfc 594c --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj35JwwACgkQvtjogpv8WUzaOACeJZHJSXf3eynPCmRnPJYD83kP iK4AoLGVjYTJIImllf/OaMHkImRy6TKu =dcMO -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message