Configurare ddclient Sul sito di DynDNS c'è l'utile strumento ClientConfig per la generazione automatica dei file .conf da usare. Installazione # apt-get install ddclient Configurazione procederemo ora alla configurazione di due file # vim /etc/ddclient.conf Quando si installa vi richiederà dei parametri che se inseriti correttamente farà funzionare immediatamente il client. Se vi trovate però dietro ad un router, dovrete cambiare la riga use=if, if=eth0 con la riga sotto riportata use=web, web=http://checkip.dyndns.com/, web-skip='IP Address' Ecco un il file /etc/ddclient.conf # Configuration file for ddclient generated by debconf## /etc/ddclient.confpid=/var/run/ddclient.pidprotocol=dyndns2use=web, web=http://checkip.dyndns.com/, web-skip='IP Address'server=members.dyndns.orglogin=logindyndnspassword='passwordaccountdyndns'nome.host.org Questa configurazione è molto utile se ci troviamo dietro ad un route e quindi l'IP non possiamo prenderlo da un'interfaccia di rete. il secondo file lo troviamo in /etc/default/ddclient # vim /etc/default/ddclient # Configuration for ddclient scripts# /etc/default/ddclient# Set to "true" if ddclient should be run every time a new ppp connection is# established. This might be useful, if you are using dial-on-demandrun_ipup="true"# Set to "true" if ddclient should run in daemon moderun_daemon="true"# Set the time interval between the updates of the dynamic DNS name in seconds.# This option only takes effect if the ddclient runs in daemon mode.daemon_interval="600" Dobbiamo settare ddclient in modalità demone così da far fare il controllo ad intervalli regolari anziché ad ogni connessione lanciata ad esempio attraverso ppp
DDclient strumento da utilizzare con DynDNS
Configurare ddclient Sul sito di DynDNS c'è l'utile strumento ClientConfig per la generazione automatica dei file .conf da usare. Installazione # apt-get install ddclient Configurazione procederemo ora alla configurazione di due file # vim /etc/ddclient.conf Quando si installa vi richiederà dei parametri che se inseriti correttamente farà funzionare immediatamente il client. Se vi trovate però dietro ad un router, dovrete cambiare la riga use=if, if=eth0 con la riga sotto riportata use=web, web=http://checkip.dyndns.com/, web-skip='IP Address' Ecco un il file /etc/ddclient.conf # Configuration file for ddclient generated by debconf## /etc/ddclient.confpid=/var/run/ddclient.pidprotocol=dyndns2use=web, web=http://checkip.dyndns.com/, web-skip='IP Address'server=members.dyndns.orglogin=logindyndnspassword='passwordaccountdyndns'nome.host.org Questa configurazione è molto utile se ci troviamo dietro ad un route e quindi l'IP non possiamo prenderlo da un'interfaccia di rete. il secondo file lo troviamo in /etc/default/ddclient # vim /etc/default/ddclient # Configuration for ddclient scripts# /etc/default/ddclient# Set to "true" if ddclient should be run every time a new ppp connection is# established. This might be useful, if you are using dial-on-demandrun_ipup="true"# Set to "true" if ddclient should run in daemon moderun_daemon="true"# Set the time interval between the updates of the dynamic DNS name in seconds.# This option only takes effect if the ddclient runs in daemon mode.daemon_interval="600" Dobbiamo settare ddclient in modalità demone così da far fare il controllo ad intervalli regolari anziché ad ogni connessione lanciata ad esempio attraverso ppp