drittich / dnstube Goto Github PK
View Code? Open in Web Editor NEWAccess your computer from anywhere. DnsTube is a Windows .NET dynamic DNS client for Cloudflare.
Home Page: https://drittich.github.io/DnsTube/
License: MIT License
Access your computer from anywhere. DnsTube is a Windows .NET dynamic DNS client for Cloudflare.
Home Page: https://drittich.github.io/DnsTube/
License: MIT License
Every time update ip is not proxied please fix it.
or add a option to disable / enable it. Please!
2020-04-25 10:00:15 PM: Manually updating IP address
2020-04-25 10:00:18 PM: Error updating [trunghuy.cf] in zone [trunghuy.cf] to 115.74.8.74
2020-04-25 10:00:18 PM: Exception of type 'System.Exception' was thrown.
2020-04-25 10:00:19 PM: Updated name [trunghuy.edu.vn] in zone [trunghuy.edu.vn] to 115.74.8.74
I tested the operation when I changed the IP on cloudflare myself. AD help me
is there a way to get it working as a service?
is there a way to set it up in a way that when we login we get the program window minimized?
Great App. Is there a way to add internal IP option? Right now it's only for external.
Hey I'm wondering if this can run before a login. On my servers I use the tool and I can't get it to run pre login. Some of my clients don't login and they need their VPN. Ive tried task scheduler to no avail. If you could possibly make this run as a service or have any suggestions for me that would be really helpful. Thank you.
As stated in the title, my A records got changed to AAAA when I update both IPv4 and IPv6 using the latest DNSTube release.
DnsTube is using the wrong IPv6-Adress.
If i do ipconfig /all
in Command Prompt, the entry matching DnsTube's IPv6 is named something like Temporary IPv6-Adress in english (My PC ist set to german language).
But this adress is not accessible from outside of my network.
Hi, I installed the latest release but when I try to launch the program, after defining the api key and email I get the following error:
`
************** Tekst van uitzondering **************
System.IO.DirectoryNotFoundException: Kan een gedeelte van het pad C:\Users*user*\AppData\Local\DnsTube\config.json niet vinden.
bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bij System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bij System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
bij System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
bij System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
bij DnsTube.frmSettings.btnSave_Click(Object sender, EventArgs e)
bij System.Windows.Forms.Control.OnClick(EventArgs e)
bij System.Windows.Forms.Button.OnClick(EventArgs e)
bij System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ButtonBase.WndProc(Message& m)
bij System.Windows.Forms.Button.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT-foutopsporing **************
Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor deze
toepassing of computer (machine.config) de waarde
jitDebugging in het gedeelte system.windows.forms zijn ingesteld.
De toepassing moet ook zijn gecompileerd terwijl foutopsporing
was ingeschakeld.
Bijvoorbeeld:
Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen
naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is geregistreerd
en worden niet door dit dialoogvenster verwerkt.
`
I hope you can fix it,
thank you in advance
~smessie
What i do:
Log:
D:\CF Updater>install-service.bat
Creating service...
[SC] CreateService ERFOLG
[SC] ChangeServiceConfig2 ERFOLG
Starting service...
[SC] StartService FEHLER 1053:
Der Dienst antwortete nicht rechtzeitig auf die Start- oder Steuerungsanforderung.
(The Service dosnt respond in time to start or control requests.)
Hi
Please add an option to update DNS records automatically on program launch.Currently the first updates happens only after N minutes set by update interval.
Thanks
DnsTube is a fancy tool. There is a thing that I think can do better.
I learn that you use 'whatismyipaddress.com' web api to get public IP address, as following code :
var url = protocol == IpSupport.IPv4 ? "http://ipv4bot.whatismyipaddress.com" : "http://ipv6bot.whatismyipaddress.com";
but whatismyipaddress.com
web may not suit for global-users. In my case(China), test-ipv6.com
give a More accurate result when whatismyipaddress.com
show "ipv6 is not detected“. so if this tool can supply a second method to get public ip(s), especially ipv6.
Hi
Where is located config file in the new version of DnsTune?
Earlier it was "config.json"
Im using portable DnsTube-Portable-SelfContained-v0.9.3
Thanks
Hi!
Thank you for the app.
Well... The title says everything.
My error . used to be normal before . help me fix
2020-01-22 2:42:55 AM: Detected public IP 115.72.38.191
2020-01-22 2:43:04 AM: Manually updating IP address
2020-01-22 2:43:06 AM: Error updating [chungnguyen.cf] in zone [chungnguyen.cf] to 115.72.38.191
2020-01-22 2:43:06 AM: Response status code does not indicate success: 401 (Unauthorized).
Great app!
Any chance for portable version? Will be great
The updater has stopped working,
throwing error:
Error updating [sub.examle.com] in zone [examle.com] to xx.xxx.xxx.xxx
Exception of type 'System.Exception' was thrown.
I have tried disabling the Windows Firewall and Running as Administrator,
doesn't seem to affect it.
I also tried the API Token option,
getting another error:
Error fetching list: Unable to list DNS records. If you are updating all zones, token permissions should be similar to [All zones - Zone:Read, DNS:Edit]. If your token only has permissions for specific zones, click Settings and configure the Zone IDs with a comma-separated list.
2020-04-29 11:20:57 下午: Manually updating IP address
2020-04-29 11:20:58 下午: Error updating [creatry.tk] in zone [creatry.tk] to 111.11.11.11
2020-04-29 11:20:58 下午: 引发类型为“System.Exception”的异常。
2020-04-29 11:20:59 下午: Error updating [seafile.creatry.tk] in zone [creatry.tk] to 111.11.11.11
2020-04-29 11:20:59 下午: 引发类型为“System.Exception”的异常。
2020-04-29 11:21:00 下午: Error updating [www.creatry.tk] in zone [creatry.tk] to 111.11.11.11
2020-04-29 11:21:00 下午: 引发类型为“System.Exception”的异常。
Installation fails with the following:
PS C:\Program Files\DnsTubeService> .\install-service.bat
.NET 7 SDK not installed, please download and install from https://dotnet.microsoft.com/en-us/download/dotnet/7.0
Exiting
PS C:\Program Files\DnsTubeService> .\install-service.bat
7.0.203 [C:\Program Files\dotnet\sdk]
Found .NET 7 SDK
Creating service...
[SC] CreateService SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
Starting service...
[SC] StartService FAILED 2:
The system cannot find the file specified.
Windows version: Windows 11 Pro 22H2, 22621.1555
Can you add an option to toggle the system proxy?
Or an option to customize the proxy server.
This is useful for my complex network environment (:
Hi.
On latest version im having this error:
2021-07-07 6:52:09 AM: Error fetching list: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
No sites are showing on the list.
pls make this application start as a service!
I was able to use it until now, but now I get an error message.
Error getting public IPv4: One or more errors occurred. (The requested name is valid, but no data of the requested type was found. (ipv4bot.whatismyipaddress.com:80))
We have some record for email server like this: "v=spf1 mx a ip4:XXX.XXX.XXX.XXX -all"
Can you update option for record like that?
I got Error fetching list: Unable to list DNS records. If you are updating all zones, token permissions should be similar to [All zones - Zone:Read, DNS:Edit]. If your token only has permissions for specific zones, click Settings and configure the Zone IDs with a comma-separated list.
My permission setting: Zone.Zone Settings: Read, Zone.Zone Read, Zone.DNS Edit
Please help me.
Update: I just remove Zone ID on setting. Thanks
You cannot use this API for domains with a .cf, .ga, .gq, .ml, or .tk TLD (top-level domain). To configure the DNS settings for this domain, use the Cloudflare Dashboard.
Thank you!
The problem of duplicate IPv6 address in the last segment of TXT record has been fixed and solved.
TXT record "v=spf1 ip6:" becomes "v=spf1 $2", "ip6:" becomes "$2"
VPN ip address is fetched instead of ISP ip address
Hi,
Thank for amazing app. I used it for along time and it really good.
So I don't want to update. But, after my computer reset, It doesn't run because waiting for asking update.
So pls help me to run while asking. And if possible, turn off check for update too.
Thank you so much!
I am trying to use a token that is scoped for a single domain, but the program insists I allow all zones, something that I'd rather not have. Please allow for this, thanks.
Update address now seems to edit the TTL of everything it touches from whatever it is to Auto. This is unwanted behavior IMO.
Any way to fix that?
Automatic update is not working.
The ip is only updated through the manual option.
I am using Windows 10
Nice tool! Do you have any plan to support IPv6?
First thanks for the effort, I hate duckdns and this finally helped me get rid of it for most of the services I have running.
I have another computer that is behind a VPN so it has a different external ip address. Is it possible to run DnsTube on it but have it sync to the same domain as my other computers but as a subdomain/CNAME? for example, could it update the target of vpn.mydomain.com in Cloudflare's DNS? Or maybe i set up vpn.mydomain.com as an A record? (sorry, just brushing the surface on this)
未将对象引用设置到对象的实例
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 DnsTube.frmMain.Init()
在 DnsTube.frmMain.frmMain_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.8.4121.0 built by: NET48REL1LAST_C
基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
DnsTube
程序集版本:0.7.0.0
Win32 版本:0.7.0.0
基本代码:file:///C:/Program%20Files/DnsTube/DnsTube.exe
----------------------------------------
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.8.4121.0 built by: NET48REL1LAST_C
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本:4.0.0.0
Win32 版本:4.8.4001.0 built by: NET48REL1LAST_C
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.ApplicationInsights
程序集版本:2.12.1.36699
Win32 版本:2.12.1.36699
基本代码:file:///C:/Program%20Files/DnsTube/Microsoft.ApplicationInsights.DLL
----------------------------------------
System.Diagnostics.DiagnosticSource
程序集版本:4.0.5.0
Win32 版本:4.700.19.56404
基本代码:file:///C:/Program%20Files/DnsTube/System.Diagnostics.DiagnosticSource.DLL
----------------------------------------
System.Core
程序集版本:4.0.0.0
Win32 版本:4.8.4121.0 built by: NET48REL1LAST_C
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml.Linq
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Net.Http
程序集版本:4.2.0.0
Win32 版本:4.6.26011.01
基本代码:file:///C:/Program%20Files/DnsTube/System.Net.Http.DLL
----------------------------------------
System.Xml
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Newtonsoft.Json
程序集版本:12.0.0.0
Win32 版本:12.0.3.23909
基本代码:file:///C:/Program%20Files/DnsTube/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
程序集版本:4.0.0.0
Win32 版本:4.8.4121.0 built by: NET48REL1LAST_C
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
程序集版本:4.0.0.0
Win32 版本:4.8.4121.0 built by: NET48REL1LAST_C
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.resources
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll
----------------------------------------
mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.8.3752.0 built by: NET48REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。
TXT record "v=spf1 ip6:"become“v=spf1 ip”
lack“6:”
The IPv6 address of the last segment is repeated. The IPv6 address of segment 8 becomes segment 9 and ": 88ab" becomes ": 88ab: 88ab"
Hi
Is it possible to update DNS records only if the host IP has been changed?
Currently we get somehow unnecessary update every N minutes while it may be more efficient to update only if it is changed.
Thanks
Change the checking line to:
dotnet --list-runtimes | findstr /C:" 7."
How to use custom url to get IP address?
Hi.
There is a problem with number of fetch dns zones. I have over 60 domains in Cloudflare. DnsTube fetch and update about 50.
Cant see all domain in list in DnsTube.
Problem exist in latest stable and pre-release.
Thanks
PS E:\ddns> .\install-service.bat
Creating service...
[SC] CreateService SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
Starting service...
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.