This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syno:dsm6inst [2022/11/18 00:49] – [DDNS over Namecheap] Bernard Condrau | syno: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: |
| + | | ||
| try { | try { | ||
| $url = ' | $url = ' | ||
| - | | + | |
| - | curl_setopt($req, | + | // with allow_url_fopen enabled |
| - | curl_setopt($req, | + | $output = file_get_contents($url); |
| - | curl_setopt($ch, | + | |
| - | $res = curl_exec($req); | + | // with curl |
| - | curl_close($req); | + | //$req = curl_init(); |
| - | $xml = new SimpleXMLElement(trim(str_replace(" | + | |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | $xml = new SimpleXMLElement(trim(str_replace(" | ||
| if ($xml-> | if ($xml-> | ||
| $error = $xml-> | $error = $xml-> | ||
| Line 36: | Line 43: | ||
| echo " | echo " | ||
| } elseif (strcmp($error, | } elseif (strcmp($error, | ||
| + | echo " | ||
| + | } elseif (strcmp($error, | ||
| echo " | echo " | ||
| } elseif (strcmp($error, | } elseif (strcmp($error, | ||
| Line 48: | Line 57: | ||
| echo "911 [" | echo "911 [" | ||
| }</ | }</ | ||
| - | | + | |
| Require expr " | Require expr " | ||
| - | Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address</ | + | Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address |
| - | | + | </ |
| + | | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== Certificates ===== | ===== Certificates ===== | ||
| Line 147: | Line 158: | ||
| * Copy DKIM Settings following {{ : | * Copy DKIM Settings following {{ : | ||
| * [[syno: | * [[syno: | ||
| + | |||
| + | ==== Links ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ===== Contacts ===== | ===== Contacts ===== | ||
| Line 169: | Line 185: | ||
| ===== Customization ===== | ===== Customization ===== | ||
| * Find all Synology package icons in / | * Find all Synology package icons in / | ||
| - | ===== Replace | + | ===== Harddisks ===== |
| + | ==== Harddisk warnings ==== | ||
| + | * Modify file ''/ | ||
| + | disk_warning_percent =" | ||
| ==== 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. | ||