update DDNS

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

Rispondi
marcocc
n00b
Messaggi: 4
Iscritto il: ven 09 mag , 2014 5:00 pm

Buongiorno a tutti,
sto facendo il passaggio da un cisco 867 ad un 887, ho ripristinato tutto, ma non sono capace di far funzionare l'update DDNS.
Anticipo che ho inserito il link HTTP utilizzando CTRL-V prima del ?...
Il problema è che nella config il comando è corretto, punto di domanda compreso, mentre nell'output del debug, il punto di domanda sparisce.
Infatti se copio il link che produce il debug in un browser, non funziona, se correggo il link aggiungendo il ? o usando la riga della config, funziona regolarmente.

Codice: Seleziona tutto

version 15.4
    ip ddns update method noip
     HTTP     
      add http://[email protected]:[email protected]/nic/update?hostname=<h>&myip=<a>
     interval maximum 0 0 5 0

    interface Dialer0
     description DIALER
     ip ddns update hostname mmmm.no-ip.org
     ip ddns update noip

Codice: Seleziona tutto

    001235: Mar 18 07:24:46.864 MET: DYNDNSUPD: Adding DNS mapping for mmm.no-ip.org <=> nn.221.nnn.65
    001236: Mar 18 07:24:46.864 MET: HTTPDNS: Update add called for mmmm.no-ip.org <=> nn.221.nnn.65
    001237: Mar 18 07:24:46.864 MET: HTTPDNSUPD: Session ID = 0x50
    001238: Mar 18 07:24:46.864 MET: HTTPDNSUPD: URL = 'http://[email protected]:[email protected]/nic/updatehostname=nnn.no-ip.org&myip=nnn.221.nnn.65'
    001239: Mar 18 07:24:46.864 MET: HTTPDNSUPD: Sending request
    001240: Mar 18 07:24:48.540 MET: HTTPDNSUPD: Response for update nnn.no-ip.org <=> nn.221.nnn.65

    001241: Mar 18 07:24:48.540 MET: HTTPDNSUPD: DATA START
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /nic/updatehostname=nnn.no-ip.org&myip=nnn.221.nnn.65 was not found on this server.</p>
    <hr>
    <address>Apache Server at dynupdate.no-ip.com Port 80</address>
    </body></html>
001242: Mar 18 07:24:48.544 MET: HTTPDNSUPD: DATA END, Status is Response data recieved, successfully
001243: Mar 18 07:24:48.544 MET: HTTPDNSUPD: Call returned SUCCESS, update of mmmm.no-ip.org <=> nnn.221.nnn.65 succeeded
001244: Mar 18 07:24:48.544 MET: DYNDNSUPD: Another update completed (outstanding=0, total=0)
001245: Mar 18 07:24:48.544 MET: HTTPDNSUPD: Clearing all session 80 info



il problema secondo me sta qui:
<p>The requested URL /nic/updatehostname=nnn.no-ip.org&myip=nnn.221.nnn.65 was not found on this server.</p>

tra update e hostname manca il ?

ho scritto e riscritto la config, ma non c'è modo che lo prenda; tra l'altro la stessa conf sul 867 funzionava regolarmente.

cosa posso fare? grazie per ogni aiuto!
Rispondi