my servers 带的ddns多久更新一次ip


Go to solution Solved by ljm42,

Recommended Posts

unraid自带的ddns多久更新一次ip?可以设置吗?

 

[ Google translate: How often does the ddns that come with unraid update its ip? Can it be set? ]

Edited by ljm42
add Google Translate
Link to comment
  • Solution

The system detects when the local IP changes and updates DDNS for yourpersonalhash.unraid.net immediately.

 

If Remote Access is enabled, the system checks the WAN IP every 10 minutes. If it detects a change then DDNS for www.yourpersonalhash.unraid.net is updated immediately.

 

If you are not seeing the updates, it is likely the DNS server you are using is caching the results. Try using one of the big public DNS providers, like Google at 8.8.8.8

Link to comment
On 5/2/2022 at 9:06 AM, ljm42 said:

The system detects when the local IP changes and updates DDNS for yourpersonalhash.unraid.net immediately.

 

If Remote Access is enabled, the system checks the WAN IP every 10 minutes. If it detects a change then DDNS for www.yourpersonalhash.unraid.net is updated immediately.

 

If you are not seeing the updates, it is likely the DNS server you are using is caching the results. Try using one of the big public DNS providers, like Google at 8.8.8.8

换了dns还是不行,我的服务器里点击远程登录无法联接,家里的公网ip己经改变,服务器端没有更新,还是使用以前的ip

 

[ Google Translate: I changed the dns and it still doesn't work. I can't connect by clicking on remote login in my server. The public network ip at home has been changed, and the server has not been updated. I still use the previous ip. ]

Edited by ljm42
add Google Translate
Link to comment
15 hours ago, ljm42 said:

Please open a web terminal and run:

php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v

Then copy/paste the results here

(Output is anonymized, use '-vv' to see full details)
Unraid OS 6.10.0-rc5 with My Servers plugin version 2022.04.26.1740
 Signed in to Unraid.net as yyan
Use SSL is auto
 Rebind protection is disabled for myunraid.net
Local Access url: https://192-168-1-88.hash.myunraid.net:816
 192-168-1-88.hash.myunraid.net resolves to 192.168.1.88
Remote Access url: https://[redacted].hash.myunraid.net:[redacted]
 [redacted].hash.myunraid.net resolves to [redacted]

Request:
{
    "keyfile": "[redacted]",
    "plgversion": "2022.04.26.1740",
    "internalhostname": "*.hash.myunraid.net",
    "internalport": "816",
    "internalprotocol": "https",
    "remoteaccess": "yes",
    "servercomment": "Media server",
    "servername": "Tower",
    "internalip": "192.168.1.88",
    "externalhostname": "*.hash.myunraid.net",
    "externalport": "[redacted]",
    "externalprotocol": "https"
}
Response (HTTP 200):
[]
success

 

今天什么都没动过  试了一下 又可以连接上了 ,不知道是什么原因

 

[ Google Translate: I didn't move anything today, I tried it and I can connect again, I don't know why ]

Edited by ljm42
add Google Translate
Link to comment

I'm glad it is working for you again.

 

I have a theory about what happened...

 

UpdateDNS.php runs every 10 minutes but it only sends data to our cloud server when it detects a change, plus a "keep alive" after three days of no changes, or if you run that `UpdateDNS.php -v` command.

 

If the issue is that the My Servers dashboard had the wrong url, then it seems like something must have gone wrong with the initial submission when the change was detected.  In that case, when we ran `UpdateDNS.php -v` it would have fixed the issue immediately. Or if we had done nothing, it would have fixed itself after about three days.

Link to comment