Jump to content
Froxlor Forum


  • Posts

  • Joined

  • Last visited

Everything posted by ZARk

  1. for that domain, dns was external and "nameserver was unticked" in the froxlor domain config
  2. Well that exactly the issue. The dns doesn't work for that domain, as the domain just expired overnight. And basically bombed the whole server
  3. Hello Little crash this morning. Took a while to figure out because apache would just throw a "AH00016: Configuration Failed". Pinned it down to one of my domains that expired. And just after receiving this email, apache won't start anymore [Fri Jan 3 10:06:14 CET 2020] xxxxxxx.eu:Verify error:DNS problem: NXDOMAIN looking up A for xxxxxxxxx.eu [Fri Jan 3 10:06:14 CET 2020] Please add '--debug' or '--log' to check more details. [Fri Jan 3 10:06:14 CET 2020] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh * apache2: cannot `reload' as it has not been started I've manually removed the lines in vhosts.conf about this domain, and apache starts. Now froxlor has updated my config again, and apache complains. So if you want me to check on something to pinpoint the issue, don't hesitate. Btw: happy new year
  4. Logic would dictate that you should be able to click on "EDIT" then directly on "SAVE" without touching anything and that nothing would be affected. But indeed, it's been a while since it's working this way, and maybe someone has that workflow and it would break. So yes, maybe a system-wide setting would be the wisest choice .
  5. Could the option "Apply php-config to all subdomains" be disabled by default ? Everytime i do a quick edit on a domain, i wonder why some websites don't work anymore....
  6. you're a godsend ! Fast reply and right on target ! I simply renamed the domain in the DB. and renewal went straight thru + Feature request : lowercase domain names when adding them to froxlor
  7. Hello I can't renew certs (or create new certs) since the 0.10 upgrade. was working fine before on 0.9 I'm basically getting the same output everytime i run this command. xander /var/www/froxlor # /usr/bin/php7.3 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --letsencrypt --debug [information] Requesting/renewing Let's Encrypt certificates [information] Creating certificate for Westecheurope.eu [information] Adding SAN entry: Westecheurope.eu [information] Adding SAN entry: www.Westecheurope.eu [Mon 4 Nov 11:23:46 CET 2019] It is recommended to install socat first. [Mon 4 Nov 11:23:46 CET 2019] We use socat for standalone server if you use standalone mode. [Mon 4 Nov 11:23:46 CET 2019] If you don't use standalone mode, just ignore this warning. [information] Checking for LetsEncrypt client upgrades before renewing certificates: [Mon 4 Nov 11:23:45 CET 2019] Installing from online archive. [Mon 4 Nov 11:23:45 CET 2019] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz [Mon 4 Nov 11:23:46 CET 2019] Extracting master.tar.gz [Mon 4 Nov 11:23:46 CET 2019] Installing to /root/.acme.sh [Mon 4 Nov 11:23:46 CET 2019] Installed to /root/.acme.sh/acme.sh [Mon 4 Nov 11:23:46 CET 2019] Good, bash is found, so change the shebang to use bash as preferred. [Mon 4 Nov 11:23:47 CET 2019] OK [Mon 4 Nov 11:23:47 CET 2019] Install success! [Mon 4 Nov 11:23:47 CET 2019] Upgrade success! [Mon 4 Nov 11:23:47 CET 2019] Removing cron job [Mon 4 Nov 11:23:52 CET 2019] get to authz error. [Mon 4 Nov 11:23:52 CET 2019] _authorizations_map='www.westecheurope.eu,{"identifier":{"type":"dns","value":"www.westecheurope.eu"},"status":"pending","expires":"2019-11-07T18:17:12Z","challenges":[{"type":"http-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/1025077162/e3Lmew","token":"H07E0jvAJ-vnQ4jirnVIxqLeRxDwQ_VC6PQ0RAJgEvU"},{"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/1025077162/rs0T6w","token":"H07E0jvAJ-vnQ4jirnVIxqLeRxDwQ_VC6PQ0RAJgEvU"},{"type":"tls-alpn-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/1025077162/ZPjfSg","token":"H07E0jvAJ-vnQ4jirnVIxqLeRxDwQ_VC6PQ0RAJgEvU"}]} westecheurope.eu,{"identifier":{"type":"dns","value":"westecheurope.eu"},"status":"pending","expires":"2019-11-07T18:17:12Z","challenges":[{"type":"http-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/1025077160/hOWGhQ","token":"Bd7XDicTn8dtJBIYc9Eod2d7eOxZGba42pnnl5aCNyI"},{"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/1025077160/nj7_Ow","token":"Bd7XDicTn8dtJBIYc9Eod2d7eOxZGba42pnnl5aCNyI"},{"type":"tls-alpn-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/1025077160/v7Bc7A","token":"Bd7XDicTn8dtJBIYc9Eod2d7eOxZGba42pnnl5aCNyI"}]} ' [Mon 4 Nov 11:23:52 CET 2019] Please add '--debug' or '--log' to check more details. [Mon 4 Nov 11:23:52 CET 2019] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh [debug] [Mon 4 Nov 11:23:48 CET 2019] Creating domain key [Mon 4 Nov 11:23:49 CET 2019] The domain key is here: /root/.acme.sh/Westecheurope.eu/Westecheurope.eu.key [Mon 4 Nov 11:23:49 CET 2019] Multi domain='DNS:Westecheurope.eu,DNS:www.Westecheurope.eu' [Mon 4 Nov 11:23:50 CET 2019] Getting domain auth token for each domain [Mon 4 Nov 11:23:52 CET 2019] Getting webroot for domain='Westecheurope.eu' [error] Could not get Let's Encrypt certificate for Westecheurope.eu: [Mon 4 Nov 11:23:48 CET 2019] Creating domain key [Mon 4 Nov 11:23:49 CET 2019] The domain key is here: /root/.acme.sh/Westecheurope.eu/Westecheurope.eu.key [Mon 4 Nov 11:23:49 CET 2019] Multi domain='DNS:Westecheurope.eu,DNS:www.Westecheurope.eu' [Mon 4 Nov 11:23:50 CET 2019] Getting domain auth token for each domain [Mon 4 Nov 11:23:52 CET 2019] Getting webroot for domain='Westecheurope.eu' [information] No new certificates or certificates due for renewal found [notice] Checking system's last guid
  8. Which solution do you think is better ? Adding the main domain, as a non-email domain, and allowing the customer to add himself sub-domains, as long as he update his dns on the other hosting site ?
  9. Hello a Customer would like to continue to host his main domain name on another hosting provider. but would like to host a subdomain on froxlor. so : foo.Com is hosted elsewhere bar.foo.com should be hosted on froxlor. he should therefore be able to create a.bar.foo.com and b.bar.foo.com also all mails for foo.com should go elsewhere and not be handled by froxlor systems. Can i just add "bar.foo.com" as a new domain for the customer ? Or will this have strange effects. if i add "foo.com" for the customer, then emails will be handled by froxlor and that's not good. Any advice ?
  10. Hi there Basically my froxlor domain is configured with mydomain.com , i'd like to be able to easily handle that domain by using the froxlor tools. (create subdomains, handle dns, you know). Can i add the domain simply in froxlor ? or will that create a conflict ?
  11. $TTL 604800 $ORIGIN electrobel.be. @ 18000 IN SOA ns1.electrobel.net. zark.zark.be. 2018061900 3600 900 604800 1200 @ 18000 IN A imap 18000 IN A pop3 18000 IN A mail 18000 IN A smtp 18000 IN A www 18000 IN A busy 18000 IN A www.busy 18000 IN A @ 18000 IN NS ns1.electrobel.net. @ 18000 IN NS ns2.electrobel.net. @ 18000 IN MX 10 mail.electrobel.net. @ 18000 IN TXT ("v=spf1 a ip4: ip4: ip4:195.189.203" ".16 ~all") <CUT>._domainkey 18000 IN TXT ("v=DKIM1;k=rsa;p=<CUT>;t=s") _adsp._domainkey 18000 IN TXT "dkim=all"
  12. I'm sorry, what info do you need ? One of the froxlor generated zone files with the "create mail ..." option turned on ?
  13. Here is a copy of my Nameserver settings. mail.electrobel.net resolves to IP2. I don't see any other place where i can specify the MX. And when i check "create mail...." it adds entries pointing to IP1
  14. Hello I have the following setup : One server with two IP's. On IP 1, i have the webserver running with froxlor handling everything (dns,apache,etc..) On IP 2, i have apache manually configured to point to roundcube, and i have postfix/dovecot running (handled by froxlor again). (So it's basically my mail server). (actually postfix is running in a multi-postfix with in/out servers with different spam-assasin and log settings) Been running syscp, then froxlor, so maybe with the new options there might be a better way to do this. How should i set-up my froxlor so that i can have this set-up the best way possible ? As i'd like to have mail/smtp/imap subdomains for all domains pointing to IP2 and not IP1 I tried turning on the option "system.dns_createmailentry" but it points to my IP1 and looking at the code i can't see any way to have it point to IP2, or maybe i'm missing something ? Right now i've only got IP1 (80 and 443) in the panel IP's and PORTS
  15. ZARk

    DNS Patch Proposition

    Sorry this is an old thread. But an update for those who use this. With newer froxlor, the "patch" to make is : /lib/functions/dns/function.createDomainZone.php At the bottom of the createDomainZone function, just before $zone = new DnsZone((int) Settings::Get('system.defaultttl'), $domain['domain'], $domain['bindserial'], $zonerecords); Add : $zonerecords[] = '$INCLUDE /etc/bind/froxlor_extra.inc.zone'."\n"; Just a summary, this adds an include file for all your domains. quick hack if you have multiple ip's like me, or want to add some fields for all the domains.
  16. Hello I just used the port25 checker, and received an error message https://www.port25.com/authentication-checker/ Apparently, from what i understand, it doesn't like the fact that our dkim selectors have an underscore. Maybe it's just their script being picky, or maybe it would be best to avoid the underscore in the selector as to avoid issues with other parsers ?
  17. Hello I have a multiple ip setup. basically all http is on one ip, and the mail system on another (same server, just different ip). This basically allows for a correct reverse ip for the mail server. I've setup roundcube on the same ip as the smtpd. .15 = apache for vhosts .16 = apache for roundcube + smtpd Now, the problem i have, is that froxlor will create a "mail." alias in the zonefile BUT always point it to the main ip. The proposition i have, and patched myself is this : cron_tasks.inc.dns.10.bind.php $zonefile .= '$INCLUDE /etc/bind/froxlor_extra.inc.zone'."\n"; You need to create a file (that can be empty) . Inside you can just put lines that should be included in ALL zonefiles created. in my case, i add a "mail" alias pointing to my second ip. and TADA ! also, i can add custom spf and other things. (also, i disable in the settings the generation of the mail alias, so i can do it manually) I feel this is needed in froxlor, as to add custom configuration as now all files are generated from the scripts. This is a fast hack, but could be made more flexible by adding a field in the configuration panel that would fill the file, remove the include if its empty etc... I leave that to the devs if they feel like it take care
  • Create New...