#1  
Old 18th October 2006, 04:17
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default Issues with bind

My syslog spams these messages when bind restarts (fails).

Oct 18 04:09:12 bigfoot named[26716]: starting BIND 9.2.4 -u bind -t /var/lib/named
Oct 18 04:09:12 bigfoot named[26716]: using 1 CPU
Oct 18 04:09:12 bigfoot named[26716]: loading configuration from '/etc/bind/named.conf'
Oct 18 04:09:12 bigfoot named[26716]: /etc/bind/named.conf:32: zone '0.0.127.in-addr.arpa': already exists
Oct 18 04:09:12 bigfoot named[26716]: loading configuration: failure
Oct 18 04:09:12 bigfoot named[26716]: exiting (due to fatal error)

My named config looks as following:
zone "." {
type hint;
file "db.root";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "db.local";
};

zone "40.115.217.in-addr.arpa" {
type master;
file "pri.40.115.217.in-addr.arpa";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pri.0.0.127.in-addr.arpa";
};


If I comment or remove :
zone "0.0.127.in-addr.arpa" {
type master;
file "db.local";
};

bind starts fine, but trouble returns everytime ispconfig re-generates named.conf .
Does anyone have an idea on how I can fix this?
__________________
http://www.xh.se
Reply With Quote
Sponsored Links
  #2  
Old 18th October 2006, 04:21
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

I found the issue 2 seconds after.
This could count as a critical bug.

If the user sets a domain IP address as 127.0.0.1 , ispconfig will attempt to create the zone for 127.0.0.1 when the file pri.0.0.127.in-addr.arpa is created and bind will fail to start.

Behaviour is repeatable with latest version of ispconfig (2.2.7).
__________________
http://www.xh.se

Last edited by Norman; 18th October 2006 at 04:25.
Reply With Quote
  #3  
Old 18th October 2006, 10:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

I dont see this as a critical bug.

1) Users can not create DNS records, only the admin can do this.
2) The user can not enter own IP addresses for websites, so the automatic DNS creation feature can not produce this type of DNS records when the admin has not entered the IP 127.0.0.1 in the server settings.
3) Only resellers where the admin has activated the DNS-Manager are able to create DNS-Records.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 18th October 2006, 14:51
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Thing is, I havent entered 127.0.0.1 as an ip in server-settings.
I'm using a stripped-down reseller account without any space and traffic to hand out as DNS-manager for customers who need to be able to host/change their own zones.

If a reseller could inadvertly break the config, I dont call that very secure.
__________________
http://www.xh.se
Reply With Quote
  #5  
Old 19th October 2006, 14:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by Norman
Thing is, I havent entered 127.0.0.1 as an ip in server-settings.
What sense does it make to use 127.0.0.1? If you host web sites on that IP address, they cannot be accessed from outside...
Quote:
Originally Posted by Norman
I'm using a stripped-down reseller account without any space and traffic to hand out as DNS-manager for customers who need to be able to host/change their own zones.

If a reseller could inadvertly break the config, I dont call that very secure.
But the reseller cannot access the server settings section, and if you put in the right IP addresses, then there's no problem.
__________________
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
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
ISPConfig & Bind chroot not starting awd.pt Installation/Configuration 2 29th January 2008 10:28
BIND Errors, Possible Causes and How to Isolate troubles bpmee Suggest HOWTO 0 17th September 2006 09:43
BIND broke adamluz Installation/Configuration 4 2nd June 2006 21:31
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 14:50


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


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