From owner-freebsd-questions Thu Nov 11 21:10: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by hub.freebsd.org (Postfix) with ESMTP id 86A6B14FED for ; Thu, 11 Nov 1999 21:09:59 -0800 (PST) (envelope-from papalia@UDel.Edu) Received: from morgaine (host75-157.student.udel.edu [128.175.75.157]) by copland.udel.edu (8.9.3/8.9.3) with SMTP id AAA03285; Fri, 12 Nov 1999 00:09:48 -0500 (EST) Message-Id: <4.1.19991111235710.0094b460@mail.udel.edu> X-Sender: papalia@mail.udel.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Fri, 12 Nov 1999 00:09:56 -0500 To: Michael Kennett From: John Subject: DNS (was: DNS & Virtual hosting) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199911120321.LAA09091@laurasia.com.au> References: <4.1.19991111214558.009489f0@mail.udel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the quick response Mike - it's VERY appreciated. Of course, with every answer, there are more questions that I'm hoping you or someone else might be able to help me with :) >AFAIK, you're not really asking about `virtual' hosting. Indeed, it seems to >me that what you want to do can be accomplished by setting up your machine >with DNS (check out man named (8), and /usr/share/doc/smm/10.named). I wasn't sure about the virtual hosting part... I've been looking at playing with DNS for a while, but all the warnings in the conf files make it a bit daunting. But, what can I learn without trying :) the file in /usr/share/doc/smm/10.named - how/with what is that read? It seems readable in lynx, but quite a mess. >With DNS, there need to be (at least) two machines that contain records for >the foo.bar domain. Both of these machines should be available *all* the >time (24 hours each day). You'd also need to find a friend/associate who is >prepared to act as a `secondary' DNS server for your domain name. I think I can find someone to ask to do that (hopefully). >Finally, once you have a DNS server setup, the name will propagate out to >the world. This propagation is controlled by the `expiry' time parameter >in the DNS records -- if you set the expiry time to 4 weeks, you can't >change (radically!) your setup the next day. Every 4 weeks the non-authorit- >ative DNS servers will flush out (expire) the foo.bar domain records, and >refetch them (when demanded) from an authoritative source. Now, this is the kinda stuff that I need to learn before putting all my eggs in my own DNS basket. For example, the name propagates, but how? This kinda makes it sounds like you don't even really have to go thru NetworkSolutions or the other registration services to actually register? That just kinda sounds odd (then again, I'm currently in the infancy of knowledge on this :) ) Other than reading the entire O'Reilly book on Bind and DNS, is there a how-to on configuring named? I couldn't locate one on freebsd, freebsddiary, or freebsdrocks. >So yes, if you set up your own DNS, it would propagate! Thanks again!!!! --John Papalia >> Hey all... >> >> I'm not sure how to phrase my question correctly, so please bear with me. >> >> Right now, I'm running a box off the university system in my apartment - >> static IP. I was looking to register a few domain names (so that I'll have >> them when I need them in a couple of months). As it stands right now, the >> university's DNS tables have me in as students157-57.udel.edu. If I got a >> domain name, the unversity has no problem with me having it point to my >> box, but they will not modify/add to their existing DNS tables. My >> understanding is that that would have to happen in order for foo.bar (or >> whatever the domain is) to point to my box. >> >> Is there any other way around that? For example, could I set up my own >> DNS, add myself to the list, and then would it propagate? >> >> I'm not sure if this question is clear or not, so please ask me to rephrase >> or provide more info is necessary. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message