Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st April 2011, 15:28
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Default The perfect Server CentOS 5.5 64.....DNS offline

Hi to all

I have successfully installed CentOS 5.5 64bit and ISPConfig 3 by following the tutorial The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3]

currently I am getting following error while restarting bind

/etc/init.d/named restart

Error in named configuration:
/etc/named.conf:5: unknown option 'DNS'

(I have done nothing other then this tutorial)


I am fix up since 3 days..
Please advice me how to solve this problem..

shaheer
Reply With Quote
Sponsored Links
  #2  
Old 1st April 2011, 18:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,654 Times in 4,463 Posts
Default

Post the file /etc/named.conf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
mrshaheer2000 (2nd April 2011)
  #3  
Old 2nd April 2011, 08:10
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Post the file /etc/named.conf
Dear Till

here below is my named.conf file

Code:
GNU nano 1.3.12                File: /etc/named.conf                                                             Modified

        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";
};
//
// 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";
(ISPconfig3 also showing DNS service off line)

I hope it will help you to help me
Reply With Quote
  #4  
Old 3rd April 2011, 10:37
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy

Dear Till

I need your help please reply.
Reply With Quote
  #5  
Old 3rd April 2011, 21:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Can you post the output of
Code:
cat /etc/named.conf
?

In your previous post your named.conf looks as if it's formatted wrong, but I'm not sure if it really is or if something went wrong when you pasted it here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
mrshaheer2000 (6th April 2011)
  #6  
Old 4th April 2011, 08:13
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Dear Falko

thanks for your reply

Please find below the output you asked.


Code:
[root@rizserver ~]# cat /etc/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;
        };
};
zone "." IN {
        type hint;
        file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";
[root@rizserver ~]#
Reply With Quote
  #7  
Old 5th April 2011, 08:46
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy

Dear Falko

I am desperately waiting for your reply

I need your help

Reply With Quote
  #8  
Old 5th April 2011, 15:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Code:
//
// 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.
//
Please make sure that the strings that I marked in red don't use a new line - they must all go in the previous line.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
mrshaheer2000 (6th April 2011)
  #9  
Old 5th April 2011, 16:06
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Dear Falko

I have changed the file as you advice but still DNS service is not start

here is output of my file

Code:
[root@rizserver ~]# cat /etc/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;
        };
};
zone "." IN {
        type hint;
        file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";
[root@rizserver ~]#
Reply With Quote
  #10  
Old 6th April 2011, 10:52
mrshaheer2000 mrshaheer2000 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
 
Thumbs up

Dear Falko

Thanks you very much

It is solve when I restart my computer

Thanks, Thanks Thanks,

You Rock Falko.

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind DNS Issue with Centos 5.5 Perfect Server Setup driverdave Installation/Configuration 3 23rd December 2010 22:26
How to Install The Perfect Server - CentOS 5.5 i386 livecd dragster HOWTO-Related Questions 1 7th November 2010 22:08
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 18:02
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 11:58


All times are GMT +2. The time now is 22:00.


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