Bind is working. Thank you for your insight and help!! Now its off to get the mail server running. On 2015-10-06 09:57, Rusty Ramser wrote: > "Thank you for your help!!" > No worries, mate. If I'm actually providing any help :) you're quite > welcome. > > > It sounds like to me you're wanting to use name-based virtual hosts on > Apache. Like thus: > http://httpd.apache.org/docs/2.4/vhosts/name-based.html > > If you will have one public IP address for your multiple domains (aka, > web > sites), then you will need an entry in an external DNS hoster for each. > Each domain DNS record will point to the same public IP address (your > single > web server). And then it will be up to your Apache server to see > www.wheresmycar.net, www.dogsmakingfaces.com, and > www.localbeerspecials.com > serve up the appropriate web site. (Note: I'm just guessing that > those are > the three web sites you're using; don't know for sure.) > > Your web server's non-routable internal IP address shouldn't really > ever > come into play during normal usage scenarios. Sure, if you enter the > IP > locally on your system you'll get the default page, but that's not > really > what external users will ever do. Once you have external DNS host > records > set up for each domain, you should be able to test the name-based > Apache > functionality. Or, if you want to do that locally before advertising > external DNS addresses you should be able to make some temporary > /etc/hosts > entries on your web server which all point to its non-routable IP, just > as a > test. > > Cheers. > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Keith > Smith > Sent: Tuesday, October 6, 2015 12:27 > To: Main PLUG discussion list > Subject: RE: Bind9 / Cox reverse lookup > > > Thank you for your help!! > > Cox provides the public / routable IP which is set on my router / > modem. > > I have a web server that servers several websites. I use NAT for port > forwarding to that one box. > > Without a DNS server, either local or external, how will Apache know > which > site to server up? If I put the IP in my browser I get the default > "website" which is no website at all - it is the default welcome page. > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Rusty > Ramser > Sent: Tuesday, October 6, 2015 12:10 > To: 'Main PLUG discussion list' > Subject: RE: Bind9 / Cox reverse lookup > > I'm not sure that's a valid assumption, regarding needing a DNS server > even > with that functionality. Maybe it is in your specific use, but it > doesn't > strike me as a guaranteed necessity. > > The learning aspect of it, however, is something I can't debate. If > that's > part of your goals, then by all means run wild with it. :) > > Cheers. > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Keith > Smith > Sent: Tuesday, October 6, 2015 12:03 > To: Main PLUG discussion list > Subject: RE: Bind9 / Cox reverse lookup > > I assume I need a DNS server since the box is a web server and will be > hosting a couple websites and there will be email as well. And part of > the > reason I am doing this is to learn. > > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Rusty > Ramser > Sent: Tuesday, October 6, 2015 11:53 > To: 'Main PLUG discussion list' > Subject: RE: Bind9 / Cox reverse lookup > > From the scenario you describe, no, I don't see that creating your own > reverse lookup zone would be necessary. > > Your web server has no other internal systems in your environment to > look > up. And for external reverse lookups using the public information > (from > Cox, Google, OpenDNS, or whatever your preference) should be fine. I > wouldn't create something that would just require extra > management/maintenance when there's no real use case for it. > > (Actually, for just a single box that is only accepting NATed web > traffic, > I'm not even sure I understand the need for a forward lookup zone on > your > server. Is there some reason that its client DNS configuration can't > just > point to your preferred DNS provider? Do you really need a DNS server > functioning on the box?) > > Cheers. > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Keith > Smith > Sent: Tuesday, October 6, 2015 11:14 > To: Main PLUG discussion list > Subject: RE: Bind9 / Cox reverse lookup > > > Thanks Rusty. > > It is one box. It is on a non-routable IP. I use NAT for ports 80, > 443, > 53... etc. > > So are you saying I need to make a reverse lookup for the non-routable > IP? > > Thanks!! > Keith > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Rusty > Ramser > Sent: Tuesday, October 6, 2015 11:05 > To: 'Main PLUG discussion list' > Subject: RE: Bind9 / Cox reverse lookup > > Hi, Keith. > > Will your environment be needing to do internal lookups based upon IP? > For > instance, are you using a non-routable set of IP addresses (e.g., > 10.x.x.x, > 192.168.x.x) for your environment behind NAT, and will those systems > need to > perform name resolution of each other based upon IP? If so, yes, > you'll > want to have your own internal reverse lookup zone because obviously > Cox (or > any other public DNS provider) will not have that information. > > If you really don't need any internal reverse name resolution, then > there > may be no need to create a zone. For instance, there isn't an > "environment" > of servers you have, it's just this single web server. And the web > server > doesn't have any internal network it sits on, it's just got a public, > routable IP address. > > Cheers. > > > -----Original Message----- > From: plug-discuss-bounces@lists.phxlinux.org > [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Keith > Smith > Sent: Tuesday, October 6, 2015 10:11 > To: Main PLUG discussion list > Subject: Bind9 / Cox reverse lookup > > > Hi, > > I'm configuring Bind9 on my web server connected to Cox. Cox > configures the > IP reverse lookup. > > Do I still need to create a reverse zone file? > > The reverse zone file is to lookup the host by IP correct? > > Thank you for your help!! > > Keith > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To > subscribe, > unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > --------------------------------------------------- > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss -- Keith Smith --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: http://lists.phxlinux.org/mailman/listinfo/plug-discuss