Koozali.org: home of the SME Server

6.01 Dynamic DNS

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
6.01 Dynamic DNS
« on: December 23, 2005, 08:34:52 PM »
I just set up a yi.org account & host for a 6.0.1 server -- how often does the SME server update the yi.org host IP?  

I just rebooted the server after configuring I haven't seen the IP update yet after about 10 min..

Thanks,

Chris Buechler

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 6.01 Dynamic DNS
« Reply #1 on: December 23, 2005, 09:32:22 PM »
Quote from: "eiceic"
I just set up a yi.org account & host for a 6.0.1 server -- how often does the SME server update the yi.org host IP?  

I just rebooted the server after configuring I haven't seen the IP update yet after about 10 min..


Check /var/log/messages for errors. yi.org should be contacted as soon as your external interface is up.

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
logs
« Reply #2 on: December 23, 2005, 09:45:41 PM »
Charley,

I have this in my log files {sensitive parts removed}   - does this look like it worked?  The IP still doesn't show up on the yi.org website -- does it maybe take their servers a while to catch up?

Thanks,

Chris Buechler


View log files
Viewed at Fri 23 Dec 2005 11:38:50 AM EST.

Displaying lines matching: "yi.org".

Dec 23 10:24:52 linux1 /sbin/e-smith/console[5900]: /home/e-smith/configuration: NEW DynDNS=service|Account|{my_host_name}.yi.org|Password|{my_password}|Service|yi|status|enabled
Dec 23 10:29:07 linux1 e-smith[2901]: Fri Dec 23 10:29:06 EST 2005: 1[a({my_hostname}.yi.org)] 1 {my_external_ip}

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: logs
« Reply #3 on: December 23, 2005, 10:41:17 PM »
Quote from: "eiceic"
Charley,


You spelling and/or reading is poor.

Quote

I have this in my log files {sensitive parts removed}   - does this look like it worked?


What you see there is only your local configuration being updated. You should be looking for ip-up or ip-change - those are the events when yi should be updated.

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
dynamic dns
« Reply #4 on: December 23, 2005, 10:54:26 PM »
I am very sorry Charlie.  I stand corrected.  I don't see anything in these ip-change & ip-up search results that appear to post the ip with yi.org - do you see anything?

Thank you very much,

Chris Buechler

The ip-change result


Dec 23 10:29:03 linux1 e-smith[2901]: Processing event: ip-change 141.150.253.88
Dec 23 10:29:03 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S15set-external-ip
Dec 23 10:29:04 linux1 /etc/e-smith/events/ip-change/S15set-external-ip[2902]: /home/e-smith/configuration: OLD ExternalIP=141.150.236.58
Dec 23 10:29:04 linux1 /etc/e-smith/events/ip-change/S15set-external-ip[2902]: /home/e-smith/configuration: NEW ExternalIP=141.150.253.88
Dec 23 10:29:04 linux1 /etc/e-smith/events/ip-change/S15set-external-ip[2902]: /home/e-smith/configuration: OLD ExternalInterface=interface|Configuration|pppoe|Gateway||IPAddress|141.150.236.58|Name|ppp0|Netmask|255.255.255.0
Dec 23 10:29:04 linux1 /etc/e-smith/events/ip-change/S15set-external-ip[2902]: /home/e-smith/configuration: NEW ExternalInterface=interface|Configuration|pppoe|Gateway||IPAddress|141.150.253.88|Name|ppp0|Netmask|255.255.255.0
Dec 23 10:29:04 linux1 e-smith[2901]: S15set-external-ip=action|Event|ip-change|Action|S15set-external-ip|Start|1135351743 987635|End|1135351744 106825|Elapsed|0.11919
Dec 23 10:29:04 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S16adjust-masq
Dec 23 10:29:04 linux1 e-smith[2901]: S16adjust-masq=action|Event|ip-change|Action|S16adjust-masq|Start|1135351744 106968|End|1135351744 602692|Elapsed|0.495724
Dec 23 10:29:04 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S47proftpd-conf
Dec 23 10:29:04 linux1 e-smith[2901]: S47proftpd-conf=action|Event|ip-change|Action|S47proftpd-conf|Start|1135351744 602847|End|1135351744 864307|Elapsed|0.26146
Dec 23 10:29:04 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S50conf-security
Dec 23 10:29:05 linux1 e-smith[2901]: S50conf-security=action|Event|ip-change|Action|S50conf-security|Start|1135351744 864445|End|1135351745 179150|Elapsed|0.314705
Dec 23 10:29:05 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S55email-conf
Dec 23 10:29:05 linux1 e-smith[2901]: S55email-conf=action|Event|ip-change|Action|S55email-conf|Start|1135351745 179285|End|1135351745 633978|Elapsed|0.454693
Dec 23 10:29:05 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S55mailfront-conf-control
Dec 23 10:29:05 linux1 e-smith[2901]: S55mailfront-conf-control=action|Event|ip-change|Action|S55mailfront-conf-control|Start|1135351745 634122|End|1135351745 810432|Elapsed|0.17631
Dec 23 10:29:05 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S60email-sighup
Dec 23 10:29:05 linux1 e-smith[2901]: S60email-sighup=action|Event|ip-change|Action|S60email-sighup|Start|1135351745 810571|End|1135351745 858465|Elapsed|0.047894
Dec 23 10:29:05 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S80pptpd-conf
Dec 23 10:29:06 linux1 e-smith[2901]: S80pptpd-conf=action|Event|ip-change|Action|S80pptpd-conf|Start|1135351745 858597|End|1135351746 143027|Elapsed|0.28443
Dec 23 10:29:06 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S85update-dns
Dec 23 10:29:07 linux1 e-smith[2901]: S85update-dns=action|Event|ip-change|Action|S85update-dns|Start|1135351746 143165|End|1135351747 426760|Elapsed|1.283595
Dec 23 10:29:07 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S90pptpd-restart
Dec 23 10:29:07 linux1 e-smith[2901]: S90pptpd-restart=action|Event|ip-change|Action|S90pptpd-restart|Start|1135351747 426915|End|1135351747 609011|Elapsed|0.182096
Dec 23 10:29:07 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S90restart-ntpd
Dec 23 10:29:07 linux1 e-smith[2901]: Couldn't stop ntpd at /etc/e-smith/events/ip-change/S90restart-ntpd line 42.
Dec 23 10:29:07 linux1 e-smith[2901]: S90restart-ntpd=action|Event|ip-change|Action|S90restart-ntpd|Start|1135351747 609215|End|1135351747 912533|Elapsed|0.303318|Status|256

The ip-up result

Dec 23 10:29:03 linux1 pppd[2850]: Script /etc/ppp/ip-up started (pid 2896)
Dec 23 10:29:07 linux1 e-smith[3158]: Processing event: ip-up ppp0  38400 141.150.253.88 10.10.1.1 pppoe
Dec 23 10:29:07 linux1 e-smith[3158]: Running event handler: /etc/e-smith/events/ip-up/S20email-ipup
Dec 23 10:29:08 linux1 e-smith[3158]: S20email-ipup=action|Event|ip-up|Action|S20email-ipup|Start|1135351747 965332|End|1135351748 55142|Elapsed|0.0898099999999999
Dec 23 10:29:08 linux1 e-smith[3158]: Running event handler: /etc/e-smith/events/ip-up/S55set-gateway-ip
Dec 23 10:29:08 linux1 e-smith[3158]: S55set-gateway-ip=action|Event|ip-up|Action|S55set-gateway-ip|Start|1135351748 55292|End|1135351748 205635|Elapsed|0.150343
Dec 23 10:29:08 linux1 pppd[2850]: Script /etc/ppp/ip-up finished (pid 2896), status = 0x0

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: dynamic dns
« Reply #5 on: December 25, 2005, 01:25:19 AM »
Quote from: "eiceic"
I am very sorry Charlie.  I stand corrected.  I don't see anything in these ip-change & ip-up search results that appear to post the ip with yi.org - do you see anything?


I do.

Quote

Dec 23 10:29:06 linux1 e-smith[2901]: Running event handler: /etc/e-smith/events/ip-change/S85update-dns
Dec 23 10:29:07 linux1 e-smith[2901]: S85update-dns=action|Event|ip-change|Action|S85update-dns|Start|1135351746 143165|End|1135351747 426760|Elapsed|1.283595



No reported problems there.

Have you asked yi.org? It's not impossible that they've changed their protocol since the client was written. I personally haven't tested it for years.