HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Centos 5.5 DNS Issue (http://www.howtoforge.com/forums/showthread.php?t=46849)

tpedder 28th June 2010 17:58

Centos 5.5 DNS Issue
 
I installed Centos 5.5 and ISPConfig 3. All seems well except for dns. named-checkconfig and checkzone seem fine. The dns server will not answer it to any requests. I get connection timed out; no servers could be reached. I removed bind-chroot and reinstalled it but I am having no luck. I looked through all of the config files and they seem to be ok.

Here is named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named/chroot/var/named";
dump-file "/var/named/chroot/var/named/data/cache_dump.db";
statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;


I would appreciate any help I can get.

till 28th June 2010 19:57

Your named.conf file does not match the one from the ispconfig installation instructions. Please reconfigure bind so that it is installed exactly as described in the ispconfig manual for centos:

http://www.howtoforge.com/perfect-se...ispconfig-3-p5

tpedder 28th June 2010 21:36

I renamed named.conf and created new one and pasted the info from the guide and it still does not work.
I stopped and restarted named with no luck. Is there something I need to do to tell bind to accept connections???

// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named/chroot/var/named";
dump-file "/var/named/chroot/var/named/data/cache_dump.db";
statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";

till 28th June 2010 23:05

Have you followed the installation guide to the letter to install named? Just pasting the new content of the file is not sufficient.

borgo 1st July 2010 20:17

tpedder,

have a look at this thread, perhaps it could be useful!

cheers
borgo


All times are GMT +2. The time now is 09:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.