da ip statico a indirizzo web
Re: da ip statico a indirizzo web
Mettiamo che io usi inadyn
Poi per settare l'indirizzo web come faccio?
Io avrei bisogno di torrilandstaff.xx dove xx sta per qualsiasi cosa
Poi per settare l'indirizzo web come faccio?
Io avrei bisogno di torrilandstaff.xx dove xx sta per qualsiasi cosa
-
giomba
- Prode Principiante
- Messaggi: 169
- Iscrizione: martedì 10 maggio 2011, 19:50
- Desktop: KDE
- Distribuzione: ArchLinux x86_64
- Località: Firenze
Re: da ip statico a indirizzo web
Quando ti sei registrato su DynDNS, hai scelto un nome per il dominio - forse è lo stesso del nome utente?? Qualcosa tipo torrilandstaff.homepc.it (non credo che possano darti domini di secondo livello, cioè torrilandstaff.xx).
Dopodiché scarichi inadyn, è in un archivio zip, quindi deve essere reso eseguibile. A quel punto lanci il programma con la sintassi suggerita.
./inadyn --dyndns_server_name dyndns.it --dyndns_server_url /nic/update? -u <nomeutente> -p <password> -a <dominio.homepc.it>
Dopodiché scarichi inadyn, è in un archivio zip, quindi deve essere reso eseguibile. A quel punto lanci il programma con la sintassi suggerita.
./inadyn --dyndns_server_name dyndns.it --dyndns_server_url /nic/update? -u <nomeutente> -p <password> -a <dominio.homepc.it>
Linux Registered User #550990
Re: da ip statico a indirizzo web
Ma perché ho il dominio di terzo livello con homepc? Comunque quando mi sono registrato hanno voluto solo nome utente e email
-
giomba
- Prode Principiante
- Messaggi: 169
- Iscrizione: martedì 10 maggio 2011, 19:50
- Desktop: KDE
- Distribuzione: ArchLinux x86_64
- Località: Firenze
Re: da ip statico a indirizzo web
DynDNS non offre domini di secondo livello. Non conosco servizi di dynamic DNS che offrono domini di secondo livello, al limite Google rimane sempre tuo amico.
Dopo esserti registrato, entra nel pannello di controllo di DynDNS -> Gestione Host e crea un host col dominio + IP pubblico attuale. Dopodiché, puoi lanciare inadyn, controlla che non dia errori, e penserà lui a tutto il resto.
Dopo esserti registrato, entra nel pannello di controllo di DynDNS -> Gestione Host e crea un host col dominio + IP pubblico attuale. Dopodiché, puoi lanciare inadyn, controlla che non dia errori, e penserà lui a tutto il resto.
Linux Registered User #550990
Re: da ip statico a indirizzo web
Quindi lo configuro come indicato sul sito poi entro nel pannello di controllo di dynDNS lo configuro con l'attuale IP pubblico e poi lancio inadyn e dovrebbe agganciarsi al mio server e controllare quando cambia l'IP pubblico e ricollegarlo al link del sito web?
Ma tutto questo servizio di controllo dell'IP pubblico e di collegamento ad un link web non si può fare direttamente sul mio server senza servizi esterni che non mi lasciano usare domini di secondo livello?
Ma tutto questo servizio di controllo dell'IP pubblico e di collegamento ad un link web non si può fare direttamente sul mio server senza servizi esterni che non mi lasciano usare domini di secondo livello?
-
giomba
- Prode Principiante
- Messaggi: 169
- Iscrizione: martedì 10 maggio 2011, 19:50
- Desktop: KDE
- Distribuzione: ArchLinux x86_64
- Località: Firenze
Re: da ip statico a indirizzo web
Esatto.
Forse potresti mettere un server DNS, ma devi comunque agganciarti a qualche server DNS mondiale, altrimenti esisti solo nella tua rete di casa. Poi, di preciso non ti so dire. Per questo bisognerebbe sentire il parere di qualcuno più esperto.
Forse potresti mettere un server DNS, ma devi comunque agganciarti a qualche server DNS mondiale, altrimenti esisti solo nella tua rete di casa. Poi, di preciso non ti so dire. Per questo bisognerebbe sentire il parere di qualcuno più esperto.
Linux Registered User #550990
Re: da ip statico a indirizzo web
So che ci si può agganciare ai DNS google che hanno indirizzo 8.8.8.8 e 8.8.6.6 ma non so come si faccia 
Re: da ip statico a indirizzo web
Ho provato a settare inadyn ma esce questo errore
Ho installato inadyn con l'apposito comando

Codice: Seleziona tutto
web-server@host0:~$ inadyn --dyndns_server_name dyndns.it -- dyndns_server_url /nic/update? -u NicoCaldo -p xxxxxxx -a torrilandstaff.ns0.it
W:INADYN:CMD_LINE_OPT: Invalid option name at position 4 ('--')
INADYN Help
INADYN is a dynamic DNS client. That is, it maintains the IP address
of a host name. It periodically checks whether the IP address of the current machine
(the external visible IP address of the machine that runs INADYN) has changed.
If yes it performs an update in the dynamic dns server.
Typical usage:
-for dyndns.org system:
inadyn -u username -p password -a my.registrated.name
-for freedns.afraid.org:
inadyn --dyndns_system default@freedns.afraid.org -a my.registrated.name,hash -a anothername,hash2
'hash' is extracted from the grab url batch file that is downloaded from freedns.afraid.org
Parameters:
'--help': help
'-h': help
'--username': your membername/ hash
'-u': your membername / hash
'--password': your password. Optional.
'-p': your password
'--alias': alias host name. this option can appear multiple times.
'-a': alias host name. this option can appear multiple times.
'--input_file': the file containing [further] inadyn options.The default config file, '/etc/inadyn.conf' is used if inadyn is called without any cmd line options.
'--ip_server_name': <srv_name[:port] local_url> - local IP is detected by parsing the response after returned by this server and URL.
The first IP in found in http response is considered 'my IP'.
Default value: 'checkip.dyndns.org /
'--dyndns_server_name': [<NAME>[:port]]
The server that receives the update DNS request.
Allows the use of unknown DNS services that accept HTTP updates.
If no proxy is wanted, then it is enough to set the dyndns system. The default servers will be taken.
'--dyndns_server_url': <name>
full URL relative to DynDNS server root.
Ex: /some_script.php?hostname=
'--dyndns_system': [NAME] - optional DYNDNS service type. SHOULD be one of the following:
-For dyndns.org DNS system: dyndns@dyndns.org OR statdns@dyndns.org OR customdns@dyndns.org.
-For freedns.afraid.org DNS system: default@freedns.afraid.org
-For www.zoneedit.com DNS system: default@zoneedit.com
-For www.no-ip.com DNS system: default@no-ip.com
-For generic DNS system: custom@http_svr_basic_auth
DEFAULT value is intended for default service at dyndns.org (most users): dyndns@dyndns.org
'--proxy_server': [NAME[:port]] - the http proxy server name and port. Default is none.
'--update_period': how often the IP is checked. The period is in [ms]. Default is about 1 min. Max is 10 days
'--update_period_sec': how often the IP is checked. The period is in [sec]. Default is about 1 min. Max is 10 days
'--forced_update_period': how often the IP is updated even if it is not changed. [in sec]
'--log_file': log file path abd name
'--background': run in background. output to log file or to syslog
'--verbose': set dbg level. 0 to 5
'--iterations': set the number of DNS updates. Default is 0, which means infinity.
'--syslog': force logging to syslog . (e.g. /var/log/messages). Works on **NIX systems only.
'--change_persona': after init switch to a new user/group. Parameters: <uid[:gid]> to change to. Works on **NIX systems only.
'--version': print the version number
W:INADYN: Main: Error 'RC_CMD_PARSER_INVALID_OPTION' (0x50).Codice: Seleziona tutto
sudo apt-get install inadyn
-
giomba
- Prode Principiante
- Messaggi: 169
- Iscrizione: martedì 10 maggio 2011, 19:50
- Desktop: KDE
- Distribuzione: ArchLinux x86_64
- Località: Firenze
Re: da ip statico a indirizzo web
Hai messo uno spazio di troppo:W:INADYN:CMD_LINE_OPT: Invalid option name at position 4 ('--')
inadyn --dyndns_server_name dyndns.it --dyndns_server_url /nic/update? -u NicoCaldo -p xxxxxxx -a torrilandstaff.ns0.it
Linux Registered User #550990
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 1 ospite