Prev Previous Post   Next Post Next
  #1  
Old 22nd February 2012, 13:35
CyberTramp CyberTramp is offline
Junior Member
 
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS bind centos

Hi all,
I use this tutorial OS centos 6.2
I try to create dns

service named start
Code:
Starting named: 
Error in named configuration:
zone localhost/IN: has no NS records
zone localhost/IN: not loaded due to errors.
_default/localhost/IN: bad zone
zone domen.org/IN: loaded serial 100
zone 10.168.192.in-addr.arpa/IN: loaded serial 2012022206
                                                           [FAILED]
/etc/named.conf
Code:
options {
   directory "/var/named";
   dump-file "/var/named/data/cache_dump.db";
   statistics-file "/var/named/data/named_stats.txt";
  // query-source address * port 53;
};

controls {
 inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
zone "localhost" IN {
   type master;
   file "localhost.zone";
   allow-update { none; };
};

zone "domen.org" IN {
   type master;
   file "/var/named/domen.org.zone";
   allow-update { none; };
};

zone "10.168.192.in-addr.arpa" IN {
   type master;
   file "/var/named/10.168.192.rev";
   allow-update { none; };
};

include "/etc/rndc.key";
localhost.zone
Code:
$TTL 86400
@ IN SOA mail.domen.org. root.domen.org. (
43 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS mail.domen.org.
IN A 127.0.0.1
Any idea that it can be ?
Reply With Quote
Sponsored Links
 

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 not reloading zone changes properly mcrider Installation/Configuration 3 17th February 2012 17:38
Bind DNS Issue with Centos 5.5 Perfect Server Setup driverdave Installation/Configuration 3 23rd December 2010 22:26
BIND CHROOT CentOS problem bentman78 Installation/Configuration 1 1st May 2009 06:39
Postfix with Multiple DNS on CentOS 5.2 jon2371 Suggest HOWTO 1 18th October 2008 17:59
BIND DNS + Webmin CentOS 5.1 Forgott3n Server Operation 3 21st June 2008 11:20


All times are GMT +2. The time now is 12:20.


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