SunQuest
           DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 1st, 2004, 02:26 PM
netice netice is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Israel
Posts: 7 netice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
named.conf errors

Hello to all

I'd like to find out the most common reasons of the following error:

cannot redefine zone 'somedomain.com' class INcannot redefine zone 'somedomain.com' class IN

I've checked the TTL settings and they are configured fine

$TTL 3600

/etc/named.conf relevant line :

zone "somedomain.com" {type master;file "primaries/somedomain.com.zone";};

Sample Zone file attached

Maybe it's some duplicate entries error .

Any thoughts ...
Thanks
Attached Files
File Type: txt somedomain-zone.txt (853 Bytes, 181 views)

Reply With Quote
  #2  
Old January 1st, 2004, 03:37 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I'll need to see an unedited named.conf please. And I need to know what version of BIND you're using.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old January 2nd, 2004, 06:50 PM
netice netice is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Israel
Posts: 7 netice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
More information

Hello

You are right, i'm missing some important information .
Bind version 8.2.4 on SunOS 5.8 platform .
About the named.conf ... it's too sensitive to publish .
I can add only edited parts of it . Options part is added here:

options {
version "Microsoft DNS Server SP 6.0";
query-source address xxx.xxx.xxx.xx;
directory "/var/named";
also-notify {xxx.xxx.xxx.xx;xxx.xxx.xxx.xx;xxx.xxx.xxx.xxx;127.0.0.1;};
allow-transfer {xxx.xxx.xxx.xx;xxx.xxx.xxx.xx;xxx.xxx.xxx.xxx;127.0.0.1;};
allow-recursion {AllowedRecursive;};
blackhole {Unwanted;};
listen-on {Me;};
transfer-source xxx.xxx.xxx.xx;
transfer-format many-answers;
transfers-in 20;
}


This named.conf file is 8421 lines light ... you don't want to see it all - trust me
The problem occurs on several domains .
Thank you for any kind of help or search direction

Reply With Quote
  #4  
Old January 2nd, 2004, 11:38 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
The error does mean that a zone has been defined more than once, and this is invalid. Here's some things to remember:

1) you cannot define a master and a slave for a zone on the same server
2) All zones are NOT case sensitive. So you will get that error if you add "FreeWilly.com" and "freewilly.com" to the same named.conf file.
3) Watch out for included files which may have zones defined in the parent. This is one way to accidentally add a zone twice.
4) There was a bug in earlier versions of BIND before 8.2.2 where you'd get that error. So it there's some likelihood the bug still exists in some form. An upgrade to BIND 9.2.3 is recommended.
5) One way to test your configuration for duplicate zones is to remove the offending zone from the named.conf. Then reload the configuration and see if the zone still exists on the server.

Reply With Quote
  #5  
Old January 4th, 2004, 02:01 AM
netice netice is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Israel
Posts: 7 netice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
the upgrade can solve it ?

Thanks for the points.

Actually I know them and it was checked before the post to this forum. The reason of solving the errors is upgrade to new 9.2.3 version - I'd like to start the upgrade with "clean" and perfect configuration .
Do you think that only upgrade can solve the errors of this kind?
Can I count on it ?

Thanks for your time

Reply With Quote
  #6  
Old January 4th, 2004, 06:10 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
It's not guaranteed. I'm more interested in seeing the results of the test as laid out in step 5. If the zone still exists after you remove the zone (and there's no longer an error), then it's a case of duplicate zones. If the zone does not exist after you remove the zone (and there's no longer an error), then it's a case of a buggy version. If you continue to get the error, then remove the zone again at the new line position it gives you.

Last edited by SilentRage : January 4th, 2004 at 06:12 AM.

Reply With Quote
  #7  
Old January 4th, 2004, 12:55 PM
netice netice is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Israel
Posts: 7 netice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm checking

Thanks .

I'm checking

Best regards

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > named.conf errors


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway