Hello all here is my first post First of all thanks to the author of this tutorial http://www.howtoforge.com/linux_bind9_and_caching_nameserver . I was reading it and really explains how to things step by step, but still I have a problem with configuring nameservers so I came here to ask for help. I'm trying to figure out the way to make nameservers for domain name "komentari.info" on vps I rented for testing. In order to update nameservers of this domain I should create ones on this vps machine rite.. like ns1 and ns2 or whatever.. the thing is that I add these ns1.komentari.info inside /etc/named.conf inside file it points to /var/zone/named/ns1.komentari.info.zone. I also add httpd.conf inside <Virtualhost> .. and yet I don't manage to change domains nameservers .. I've bought this domain at key-systems.de (sorry if this is spam) and it doesn't allow me to update nameservers because they don't quite exist .. I've been reading a lot to get an idea how DNS works and I'm pretty much there just I'm missing something. Can you guys help me, which file/s should I edit .. or if I'm doing something wrong to start with can someone put me in the right direction? I've been googling but this tutorial is the best I could find for this type of setup .. Thank you in advance
If you want to host the zone for komentari.info on ns1.komentari.info and ns2.komentari.info, then you need a glue record: http://en.wikipedia.org/wiki/Domain_Name_System#Circular_dependencies_and_glue_records
Thank you for your posting Falko, I've been reading a lot these past days how DNS works.. can you guide me please which files should I edit to create so called glue record .. I'm using Centos 5 and still haven't figured how and where to create this record . thank you in advance
You must ask your domain registrar to create a glue record for you. Here's an example how to create a glue record with a certain registrar: http://www.howtoforge.com/ispconfig_dns_providerdomain_schlund