Giter Club home page Giter Club logo

Comments (7)

MANKUD avatar MANKUD commented on July 18, 2024

Hello @SingletC

Assuming that you FRP client is a windows machine I have written a powershell script for you which you can run as a batch file by saving it as a batch file with any name.

Run the batch scipt at regular intervals say every 5 min using windows task scheduler to automatically restart service if the IP address pointing to you DDNS changes and as a additional feature I have added automatically update DNS servers for current network adapter to cloudflare dns that is 1.1.1.1 & 1.0.0.1 and flush dns both are automatically done when the DDNS current IP address changes.

from frp.

SingletC avatar SingletC commented on July 18, 2024

Hello @SingletC

Assuming that you FRP client is a windows machine I have written a powershell script for you which you can run as a batch file by saving it as a batch file with any name.

Run the batch scipt at regular intervals say every 5 min using windows task scheduler to automatically restart service if the IP address pointing to you DDNS changes and as a additional feature I have added automatically update DNS servers for current network adapter to cloudflare dns that is 1.1.1.1 & 1.0.0.1 and flush dns both are automatically done when the DDNS current IP address changes.

I much appreciate your help; I did not test the above code. But I assume it will work.
It will be easy to let the client query the IP address of a domain instead of caching it. You can close the thread if this feature seems unnecessary.

from frp.

MANKUD avatar MANKUD commented on July 18, 2024

@SingletC I am having issues sharing the code here give me some time I will post it here.

from frp.

MANKUD avatar MANKUD commented on July 18, 2024

@SingletC Here you go a link to downlod my batch script.

https://www.zippyshare.day/ZnzuZ715lWYguC5/file

from frp.

MANKUD avatar MANKUD commented on July 18, 2024

let me know if this works for you. @SingletC

from frp.

superzjg avatar superzjg commented on July 18, 2024

我有一台frps(arm64)公网ip被运营商更新时,动态域名更新可能不及时,我的另外2台frpc(一台arm,一台arm64),通常会断线几分钟到十几分钟,然后自动重新连上,并不需要重启。

from frp.

github-actions avatar github-actions commented on July 18, 2024

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.