
|
View Full Version : What if DNS IP and the namebased virtual hosting IP is the same ?
talash 06-01-2001, 02:49 AM Hi guys,
Does anybody have an idea if this situation may create a problem or not ?
A server has 2 IP address : say 209.217.52.198 and 199
They assign both the IP's as nameservers say ns.webhostindia.com and ns2.webhostindia.com
Now to offer name based hosting, if they use 209.217.52.194, can this create any problem.
I am not talking about an immediate problem. Since i have done it and it works fine. But when such name based hosts increases, can this system be TAXING on the nameserver ?
Can this result in frequent flooding of the nameserver with bad requess?
Just a doubt. Thats why wanna clear it up !
Regards
Abhishek
mpkapadia 06-01-2001, 03:36 AM I dont think having your virtual sites on the same ip as the one which does Dns service can have problems,
Even if u add a 3rd ip and do all your sites on the 3rd ip you should be fine
we have a box which does aprox 175 sites on such setup @ Rackspace without problems,
Regards
Manish Kapadia
Madman2020 06-02-2001, 06:14 PM There should be no problem with having the same IP address listen on multiple ports like 53 and 80. Bare in mind that even though your server has 2 seperate physical IP's that you have only 1 real nameserver and the other is a virtual.
cahostnet 06-02-2001, 08:50 PM Yup, that's the key, you only have ONE nameserver if that machines goes down so does your DNS. This is why there's are primary and secondary dns. Find someone to do your secondary DNS for you if you can. The service is pretty cheap to. You can get one for about $50 USD per year.
talash 06-03-2001, 04:50 AM Hi,
I think this might be the problem. Where do i get secondary DNs service. However with a secondary DNS server, do i need to enter all my domain pointers into that as well.
Since I do name based hosting, all of them will be pointing to the same IP. How does it work ?
Regards
Abhishek
Madman2020 06-03-2001, 06:09 AM Originally posted by talash
Hi,
I think this might be the problem. Where do i get secondary DNs service. However with a secondary DNS server, do i need to enter all my domain pointers into that as well.
Since I do name based hosting, all of them will be pointing to the same IP. How does it work ?
Regards
Abhishek
Actually, you would need to duplicate each zone file that exists for the primary nameserver to the secondary nameserver. If you had your own seperate secondary you could nfs export it. But even if the domain points to the same IP it needs to be defined in a live zone for any resolution.
Félix C.Courtemanche 06-04-2001, 01:33 PM Originally posted by cahostnet
Yup, that's the key, you only have ONE nameserver if that machines goes down so does your DNS. This is why there's are primary and secondary dns. Find someone to do your secondary DNS for you if you can. The service is pretty cheap to. You can get one for about $50 USD per year.
Yeah but if his DNS server goes down, so does his webserver anyway... what is the point of having a working DNS when where it's pointing is down anyway?
As far as I'm concerned, if you have only 1 server, there is no problem to hosting DNS on it as well as web hosting, for the simple reason that you only have 1 server.
Now, some tld like .nu will NOT like your configuration and will require that you have correctly set primary & seconday DNS server. You should then try to find some place to provide you with secondary DNS on a slave DNS server.
cahostnet 06-04-2001, 01:46 PM That's a good point, if you have one server then it really doesn't matter anyway. B/C your sites will be down also.
StephenRS 06-04-2001, 03:52 PM Félix C.Courtemanche -- I respectfully disagree!
if your server goes down, let's say HARD. ISP goes out of business...
It takes DAYS to change root DNS servers, meaning going back to your Registrar.
Vs. having two live DNS servers at separate places... all you would have to do is update a hostname and you could move to a new site in a matter of minutes!
Days to move root DNS servers vs. minutes to change a hostname entry....
This is one of the best design features of the Internet, don't try to avoid it!
Stephen Gutknecht
Renton, Washington
talash 06-04-2001, 11:40 PM Hi guys,
Thanx for your input.
I figured out the problem and have almost fixed it.
What happened was that I was running two sets of nameservers on the same physical server (Red Hat 6.2/Plesk). Now i have removed one of them and no DNS crash in last 24 hours or so. Keeping my fingers crossed.
Now regarding the secondary DNS. I am really interested in getting a secondary DNS server for myself. Someone mentioned that it is not very costly to get a secondary DNS server for my hosting business.
I am looking for a secondary DNS, so that if in future I decide to shift my ISP, it should not be very difficult and i can avoid downtime and changing nameservers in all domains hosted.
Can anybody suggest a good service provider for this service. Also how do you suggest to make a copy of 200 domain entries in that DNS server. Is there any shortcut ?
Thanx again for so much of help :)
Abhishek
|