i use ether1 ip 192.168.1.100 (for MikroTik User Manager )
ether1 with PPPoE Client (for ADSL ip x.x.x.x)
ether2 10.5.50.1 (for hotspot)
-how to send Dydns ip x.x.x.x
-/tool dns-update (CHANGEIP.com) Send 192.168.1.100 or x.x.x.x ???
i want IP PPPoE Client (ADSL ip x.x.x.x) for use Winbox
help me

Are you saying that the IP our script is detecting is a private IP address? I believe we throw those out and detect your external IP on those … have you set it up yet?
Thx,
Sam
:log info “DDNS: Begin”
:global ddns-user “YOURUSERID”
:global ddns-pass “YOURPASSWORD”
:global ddns-host “*1”
:global ddns-interface “EXACTINTERFACENAME”
:global ddns-ip [ /ip address get [/ip address find interface=$ddns-interface] address ]
:if ([ :typeof $ddns-lastip ] = nil ) do={ :global ddns-lastip 0.0.0.0/0 }
:if ([ :typeof $ddns-ip ] = nil ) do={
:log info ("DDNS: No ip address present on " . $ddns-interface . “, please check.”)
} else={
:if ($ddns-ip != $ddns-lastip) do={
:log info “DDNS: Sending UPDATE!”
:log info [ /tool dns-update name=$ddns-host address=[:pick $ddns-ip 0 [:find $ddns-ip “/”] ] key-name=$ddns-user key=$ddns-pass ]
:global ddns-lastip $ddns-ip
} else={
:log info “DDNS: No change”
}
}
:log info "DDNS: End
****This script send private IP(x.x.x.x ) or 192.168.1.100 ???
I will work on a modification that will detect if its within the private range and submit a wildcard which will tell our servers to detect your IP from the outside. I will respond shortly.
Sam