I stumbled upon this tutorial http://www.howtoforge.com/linux_bind...ing_nameserver (sorry not trying to spam) . 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

Thank you for your answers .. here are some configuration files I will start with /etc/httpd/conf/httpd.conf using this turtorial

Its pretty big file I can't post it.. so I'll tell you what I added/edited in here ..
LINE 133 - Replaced Listen 80 with Listen 208.84.149.210:80 since this is server main ip
LINE 251 - Replaced ServerAdmin root@localhost with ServerAdmin hexteam@gmail.com
LINE 266 - Added ServerName 208.84.149.210
LINE 973 - Added NameVirtualHost panel.komentari.info:80
Now I added one virtual hostname record
LINE 985 - <VirtualHost panel.komentari.info:80>
LINE 986 - ServerAdmin hexteam@gmail.com
LINE 987 - ServerName 208.84.149.210
LINE 988 - DocumentRoot /www
LINE 989 - ErrorLog logs/error_log
LINE 990 - CustomLog logs/access_log combined
LINE 991 - </VirtualHost>
I also added include file so my httpd.conf wouldn't get too big and I can't handle all records inside so I added
LINE 992 - Include conf/vhosts/*.conf and created dir named vhosts
--------------------------------------------------------------------
This is what I get with httpd -S

service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Sun May 25 16:09:50 2008] [error] (EAI 2)Name or service not known: Could not resolve host name panel.komentari.info -- ignoring!
[Sun May 25 16:09:51 2008] [error] (EAI 2)Name or service not known: Could not resolve host name panel.komentari.info -- ignoring!
[Sun May 25 16:09:51 2008] [error] (EAI 2)Name or service not known: Could not resolve host name ns1.komentari.info -- ignoring!
[Sun May 25 16:09:52 2008] [error] (EAI 2)Name or service not known: Could not resolve host name ns2.komentari.info -- ignoring!
[ OK ]

For now what I wanted to do is to create some virtual hosts for my domain komentari.info .. problem is following error from my domain register "541 Invalid attribute value; nameserver "ns1.komentari.info" does not exist" and they won't update the nameservers of this domain.. so I'm again at point zero.. so I moved onto next tutorial I found this one
is about making cached nameservers .. I'm still a noob on this topic I've been reading a lot and have some expirience with several control panels but never tried to configure this on my own .. so I did next

According to this tutorial there should be file /etc/named.conf but in this version of centos 5 there are slightly different 2 files, one particularly similar to named.conf mentioned in tutorial so what I did I copied named.rfc1912.zones to named.conf and added

then I started named service named start it failed at first because I didn't have files created inside /var/named .. after creating all 3 files started editing
/var/named/panel.komentari.info.zone here is its content

At this point I noted I forgot to add my main domain name "komentari.info" to these conf. files so I added one record inside named.conf created file inside /var/named with familiar content .. and of course created /etc/httpd/conf/vhosts/komentari.info.80.conf sorry for these backwards steps I've memorized them all and yet I can't figure out the way to get this working .. Now I'm editing file resolv.conf and it looks like this now..

now I'm not sure whether I should delete these lines or leave them thats why I will just update this file by adding two lines .. Then I went inside vi /etc/sysconfig/network and changed hostname to HOSTNAME="panel.komentari.info" and now tried to start named and it wont start obviously I'm doing something wrong here .. this is ls -la inside /var/named/

I specified A for komentari.info in this file should I specify and how A records of nameservers in this komentari.info.zone file.. if you mean specify A records of nameservers in their zone files I already did that inside /var/named/ns1.komentari.info.zone and in /var/named/ns2.komentari.info.zone

This query is answered by by my local recursive nameserver 192.168.222.10.
As you can see it doesn't find yours

You have to contact your registrar for the komentari.info zone and tell him that your nameservers are ns1 and ns2.komentari.info at addresses 208.84.149.210 and 208.84.151.35. They have to enter this information in the nameservers for the *.info top level domain.

After that is done, my and other recursive nameservers will find your nameservers at 208.84.149.210 and 208.84.151.35.

__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump