Date: Thu, 12 Dec 2002 19:17:16 -0500 From: Andrew Y Ng <ayn@AndrewNg.com> To: Bsd Neophyte <bsdneophyte@yahoo.com> 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> In-Reply-To: <20021212072707.58724.qmail@web20109.mail.yahoo.com> References: <20021212072707.58724.qmail@web20109.mail.yahoo.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 machine 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 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 <bsdneophyte@yahoo.com> wrote: > > Alright, this is what I want to do... > > 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. > > > 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. > > 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. > 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. > > 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. > > Now, I'm completely confused if this can be done and if it can, then how > to do it. > > The FreeBSD handbook seems pretty straight-forward in setting up BIND. > 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? > > Does any of this make sense? > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- andrew y ng <ayn@andrewng.com> http://andrewng.com fingerprint : 46a1 29ff 893a 0381 dc81 1e1e bed8 e882 9bfc 594c [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021213001716.GA24632>
