Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syno:dsm6inst [2022/11/18 00:54] – [DDNS over Namecheap] Bernard Condrausyno:dsm6inst [2026/04/25 11:49] (current) – [Harddisk warnings] Bernard Condrau
Line 20: Line 20:
  
 ===== DDNS over Namecheap ===== ===== DDNS over Namecheap =====
-  Make sure you installed php-curl and php-xml in your [[deb11:apache#php_installation|Apache 2.4 and PHP 7/8]] installation +  - Add the host to be accessed with DDNS to your domain's //Advanced DNS --> Dynamic DNS// in Namecheap 
-  Add the following script to your webserver:<code><?php+  - Make sure you installed php-curl and php-xml in your [[deb11:apache#php_installation|Apache 2.4 and PHP 7/8]] installation 
 +  Add the following script to your webserver:<code><?php
 try { try {
         $url = 'https://dynamicdns.park-your-domain.com/update?host='.$_GET['host'].'&domain='.$_GET['domain'].'&password='.$_GET['password'].'&ip='.$_GET['ip'];         $url = 'https://dynamicdns.park-your-domain.com/update?host='.$_GET['host'].'&domain='.$_GET['domain'].'&password='.$_GET['password'].'&ip='.$_GET['ip'];
Line 56: Line 57:
     echo "911 [".$e->getMessage()."]";     echo "911 [".$e->getMessage()."]";
 }</code> }</code>
-  Make sure the DDNS update call is allowed by your webserver. For apache, add this to the conf:<code><RequireAny>+  Make sure the DDNS update call is allowed by your webserver. For apache, add this to the conf:<code><RequireAny>
 Require expr "%{QUERY_STRING} =~ /your Namecheap DDNS password/" # allow the DDNS updater to run from the changed ip address Require expr "%{QUERY_STRING} =~ /your Namecheap DDNS password/" # allow the DDNS updater to run from the changed ip address
-Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address</code> +Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address 
-  Create a custom DDNS updater in Synology DSM with the following //Query URL//:<code>https://vps.condrau.com/html/ddns-namecheap.php?host=__USERNAME__&domain=__HOSTNAME__&password=__PASSWORD__&ip=__MYIP__</code>+</RequireAny></code> 
 +  Create a custom DDNS updater in Synology DSM with the following //Query URL//:<code>https://vps.condrau.com/html/ddns-namecheap.php?host=__USERNAME__&domain=__HOSTNAME__&password=__PASSWORD__&ip=__MYIP__</code>
   * [[https://code-bude.net/2022/02/16/namecheap-com-ddns-in-synology-dsm-einrichten/|Namecheap.com DDNS in Synology DSM einrichten]]   * [[https://code-bude.net/2022/02/16/namecheap-com-ddns-in-synology-dsm-einrichten/|Namecheap.com DDNS in Synology DSM einrichten]]
 +  * [[https://www.namecheap.com/support/knowledgebase/article.aspx/29/11/how-to-dynamically-update-the-hosts-ip-with-an-http-request/|How to dynamically update the host's IP with an HTTP request?]]
  
 ===== Certificates ===== ===== Certificates =====
Line 155: Line 158:
   * Copy DKIM Settings following {{ :syno:synology_mailplus_server_admin_guide_enu.pdf |MailPlus Server Admin Guide}} page 72 to your DNS.   * Copy DKIM Settings following {{ :syno:synology_mailplus_server_admin_guide_enu.pdf |MailPlus Server Admin Guide}} page 72 to your DNS.
   * [[syno:dsm6dns|DNS Settings]]   * [[syno:dsm6dns|DNS Settings]]
 +
 +==== Links ====
 +  * [[https://support.google.com/a/answer/81126?visit_id=638527487115813909-2139917871&rd=1#authentication|Email sender guidelines]]
 +  * [[https://serverfault.com/questions/785151/dkim-with-same-key-but-different-domains#:~:text=You%20can%20use%20the%20same,won't%20help%20your%20reputation.|DKIM with same key but different domains]]
 +  * [[https://kb.synology.com/en-ro/DSM/tutorial/How_to_use_multiple_domains_in_MailPlus_Server|How do I use multiple domains in MailPlus Server?]]
  
 ===== Contacts ===== ===== Contacts =====
Line 177: Line 185:
 ===== Customization ===== ===== Customization =====
   * Find all Synology package icons in /var/cache/pkglist.tmp/icon/AVAIL/SYNO   * Find all Synology package icons in /var/cache/pkglist.tmp/icon/AVAIL/SYNO
-===== Replace Harddisks ===== +===== Harddisks ===== 
 +==== Harddisk warnings ==== 
 +  * Modify file ''/etc/synoinfo.conf'' to adjust System Health warnings:<code>disk_critical_percent="0.05" # 5% 
 +disk_warning_percent ="0.1"  # 10%</code>
 ==== DSM 6 ==== ==== DSM 6 ====
   - Shut down the NAS and replace the first disk. Numbering of disks is from left to right.   - Shut down the NAS and replace the first disk. Numbering of disks is from left to right.