Jump to content
Froxlor Forum
d00p

Release 0.9.37 - Full DNS editor and PowerDNS support

Recommended Posts

Dear Froxlor Community,

we are proud to announce the final release of version 0.9.37 which includes a complete DNS editor for domains and also supports PowerDNS in standalone mode as nameserver.

DNS-Editor
 
Admins and customers are now able to edit the DNS settings of domains. You can freely add and remove entries - froxlor will always ensure that the basic required entries are present. These are NS, MX and A/AAAA. They will always be generated if not overwritten by a custom entry.
 
The access to the DNS-editor can be managed on a per-customer base by the admin. Only domains that have the nameserver-flag enabled and which are allowed to be edited by the customer can have DNS records.
 
Please keep in mind that we limited the record-types to the following list: A, AAAA, CNAME, MX, NS, SRV, TXT
 
We are aware that DNS is way more that that and that there is always a bunch of users who need other types - patches and pull-requests are always welcomed ;-)

 

NOTE: If you are using <=PHP-5.3 you will need to patch the file lib/functions/dns/function.CreateDomainZone.php as follows as we missed using the 'long' array syntax there (will be fixed in the first maintenance release). See https://github.com/Froxlor/Froxlor/compare/51152ef0262f...11d358133e57

--- a/lib/functions/dns/function.createDomainZone.php
+++ b/lib/functions/dns/function.createDomainZone.php
@@ -55,8 +55,8 @@ function createDomainZone($domain_id, $froxlorhostname = false, $isMainButSubTo
        if ($domain['isemaildomain'] === '1') {
                addRequiredEntry('@', 'MX', $required_entries);
                if (Settings::Get('system.dns_createmailentry')) {
-                       foreach(['imap', 'pop3', 'mail', 'smtp'] as $record) {
-                               foreach(['AAAA', 'A'] as $type) {
+                       foreach(array('imap', 'pop3', 'mail', 'smtp') as $record) {
+                               foreach(array('AAAA', 'A') as $type) {
                                        addRequiredEntry($record, $type, $required_entries);
                                }
                        }

 
PowerDNS
 
As alternative to bind, you are now able to use PowerDNS (pdns) as nameserver.
 
Attention: you will have to create the powerdns database yourself! When using froxlor's configuraton template for powerdns, froxlor will use powerdns' configuration file to read the database-user-credentials to be able to add/edit/remove zones and records. So double check that all path's are correct.
 
Minor enhancements

You can now also customize the global customer-docroot options when using apache webserver and mod_php. Please be aware that no syntax-checking is done (as known from 'specialsettings' or 'custom vhost-content').
 
The warn-emails about traffic and web-usage can now be enabled and disabled separately by setting the required percentage to 0.
 
In addition to that, admins can now specify whether specific menu-items are hidden from the customer (regardless of resources assigned to the customer). These settings are global and valid for all customers.


Changes in 0.9.37:
 
You can see all (minor) changes in our bugtracker at https://redmine.froxlor.org/versions/72 and https://redmine.froxlor.org/versions/74

Download: 0.9.37

Note: Gentoo-ebuild and Debian packages will be available shortly as usual.

Visit http://www.froxlor.org or join our IRC channel #froxlor on irc.freenode.net.

Thank you,
d00p

Edited by d00p

Share this post


Link to post
Share on other sites

Thanks for the new update. It's great to add subdomains on other servers without having to add an IP/Port for it and having to disable all the apache-related things.

 

But it looks like it's not taking the records into consideration. I had to add records down below for them to be taken into consideration. I tested with a couple A records and they didn't seem to work.

 

I had to add this for it to work:

 

$ORIGIN vpn.domain.com.
@       18000   IN      A       255.255.255.255

 

Also, it seems that the box is outside of the container making my chrome's horizontal scrollbar stretch way far to the right. Not sure if anyone is experiencing similar issues.

 

EDIT: Apparently this doesn't take any effects unless bind9 is restarted. This is something that froxlor doesn't do I think.

 

Thanks

Share this post


Link to post
Share on other sites

Of course we restart bind. Sounds like you did not configure it correctly. This has been verified to work judt fine by many people from the community

Share this post


Link to post
Share on other sites

Thanks! Yeah, I have it configured properly, I just didn't know if bind was restarted since I couldn't see immediate results. But everything works fine.

 

Also, the css/styling issue seems to be fixed now.

 

Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • By d00p
      Dear Froxlor Community,
       
      as our latest stable release of froxlor is quite established now, it is time for some minor bugfixes and improvements.

      Changes in 0.9.38.8:
      + added OCSP stapling support for apache2 and nginx + added libnss-extrausers support for debian/ubuntu users + added http2 support for froxlor-vhost and per-domain and domain-import + added setting to disable LE self-check + #416: added letsencrypt, HSTS settings, oscp-stapling and phpenabled-flag to Domain-import + #464: added simple smtp-settings test-page ~ #412: fixed libnss config ~ #434: allow non fqdn CNAME entries (froxlor appends zone's domain automatically if there's no trailing dot) ~ #447: fixed wildcard entries in dns editor ~ #472: generate multiline txt-record if content is too long ~ #475: corrected setting for php-fpm peardir ~ #479: removed each() keyword as it is deprecated as of php-7.2 ~ #485: added default/global directory options in apache regardless of whether fcgid/fpm is being used or not ~ #496: explicitly deactivate TLS (and auto-tls) in phpMailer when setting use-tls is OFF ~ #1697: allow underscore in DNS labels ~ #1720: do not show full path of file on php-error ~ #1726: use correct pagination in admin-log/customer-log ~ #1728: clearify field label for domain termination date ~ fixed phpenabled flag for new subdomains added by customers ~ fixed auto-update of database in cronjob if activated ~ fixed ssl integration in lighttpd You can see all changes on Github at https://github.com/Froxlor/Froxlor/compare/0.9.38.7...0.9.38.8

      Download: 0.9.38.8

      Note: Gentoo-ebuild and Debian packages will be released shortly as always.

      Visit http://www.froxlor.org or join our IRC channel #froxlor on irc.freenode.net.

      Thank you,
      d00p
    • By d00p
      Dear Froxlor Community,

      we are proud to announce the first release candidate for our upcoming version 0.9.37 which includes a complete DNS editor for Domain and also supports PowerDNS in standalone mode as nameserver.
       
      You can now also customize the customer-docroot options when using apache webserver and mod_php and activate the warn-emails about traffic and web-usage separately
       
      Please test the DNS feature thoroughly and give feedback. Thanks in advance.

      Changes in 0.9.37-rc1:
       
      You can see all (minor) changes in our bugtracker at https://redmine.froxlor.org/versions/72

      Download: 0.9.37-rc1

      Note: Gentoo users might use the 9999 ebuild for a live-version. There will be no Debian packages for release-candidates.

      Visit http://www.froxlor.org or join our IRC channel #froxlor on irc.freenode.net.

      Thank you,
      d00p


×