Web Hosting Talk







View Full Version : Name server question


Tazzman
02-24-2002, 10:10 AM
I'd like to run the nameservers for domains hosted on my dedicated box on the box itself, only I only have 2 IP's available to me to run the nameservers AND host all the domains. I want to use name based hosting. I thought I would probably have to ask for a third IP address (will cost me $5 a month :( ) to run the apache, mail, ... servers off, but I just wondered if there was a way I could manage with just the 2 IP's. I was thinking myself of maybe just running one nameserver, like ns1.mydomain.com, but then you need 2 nameservers to point a domain name too...
Anybody else run into this situation? Any idea how to work round it? Thanks.

Chicken
02-24-2002, 11:48 AM
You can do what you want with two IPs. The server IP can be used as one of the nameserver IPs and the other IP for the other nameserver. Run the other domains (namebased as you said), off the server IP (or I suppose you could use the other one, but anywhoooo). You don't need a third IP, far as I can tell.

RutRow
02-24-2002, 11:51 AM
You do not need a third IP. You can run DNS, apache, mail, etc off one IP. The problem is with the second name server. You can either:
1) Use a third party for the seconday (slave) name server.
2) Use IP aliasing and assign the second IP to your server.
3) Run a different box as a slave DNS server.


Aw shucks... Chicken beat me to it. ;)

Tazzman
02-24-2002, 07:55 PM
Thanks for the help. I'll either use IP aliasing for the secondary nameserver, or maybe I can have it forwarded from my domain name panel (if possible, I'll have to have a look into that)...