Hi guys,This is one option.
I am planning to resell hosting accounts on my VPS to businesses as part of a web design and programming job that I do now. However, I appear to be having some problems with bind9, and setting up my own nameservers. I originally thought that a domain translates to an IP and that was the end of it.
This is what I know so far:-I need 2 subdomains, ns1.mydomain.com and ns2.mydomain.com
Ideally the two (at least) NS that you have for each domain would be on not only different IPs, but also on different networks, commonly one in Europe, one in the US and possibly one in Asia. Depends on your users/visitors.
This is what I have no idea about:-Do these subdomains have to be on different servers, or just different IP's? Can they even use the same IP?
You can run NS daemons and web daemons on the same machine, yes. Although I would go with something much lighter than bind, nsd for example.-If they need to be different, can my hosting server be on 1.2.3.4 if my nameservers are: 1.2.3.4 and 5.6.7.8
Test using dig or drill (guess with bind you have dig). E.g.
I have followed this: https://help.ubuntu.com/10.04/serverguide/C/dns-configuration.html in order to set up my first nameserver, and it will now ping example.com if I set the resolv.conf to use itself.
Can't tell you much without knowing what 'i do not get anything' means.... and how you "set turasmara.com to use that nameserver". How did you configure things?
If I set turasmara.com to use that nameserver, and ping it from my home box I do not get anything. However if I ping it from the VPS I get:
root@hostinghaven:~# ping turasmara.comPING turasmara.com (1.2.3.4) 56(84) bytes of data.64 bytes from www.domainname.com (1.2.3.4): icmp_seq=1 ttl=64 time=0.018 ms
Why don't you post your zone file so we can see?
What have I done wrong...and what do I till need to do to get this to work?
Just a userThank you,Daniel