Domain that you have provided is not configured as rDNS for your server IP. [404]

Can you tell me your current commit ?

Current Version:
2.3
Build:
5
Current Commit:
4aba2b9d301ced8c898ff2cbacbd74614fa77b0d

out of

cd /usr/local/CyberCP
git log --oneline

This command showing lots of bug fix. What to do now?

kindly show the output

4aba2b9d (HEAD → v2.3.5, origin/v3.0.0, origin/v2.3.5, origin/stable, origin/HEAD) paramiko version
fac200f4 bug fix: add missing variable
96351c27 bug fix: add missing variable
0924e2d9 bug fix: use paramiko for ssh operations
d36c7f96 Merge branch ‘v3.0.0’ of github.com:usmannasir/cyberpanel into v3.0.0
670e46c3 bug fix: use paramiko for ssh operations
9de6243c bug fix: potential issue with sftp destination add [BUG] Cannot add SFTP Backup Destination · Issue #1210 · usmannasir/cyberpanel · GitHub; ;
c7d30041 bug fix: [BUG] Manual Backup Failed · Issue #1207 · usmannasir/cyberpanel · GitHub
33ac9a06 bug fix: [BUG] Manual Backup Failed · Issue #1207 · usmannasir/cyberpanel · GitHub
2cfc35fc bug fix: command execution
f28402ce bug fix: alias domains, php fetch and domain with sudo
24b10a34 bug fix: mariadb install
fcd07468 bug fix: mariadb install
0b8f6acc bug fix: docker
a589e980 bug fix: docker install
90be9374 bug fix: docker install
a22346d7 bug fix: docker install
ca39cdbc possible resolution of Domain that you have provided is not configured as rDNS for your server IP. [404]
9e3c9f09 bug fix: docker install
3bb1488e changes in update mysql
76a492dd possible resolution of Domain that you have provided is not configured as rDNS for your server IP. [404]
6b5a932e bug fix: [BUG] Setting up hostname freeze while onboarding v2.3.5 · Issue #1206 · usmannasir/cyberpanel · GitHub
bad53db4 made changes in updatemysql
4a6aca8e bug fix submit docker install
84ef24f2 bug fix: prevent dockerapps to be created by less ram
3d1623cb bug fix: prevent dockerapps to be created by less ram
f07cfcef feature: add port option for backup v2 Backup V2: Need to change Port of SFTP Backend
c27f4127 feature: add port option for backup v2 Backup V2: Need to change Port of SFTP Backend
172ba5e7 Merge branch ‘v2.3.5’ of github.com:usmannasir/cyberpanel into v2.3.5
:…skipping…
4aba2b9d (HEAD → v2.3.5, origin/v3.0.0, origin/v2.3.5, origin/stable, origin/HEAD) paramiko version
fac200f4 bug fix: add missing variable
96351c27 bug fix: add missing variable
0924e2d9 bug fix: use paramiko for ssh operations
d36c7f96 Merge branch ‘v3.0.0’ of github.com:usmannasir/cyberpanel into v3.0.0
670e46c3 bug fix: use paramiko for ssh operations
9de6243c bug fix: potential issue with sftp destination add [BUG] Cannot add SFTP Backup Destination · Issue #1210 · usmannasir/cyberpanel · GitHub; ;
c7d30041 bug fix: [BUG] Manual Backup Failed · Issue #1207 · usmannasir/cyberpanel · GitHub
33ac9a06 bug fix: [BUG] Manual Backup Failed · Issue #1207 · usmannasir/cyberpanel · GitHub
2cfc35fc bug fix: command execution
f28402ce bug fix: alias domains, php fetch and domain with sudo
24b10a34 bug fix: mariadb install
fcd07468 bug fix: mariadb install
0b8f6acc bug fix: docker
a589e980 bug fix: docker install
90be9374 bug fix: docker install
a22346d7 bug fix: docker install
ca39cdbc possible resolution of Domain that you have provided is not configured as rDNS for your server IP. [404]
9e3c9f09 bug fix: docker install
3bb1488e changes in update mysql
76a492dd possible resolution of Domain that you have provided is not configured as rDNS for your server IP. [404]
6b5a932e bug fix: [BUG] Setting up hostname freeze while onboarding v2.3.5 · Issue #1206 · usmannasir/cyberpanel · GitHub
bad53db4 made changes in updatemysql
4a6aca8e bug fix submit docker install
84ef24f2 bug fix: prevent dockerapps to be created by less ram
3d1623cb bug fix: prevent dockerapps to be created by less ram
f07cfcef feature: add port option for backup v2 Backup V2: Need to change Port of SFTP Backend
c27f4127 feature: add port option for backup v2 Backup V2: Need to change Port of SFTP Backend
172ba5e7 Merge branch ‘v2.3.5’ of github.com:usmannasir/cyberpanel into v2.3.5
245bc48f feature: add port option for backup v2 Backup V2: Need to change Port of SFTP Backend
8143e759 added addon domain in CP1
6cd54ec4 added addon domain in CP
8e8fd6a0 bug fix: reset default domain if old deleted
dcb71c45 bug fix: dns record add ref : Txt record insertion error
3a8c3cf6 bug fix: wp manager ref ClickUp
3db2eea9 docker install function
58721b91 docker install function
3f0d1e37 bug fix: remote transfer
b89418a1 bug fix clone/staging ClickUp
34b7216a bug fix: snapshot delete backups v2
ce4b06f5 bug fix: file editor issue ref: Error HTML Editor
f854aaf8 bug fix: in backups v2
a6f8a85e updated error message to better reflect the situation
15ffd846 updated error message to better reflect the situation
191f007b bug fix: backup
fdcb7822 bug fix: mautic install
a6a4889f bug fix: backup creation
65e21b23 bug fix: reset dns configurations upon email config rest
1cbd84b0 lsws conversion support for arm: ref ClickUp
8e83f513 lsws conversion support for arm: ref ClickUp
874cdfdc fix mariadb install for ubuntu 20 ref [ERROR] We are not able to run DEBIAN_FRONTEND=noninteract - #2 by usmannasir
ed4cfb16 feature: include homedir in backups ref: [Feature-Required] Backup don't include other folders/files under website directory · Issue #1196 · usmannasir/cyberpanel · GitHub
:

Can you do one last thing and share logs from CyberPanel main log file ?

I’ve tried to reproduce your situation and these are my logs

[02.13.2024_18-25-13] Postfix Hostname: cl.cyberpanel.net. Server IP 95.217.248.69. rDNS: cl.cyberpanel.net, rDNS check 1
Hostname is already set, the same hostname is also used with mail service and rDNS. Let see if valid SSL also exists for this hostname..,10
[02.13.2024_18-25-13] Hostname is already set, the same hostname is also used with mail service and rDNS. Let see if valid SSL also exists for this hostname..,10
It looks like your current hostname is already the mail server hostname and rDNS is also set and there is a valid SSL, nothing needed to do.
[02.13.2024_18-25-13] It looks like your current hostname is already the mail server hostname and rDNS is also set and there is a valid SSL, nothing needed to do.
[02.13.2024_18-25-15] sudo -u root systemctl restart postfix && systemctl restart dovecot && postmap -F hash:/etc/postfix/vmail_ssl.map

It does not update my existing SSL.

You can run on cli

/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py Daily

Then run

cat /home/cyberpanel/error-logs.txt

then share logs of this log command.

[02.07.2024_18-00-05] SSL exists for mail.example.com and is not ready to renew, skipping…
[02.07.2024_18-00-05] Checking SSL for mail.exm.example.com.
[02.07.2024_18-00-05] SSL exists for mail.exm.example.com. Checking if SSL will expire in 15 days…
[02.07.2024_18-00-05] SSL exists for mail.exm.example.com and is not ready to renew, skipping…
[02.07.2024_18-00-05] Restarting mail services for them to see new SSL.
[02.07.2024_18-00-05] [Errno 2] No such file or directory: ‘postmap’: ‘postmap’. [ProcessUtilities.normalExecutioner.Base]
[02.07.2024_18-00-17] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.07.2024_18-00-20] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.07.2024_21-05-20] Expecting value: line 1 column 1 (char 0)
[02.07.2024_23-23-37] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.08.2024_18-00-16] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.08.2024_18-00-19] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.08.2024_20-35-51] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.09.2024_18-00-16] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.09.2024_18-00-19] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.10.2024_18-00-16] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.10.2024_18-00-16] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.10.2024_18-00-19] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.10.2024_18-00-19] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_18-00-16] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.11.2024_18-00-19] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-25-53] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.11.2024_22-34-27] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.11.2024_22-34-52] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-36-01] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-36-10] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-45-02] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-46-14] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-49-13] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-50-39] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_22-51-15] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.11.2024_22-58-46] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.11.2024_23-00-26] Covered domains: [‘exm.example.com’]
[02.11.2024_23-00-26] Status Code: Unknown for: http://www.exm.example.com/.well-known/acme-challenge/exm.example.com. Error: HTTPConnectionPool(host=‘www.exm.example.com’, port=80): Max retries exceeded with url: /.well-known/acme-challenge/exm.example.com (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7fcb71feeb38>: Failed to establish a new connection: [Errno -2] Name or service not known’,))
[02.11.2024_23-00-26] Status Code: Unkown for: http://exm.example.com/.well-known/acme-challenge/exm.example.com. Error: Exceeded 30 redirects.
[02.11.2024_23-00-29] /root/.acme.sh/acme.sh --issue -d exm.example.com -d www.exm.example.com --cert-file /etc/letsencrypt/live/exm.example.com/cert.pem --key-file /etc/letsencrypt/live/exm.example.com/privkey.pem --fullchain-file /etc/letsencrypt/live/exm.example.com/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[02.11.2024_23-00-38] Failed to obtain SSL for: exm.example.com and: www.exm.example.com
[02.11.2024_23-00-38] Trying to obtain SSL for: exm.example.com
[02.11.2024_23-00-38] /root/.acme.sh/acme.sh --issue -d exm.example.com --cert-file /etc/letsencrypt/live/exm.example.com/cert.pem --key-file /etc/letsencrypt/live/exm.example.com/privkey.pem --fullchain-file /etc/letsencrypt/live/exm.example.com/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[02.11.2024_23-00-44] Successfully obtained SSL for: exm.example.com
[02.11.2024_23-00-44] [Errno 111] Connection refused
[02.11.2024_23-16-50] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.12.2024_18-00-17] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.12.2024_18-00-20] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.13.2024_11-15-27] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.13.2024_11-21-40] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[02.13.2024_18-00-16] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.13.2024_18-00-19] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.13.2024_18-55-12] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[02.13.2024_18-55-15] Domain that you have provided is not configured as rDNS for your server IP. [404]

**host name musked

So I keep seeing this error, can you open a ticket here with server logins: https://platform.cyberpersons.com/

then mention ticket id here.

To create ticket in support departments you can purchase CyberPanel Cloud Support plans.

I cant create ticket. Is it Paid? My all server have same issue.

I have skipped Additional Features “Skip rDNS/PTR Check (If you don’t want to use email service on this server)” then logs showing like…

[02.14.2024_10-07-21] Domain that you have provided is not configured as rDNS for your server IP. [404]
[02.14.2024_10-07-31] Hostname is already set, the same hostname is also used with mail service and rDNS. Let see if valid SSL also exists for this hostname…,10
[02.14.2024_10-07-31] It looks like your current hostname is already the mail server hostname and rDNS is also set and there is a valid SSL, nothing needed to do.
[02.14.2024_10-07-53] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5

Create ticket in any department if it is a bug, we don’t charge anything.

@usmannasir i face the same issues with rdns…
The rdns is setup correctly, and i also check with ‘dig -x’, but in the setup page from cypberpanel it always return 404( Domain that you have provided is not configured as rDNS for your server IP. [404] )

What should i do?

Panel Version: 2.3.5 (c97df70156acd8d6a005d7b10e9f6a0aaf900c23)

Thank you!

I am still having the same problem. But I have adopted some trick to solve it. Completed setup by skipping Mailserver. Later I did separate mailserver ssl issue. But the problem is that every time I reboot the server, the mailserver ssl is lost. As a result, every time after rebooting the server, doing a separate postfix restart (systemctl restart postfix), then everything works fine.

Also noticed after 2.3.5 version upgrade no error log is coming in admin profile default mail.

Well if the problem is only at reboot, will not be much trouble, but does the ssl autorenew itself?

For example, i do as you said, and skip mailserver then issuse ssl, the ssl have 3 month lifetime, does it after 3rd month get renewed? or i have to issuse again ssl?

Thanks for tip, but i’m already use Cypberpanel for like 2 years, and everything went smooth till last update.

Good question. I also faced this problem on upgrade to 2.3.5 version. Since it hasn’t been 3 months, I can’t tell you exactly. But I hope that connected ssl will autorenew normally.

Hi,
Me too, I’m facing the same issue with my server. I was able to upgrade some VPS before without any issue, but this time I got that rDNS error even thought I’m sure it is setup correctly, the only difference here it is a dedicated server not a VPS (I use Hetzner). Could you please fix this?

Update (Resolved):
I was able to fix the issue by editing the /etc/hosts file and adding the correct hostname to it. This was on a dedicated server running CentOS 7.
I observed that after running the command:
ping example.com
I noticed that the hostname was incorrect because the output appeared like this:

PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.023 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.024 ms

The problem was with the localhost.localdomain section (which may vary in your situation), but this is supposed to be the hostname, so I modified the ipv4 part like this (example.com should be substituted with your hostname):

# IPv4
127.0.0.1 example.com example
127.0.0.1 localhost.localdomain localhost example.com
127.0.0.1 localhost4.localdomain4 localhost4 example.com

After saving the hosts file and restarting the server, I used the ping command to verify everything was working correctly. When I reran the setup wizard, it completed successfully!
I hope this can help you.

1 Like

Did you added “127.0.0.1 example.com example” above or edit an existing line?
Because I tried by modifying the existing line. Then the server became very slow and was about to shut down. There is no section called IPv4 on VPS server in this file.

Can you copy & paste the content of your /etc/hosts file? Just to clarify: My server is an old one using CentOS 7, from Hetzner, maybe things are different for you. I think I should mention the OS in my previous post.