LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VPS does not answer any DNS request (https://www.linuxquestions.org/questions/linux-newbie-8/vps-does-not-answer-any-dns-request-861200/)

peace18 02-07-2011 11:36 AM

VPS does not answer any DNS request
 
Hello Everyone

I am a newbie.

Here is my problem:

I have a VPS CentOS 5.5 32 bits. It does not answer any DNS request made to the server.

I need to configure Bind to answer these requests.

I have been reading about that for several days and I got a good tutorial here:
http://x10hosting.com/forums/vps-tut...tos-5-5-a.html

But it is uncompleted.

I need to configure these too:

chroot DNS with BIND
avoid cache poisoning
avoid being an open resolver
port randomization

I have found several tutorials but all of them have different points of view.

I am looking for a good tutorial that has everything:

Setting up bind on CentOS 5.5
chroot DNS with BIND
avoid cache poisoning
avoid being an open resolver
port randomization
configure iptables for bind

Any response will be appreciated.

Thanks

Nikosis 02-07-2011 09:01 PM

This one here, along with this book, worked for me.

jmc1987 02-07-2011 09:48 PM

If you are using bind chroot then everything you configured it /etc directory will not work. The chroot for bind is /var/named/chroot/etc is for bind main config files and /var/named/chroot/var/named/ is for your other dns files that are called by your /var/named/chroot/etc/named/named.conf.

I made this mistake will I started playing with bind and I didn't understand why I configured everything right in /etc/ and nothing worked. Hope this helps out.

Also my directorys may be slighty off I don't have bind running on any of my servers to look at right now.

peace18 02-09-2011 12:08 AM

Thank you very much for the chroot directories and the links.

They are very useful


All times are GMT -5. The time now is 03:41 AM.