Is it possible to run a dns server one IP to host my domain webserver.
Hi all, I'm new to networking. I was wondering if I can run one dns name server to host my domain web server all in one machine? My domain is register at domain.com when i try to switch the name servers it asks for 2 name servers. Any ideas?
You need at least 2 Domain name servers for a domain to operate. That's just how it is. (rules) Officially each Domain name server should be in a different subnet. But it's not required by most.
Reasons for this are mostly, redundancy.
So, to come back to your question:
there are a few scenario's...
- if you have more than one public IP assigned to your connection, you could give your machine both ip's, and than setup the nameserver (both master/slave in one), and make sure domain.com changes the DNS server to your IP's.
- If you have only one, you could become the master of the domain, and domain.com the slave (i don't think you can set that up through a control panel, and you should ask them to set it up for you (their slave part))
- If you have only one, you could keep the DNS at domain.com and change the dns records within the zone, pointing them to your ip, instead of theirs. e.g.
Oh and one thing:
make sure you are allowed to host services on your internet connection. (not every provider allows it.)
And make sure the ports you need are open to the outside world (some providers block e.g. port 80, 21 and 25 (http, ftp connection and smtp respectively))
|All times are GMT -5. The time now is 11:18 AM.|