I'm frustrated and certain I'm missing something simple. Can you help me get started?
I got a VPS for the first time and I'm going to use it to host my own controlled (but independent) sites.
So I started with a blank canvas of CentOS 5 32 bit and I successfully installed Kloxo. Now I'm lost I think my confusion is around nameservers.
let's say my "main" domain is stevenmack.com
So then my nameservers are going to be ns1.stevenmack.com and ns2.stevenmack.com and all the "client" domains on my VPS will use those nameservers. I've got those nameservers setup at the registrar. But what nameservers do I actually USE for the domain stevenmack.com? I tried ns1.stevenmack.com and ns2.stevenmack.com but then when I use a tool like intoDNS I get a whole mess of errors stating the nameservers aren't responding.
Anyway, I'm just not sure how to set up the "main" domain, and its related NS info (both on the VPS and at the registrar). I'm sure I'm missing something obvious.
What you have now is, anyone looking up www.stevenmack.com need to ask the DNS server at ns1.stevenmack.com. But then no one knows ns1.stevenmack.com.
You need another DNS name for your DNS server, perhaps some free second-level domain name like ns1.xxx.yyy.com that points to your nameserver ip (xxx,yyy just example). Then you put that external domain name as your domain name server in your registrar.
Or alternatively use free DNS service like dns.he.net or xname.org and you can save the trouble setting up a DNS server. Your provider may also provide one for free. Especially when you only have 1 server/VPS, if the server/VPS goes down, the DNS goes too.
Recursive Queries I could use the nameservers listed below to performe recursive queries. It may be that I am wrong but the chances of that are low. You should not have nameservers that allow recursive queries as this will allow almost anyone to use your nameservers and can cause problems. Problem record(s) are:
I'll read up, but if you happen to know that off hand...
You should use Glue DNS records for your ns1 and ns2 servers,
Glue record is "A" record that points ns1 and ns2 to IP addresses respectivelly, so the domain zone can use the DNS servers of its own.
For more details on Glue records, pelase refer to the following page: http://faq.domainmonster.com/dns/glue_record/