[BlueOnyx:21602] Re: DNS settings for multiple virtual sites on different servers.

Fungal Style wayin at hotmail.com
Sat Dec 23 15:06:13 -05 2017


Jeff,

Thanks for the confirmation, as this is the way I started to do it and it seems to be working better, as the other way I was fudging it was working for many years, now just recently sites were losing IPs when performing a domain dossier, no pattern, just suddenly the site was not found so that is what sparked the idea of doing it the way I described (and I have not found much in the way of best practice guides, that could be me just missing it though).

To clarify, yes, used non-routable as examples although I have IPs on 3 ranges, which leads to my next questions (to a degree), just wanted to get the foundations right first.

Yes BO all the way with the servers.


Now the last part is somewhere I have probably been making it too hard for myself… the zone file transfer… I need to probably read up more on the BO notes on it to make sure I am getting it right.

Now ns1 and ns2 would be pri and sec DNS (respectively), If I had a third IP, say 10.2.1.1 (I know not a routable IP as an example again) and set up a BO server there, it would be a matter of say setup the domain (def.com for example) first on ns1 pointing to the IP address of 10.2.1.1 and add a secondary entry to NS2, then set up the virtual site www.def.com<http://www.def.com> on 10.2.1.1, right?

Add to that I could technically set up the third IP (10.2.1.1) as a DNS server, say ns3 and add secondary entries for xyz.com and abc.com and set up any other additional domains set up as virtual sites on 10.2.1.1 (aka ns3), keeping ns1 for the primary setting up the virtual sites pointing to 10.2.1.1 (or 192.168.1.2, whichever I want to set the virtual site on) etc, etc… same process as before… unless there is an easier way so that I do not have to add secondary entries for all the domains on each of the secondary name servers (like a zone transfer or something allowing them to be copied, unless I misunderstand)? (this is one area I think I am making it hard for myself).

Regards
Brian




From: Blueonyx <blueonyx-bounces at mail.blueonyx.it> on behalf of Jeff Folk <jfolk at qzoneinc.com>
Reply-To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Date: Friday, 22 December 2017 at 11:48 pm
To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Subject: [BlueOnyx:21599] Re: DNS settings for multiple virtual sites on different servers.

Hi Brian,


On Dec 21, 2017, at 7:43 PM, Fungal Style <wayin at hotmail.com<mailto:wayin at hotmail.com>> wrote:


Hi all,

This may be a “no brainer” and I may have been doing this wrong for some time, with it working due to extra work done….

Example
I have:
- 2 domains “xyz.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fxyz.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=ZX3YtiDhAPWhCht8hPm%2F2IqiqcVIuIwhpapVNJEoy54%3D&reserved=0>” and “abc.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabc.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=hcB3BXkexZclEQb1Pj5hSW1aLBipcPwKOo8vvtsmE7U%3D&reserved=0>”
- 2 (or more) servers
- each server capable of dns with glue DNS records for primary and secondary

Sounds good.


So lets say I set up the following glue records:
Ns1.abc.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns1.abc.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=SZcsW7cr9HADV5o0A1K%2B1QFFwpGD%2Ffmd536nZawx1p0%3D&reserved=0> 10.0.0.1
Ns2.abc.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns2.abc.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=AlFl9DC8sP7kXg0C7%2B4Cr35lnhNnQtnHb9Th8JERHlc%3D&reserved=0> 192.168.1.2

I assume you are using non-routable private addresses as an example?


Now the next step I would need to do to get www.abc.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.abc.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=oYEsDYFPSgmF5tKSQ5MUHBIcoiEmKYiX77R%2FfwtCoPo%3D&reserved=0> to be a functional site on 10.0.0.1 would be to add the site under the “site management” tab for the virtual site of www.abc.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.abc.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=oYEsDYFPSgmF5tKSQ5MUHBIcoiEmKYiX77R%2FfwtCoPo%3D&reserved=0> and config mail, users, etc…. Then add the domain as a secondary for DNS on 192.168.1.2

Next if I wanted to set up www.xyz.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.xyz.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=lzZjq21nkxcDEwWWe1kncCRH1COanfoHo5nqknD%2B7c0%3D&reserved=0> on 192.168.1.2 I would set up the virtual site on 10.0.0.1 as I did forwww.abc.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.abc.com%2F&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=oYEsDYFPSgmF5tKSQ5MUHBIcoiEmKYiX77R%2FfwtCoPo%3D&reserved=0> except put in the ip address of 192.168.1.2 under “basic settings” and set up a virtual site on 192.168.1.2 for the website, instead of entering a secondary dns entry.

Would that be the most correct way to do this?

If both of these servers are BlueOnyx machines, you could put BOTH virtual sites on either server, or one on each, as you describe. BlueOnyx servers can host many virtual sites at the same time, all on the same IP address.

Domain records require a minimum of two name server records, and the easiest way to keep these synchronized is having one dns server a primary server, and a second as a secondary server pulling the zone file from the primary.


I may have a follow up question on this depending on the answer, as I want to keep it as simple as possible first then expand to virtual sites to other IP addresses.

Regards
Brian
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it<mailto:Blueonyx at mail.blueonyx.it>
http://mail.blueonyx.it/mailman/listinfo/blueonyx<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.blueonyx.it%2Fmailman%2Flistinfo%2Fblueonyx&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=kFFfYMYmVHsF97CKnR0yKKzCLcCIXXDMJjHSUer5pXc%3D&reserved=0>

_______________________________________________ Blueonyx mailing list Blueonyx at mail.blueonyx.it https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.blueonyx.it%2Fmailman%2Flistinfo%2Fblueonyx&data=02%7C01%7C%7C68d6ae20f029419742ef08d5493a49d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636495437055298755&sdata=kFFfYMYmVHsF97CKnR0yKKzCLcCIXXDMJjHSUer5pXc%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20171223/1e19978b/attachment.html>


More information about the Blueonyx mailing list