Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mondor

Pages: [1]
1
CentOS 7 Problems / Re: PHPDefender permission denied
« on: May 13, 2024, 02:34:23 PM »
php-fpm or php dont have write to enter at the end of path : /usr/local/cwp/.conf/phpdefender/rules where are the rules.

So i see two things at the moment:

1.
chmod 0655 /usr/local/cwp/.conf/
chmod 0655 /usr/local/cwp/.conf/phpdefender
chmod 0655 /usr/local/cwp/.conf/phpdefender/rules
chmod 0644 /usr/local/cwp/.conf/phpdefender/rules/*.rules

2.
depence of your php installed, search for snuffleupagus.ini and should be as ex: /opt/alt/php-fpm81/usr/php/php.d/snuffleupagus.ini
which contain something like:
;Snuffleupagus LIB
;defender_mode=basic
extension=snuffleupagus.so
sp.configuration_file=/usr/local/cwp/.conf/phpdefender/rules/cwp_php_defender_basic.rules

modify the value of sp.configuration_file with a new path of cwp_php_defender_basic.rules where php can read and access folder.
cp /usr/local/cwp/.conf/phpdefender/rules/cwp_php_defender_basic.rules /home/user/your-path/

and the new content of snuffleupagus.ini:
;Snuffleupagus LIB
;defender_mode=basic
extension=snuffleupagus.so
sp.configuration_file=/home/user/your-path/cwp_php_defender_basic.rules

3
DNS / Re: Slave DNS Server & Manager Question
« on: September 14, 2020, 04:43:08 PM »
That's have I have it, so it should be working OK then.

It should be fine ... but u will need configure allso the slave dns to permit trasnfer of zone AXFR

on a slave DNS server
in options tag ( global settings )

allow-query     { any; ip1; ip2; };

where ip1 and ip2 master dns server - where is domain zone defined

and also on slave dns - zone define like:

zone "domain.com" { type slave; file "slave/db.domain.com"; masters { ip1; };};


4
DNS / Re: MX Record
« on: September 14, 2020, 04:37:29 PM »
hello

i´m goind dns funcions , list dns zones  edit records , add mx.domain.com Correct ?
when i try make a test leafdns.com appear 2 wornings 5 faitures  .
Your nameservers did not return any MX records for your domain! This will cause mail servers to use the A record for rainbowdouro.com. as the mail exchanger.

how to fixed these .

Tank you

First of all u need to add a Type A record which u want to use it as mx for your domain.

Example: mail   IN A YOUR_MAIL_IP

Than add Type MX record

Example: MX     5     mail.rainbowdouro.com.

And u can add many MX as u want if u got any backups MX

Example: MX    10    mail2.otherdomain.com
               MX    15   mail3.otherdomain1.com

But this mail2.otherdomain.com and mail3.otherdomain1.com must exist in there DNZ zone as a Type A record or Cname .

5
DNS / Re: Add MX Record in zone_editor, does not appear to work properly.
« on: September 14, 2020, 04:30:07 PM »
Hi

I've tried to add Zoho MX record in Zone editor, I added the correctly ZOHO MX Record such as 'MX.ZOHO.COM'  but end up showing 'MX.ZOHO.COM.mydomain.com' upon checking MXTOOL BOX's MX lookup.

how to fix this problem?

Enter like this


6
DNS / Re: CWP pro dont Update SOA
« on: September 14, 2020, 04:17:33 PM »
Hello, does it works for you in CWPadmin.

This is what i saying ... when i enter on List DNS Zone > choosing a domain and click on -> Edit Records, option Update SOA doesnt work ( do nothing - serial SOA remain the same, is not changing )

7
DNS / CWP pro dont Update SOA
« on: September 11, 2020, 10:17:52 PM »
It was working ... now kind stopped.
SOA serial number no changing anymore after pressing Update SOA.

With a client account on CWP - SOA serial number is changing only when is added a new record, other way need to change it manual now ... any clue someone?


8
DNS / Re: Slave DNS Server & Manager - doesnt work
« on: September 11, 2020, 03:18:37 PM »
Same problem here, you find a solution for this?

Finnaly i got it.
The Manager Gui on slave server doesnt work properly with php-fpm - so i forced mod_php and 5.6



9
DNS / Re: Slave DNS Server & Manager Question
« on: September 11, 2020, 12:14:44 PM »
if u added after
allow-query     { any; };

add only

allow-recursion { any; ::1; ip1; ip2; };
allow-transfer { 127.0.0.1; ip1; ip2; };
also-notify { ip1; ip2; };
masterfile-format text;


10
DNS / Re: Slave DNS Server & Manager - doesnt work
« on: September 11, 2020, 07:08:36 AM »
I’ve done allready all of this... there is something else ...

11
DNS / Re: Slave DNS Server & Manager Question
« on: September 10, 2020, 02:43:47 PM »
The setup is for Web Server ( where u put your domains with website and where is running a master dns server by default - from where u want to transfer to your dns servers which will be public for your domain hosted on CWP )

Example from my setup

in /etc/named.conf , before

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

Add this

allow-recursion { any; ::1; ip1; ip2; };
allow-transfer { 127.0.0.1; ip1; ip2; };
also-notify { ip1; ip2; };
masterfile-format text;
};

( Where ip1 and ip2 - is ex: 111.112.113.114 )

12
DNS / Re: Slave DNS Server & Manager - doesnt work
« on: September 10, 2020, 09:50:51 AM »
When i do post from master server to slave server ... i receive on slave server logs

tail -f /usr/local/apache/domlogs/domainxxx.log

"POST /api/create_domains.php HTTP/1.1" 500 - "-" "-"

13
DNS / Re: Slave DNS Server & Manager - doesnt work
« on: September 10, 2020, 09:30:26 AM »
Same problem here, you find a solution for this?

I am kind sad, still no resolve...

14
DNS / Slave DNS Server & Manager - doesnt work
« on: August 29, 2019, 10:44:38 AM »
I am trying to configure this slave DNS server & Manger and fallowing https://wiki.centos-webpanel.com/slave-dns-server-manager-download-version instructions, doesnt work.



Server from where i use Slave DNS Manager is CWPpro

On slave manager


On webserver dns



Pages: [1]