| thekewlone19 | can anyone help me installing a nameserver in CentOS 4.4 ? |
| hughesjr | thekewlone19: sure ... what is the problem |
| thekewlone19 | i want to install a BIND in CentOS that runs inside a VM any good how to's ?? i searched on google, but they are for debian, but none for VM's hugh: can you help me out ? or show me a right direction ? |
| hughesjr | well ... if you are sshed into the vm it is like any other server as far as installing bind for a name server, you need to install bind, bind-libs, bind-utils |
| thekewlone19 | but how can set it up as a BIND server ?? do i need to do create public keys or do something like that ? |
| devhen | thekewlone19: yum install bind bind-libs bind-utils |
| thekewlone19 | ok |
| devhen | thekewlone19: system-config-services to set bind (named) to start automatically at boot |
| thekewlone19 | and then i just need to make changes in /etc/named.conf right ? |
| devhen | thekewlone19: system-config-securitylevel to open the named port thekewlone19: yep. and any zone files will be linked in /etc/named.conf (they reside in /var/spool/named IIRC) |
| thekewlone19 | cant i change that location to some other directory ? |
| hughesjr | thekewlone19: once you install the packages, you can use rndc-confgen to make a new rndc key if you like |
| thekewlone19 | i am new to all this, so dont mind me asking whats rndc ? |
| hughesjr | thekewlone19: I think they are going to be in /var/lib/named unless you use a chroot'ed bind ... (I normally do not do that, others do) |
| devhen | thekewlone19: you can store the zone files anywhere you want. they just need to be referenced from /etc/named.conf |
| thekewlone19 | ohh ic |
| hughesjr | thekewlone19: do "man rndc" and man "rndc-confgen" |
| thekewlone19 | ok i get No manual entry for rndc |
| hughesjr | thekewlone19: need to isntall bind fist first :P |
| thekewlone19 | ok |
| hughesjr | it generates keys so you can do updates only from certian machines, etc. |
| thekewlone19 | a noob IRC q, how are you able to out my id before what you type?? |
| devhen | start typing a users name and then hit tab unless yer on a crappy irc client ;) |
| hughesjr | depends on the IRC clients ... but for xChat ... use a tab |
| thekewlone19 | cool hughesjr, thanx mate hughesjr, its soo cool :P devhen, thanx to you too hughesjr, how to setup my BIND server so that its a DNS server for my site ? |
| hughesjr | you will need to install the pacakges and create a /etc/named.conf file and the following files in /var/named/lib ... a hints file (normally called named.ca), the zone files you want to control oops /var/lib/named/ thekewlone19: I did create a guide for this using CentOS-3 a long time ago |