Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 2nd December 2007, 12:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

1) This happens when the zonefile directoty is not readable for the admispconfig user. Please chmod the directory so that it is world readable.

2) We will check that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 2nd December 2007, 13:03
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default

That os the output:

[root@ns1 named]# ls -la /var/named/chroot/var/
total 56
drwxr-x--- 5 root named 4096 Mar 14 2003 .
drwxr-x--- 6 named named 4096 Nov 12 19:09 ..
drwxr-xr-- 4 root named 20480 Dec 2 11:52 named
drwxr-x--- 4 root named 4096 Mar 14 2003 run
drwxrwx--- 2 named named 4096 Mar 14 2003 tmp

Whenever I change anything in Server Settings it does change Zonefiles Dir to something else, but not what is was.
Reply With Quote
  #13  
Old 3rd December 2007, 17:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

The permissions are wrong. Please do this:
Code:
chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 775 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
__________________
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:
smartcall (3rd December 2007)
  #14  
Old 8th December 2007, 17:45
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default

Another bug related to dns.

If a client mistypes in co-domains and instead of 'domain.com' writes 'domain .com', notice the space between domain and dot, ISPConfig creates the DNS record.
Named of course doesn't start.
There must be some sort of check there. Not all people know the exact syntax, etc. I don't know if this is fixed and don't want to try, but some time ago a client of mine created subdomain with '_' (underscore). ISPConfig created this DNS record as well.
Reply With Quote
  #15  
Old 9th December 2007, 16:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

Thanks for eeporting this. I added it to the bugtracker.
__________________
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:
smartcall (9th December 2007)
  #16  
Old 29th December 2007, 18:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

A better regex check for co-domains is implemeted in ISPConfig 2.2.19 which prevents this.
__________________
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:
smartcall (29th December 2007)
  #17  
Old 29th December 2007, 21:18
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default

Thanks again for implementing this.

Two questions:
1. Does this work when creating a domain (not just co-domain) or DNS record?
2. Is the regex stored in serialized objects? If it is and someone has customized forms, it could get lost when restoring the custom form after an upgrade.
Reply With Quote
  #18  
Old 30th December 2007, 16:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

1) The domain function was not affected by this.
2) The regex is not stored in the serialized object.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 30th December 2007, 20:27
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
 
Default

1) OK. What about when creating a domain or a web? One could also make a mistake in the name. Or put a .(dot) in the host part, like "www.". I've seen people doing that.
2) That is perfect.
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
Look up DNS records xtothez Technical 3 23rd August 2012 15:04
Deleting DNS master records jernis Installation/Configuration 1 22nd September 2005 12:11
DNS - call script to created named.conf entries on secondaries cstone Installation/Configuration 4 15th September 2005 01:16
More robust default dns records jnoble Feature Requests 0 31st August 2005 18:41
ftp uploads fail ajajaj Installation/Configuration 1 21st August 2005 17:50


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


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