Brugerværktøjer

Webstedsværktøjer


cpanel_on_cl8

Forskelle

Dette viser forskellene mellem den valgte og den nuværende udgave af dokumentet. Gul er linjer der findes i den gamle udgave, og grøn er linjer der findes i den nuværende.

Link til denne sammenlinings vising

Begge sider forrige revision Forrige revision
cpanel_on_cl8 [2021/02/09 20:00]
noer
cpanel_on_cl8 [2021/02/17 17:42] (nuværende)
noer
Linje 84: Linje 84:
 also-notify=109.201.133.111 209.58.140.85 54.36.26.145 185.206.180.104 185.136.96.66 185.136.97.66 185.136.98.66 185.136.99.66 185.206.180.193 2a00:1768:1001:9::31:1 2605:fe80:2100:a013:7::1 2a0b:1640:1:1:1:1:8ec:5a47 2a06:fb00:1::1:66 2a06:fb00:1::2:66 2a06:fb00:1::3:66 2a06:fb00:1::4:66 2a0b:1640:1:3::1 also-notify=109.201.133.111 209.58.140.85 54.36.26.145 185.206.180.104 185.136.96.66 185.136.97.66 185.136.98.66 185.136.99.66 185.206.180.193 2a00:1768:1001:9::31:1 2605:fe80:2100:a013:7::1 2a0b:1640:1:1:1:1:8ec:5a47 2a06:fb00:1::1:66 2a06:fb00:1::2:66 2a06:fb00:1::3:66 2a06:fb00:1::4:66 2a0b:1640:1:3::1
 ## Hosting.gl settings end ## ## Hosting.gl settings end ##
 +</code>
 +
 +Add this code to ''/opt/hostinggl/update_cluodns.sh'' and ''chmod +x /opt/hostinggl/update_cluodns.sh''
 +<code>
 +#!/bin/bash
 +
 +HOSTNAME=`hostname`
 +URL="https://hosting.gl/modules/servers/cloudns/api.php?action=update%26host=${HOSTNAME}"
 +
 +if [ "/opt/named.conf.updatetime" -ot "/etc/named.conf" ]; then
 +        curl $URL && touch -r /etc/named.conf /opt/named.conf.updatetime
 +fi
 </code> </code>
  
Linje 89: Linje 101:
 <code> <code>
 # Sync DNS to master.ns.gl # Sync DNS to master.ns.gl
-* * * * *       sh /opt/hostinggl/copy_zones_to_ns.sh+* * * * *       sh /opt/hostinggl/update_cluodns.sh
 </code> </code>
  
cpanel_on_cl8.txt · Sidst ændret: 2021/02/17 17:42 af noer