1
Web Server - Ask For Help / Re: NT CLient for updating DDNS for DNSSIMPLE
« Last post by Bruce on Today at 03:25:21 AM »If you run the CURL command in a command window (aka DOS prompt), does it work?
2
Web Server - Ask For Help / Re: NT CLient for updating DDNS for DNSSIMPLE
« Last post by rjolda on August 14, 2026, 07:58:20 AM »HI Jane,
I did re-look at DNS stuff. Indeed, it is the FULL API for DNSSIMPLE. However, DNS Simple has their own lightweight Dynamic DNS (DDNS) implementation, available at ddns.horse.
They provide a Curl example: Here is an example using curl: curl -i "https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334" -u "accountid:token"
On capesoft I got the conversion
net.Start()
net.Authorization = net.CreateAuthorizationString ('accountid','token', Net:WebBasicAuthentication,true)
net.Get('https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334')
I am using my Account ID for the authorization string "accountid" and my OAuthToken for the 'token' part of it.
However, I am getting authorization failure.
So, I can't get past the authorization with my credentials. I did double check my credentials and they are correct.
That is where I am at,
Ron
I did re-look at DNS stuff. Indeed, it is the FULL API for DNSSIMPLE. However, DNS Simple has their own lightweight Dynamic DNS (DDNS) implementation, available at ddns.horse.
They provide a Curl example: Here is an example using curl: curl -i "https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334" -u "accountid:token"
On capesoft I got the conversion
net.Start()
net.Authorization = net.CreateAuthorizationString ('accountid','token', Net:WebBasicAuthentication,true)
net.Get('https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334')
I am using my Account ID for the authorization string "accountid" and my OAuthToken for the 'token' part of it.
However, I am getting authorization failure.
So, I can't get past the authorization with my credentials. I did double check my credentials and they are correct.
That is where I am at,
Ron
3
Web Server - Ask For Help / Re: NT CLient for updating DDNS for DNSSIMPLE
« Last post by Jane on August 13, 2026, 05:13:16 PM »No, I haven't.
Have you tried the examples in the nettalk\NetDns folder?
Have you tried the examples in the nettalk\NetDns folder?
4
Web Server - Ask For Help / NT CLient for updating DDNS for DNSSIMPLE
« Last post by rjolda on August 13, 2026, 11:13:12 AM »Hi,
I have a DNSSIMPLE account for my DNS resolution. My ISP gives me a Dynamic IP address. DNSSIMPLE has an API to update DNS records when your HOST IP address changes.
Anyone with NetWebClient code to update DNS record when the host IP address changes.
I have set up an OAUTH token on my DNSSIMPLE account.
They have an API but I have not got it working.
Anyone have working code that they can share?
Thanks,
Ron
I have a DNSSIMPLE account for my DNS resolution. My ISP gives me a Dynamic IP address. DNSSIMPLE has an API to update DNS records when your HOST IP address changes.
Anyone with NetWebClient code to update DNS record when the host IP address changes.
I have set up an OAUTH token on my DNSSIMPLE account.
They have an API but I have not got it working.
Anyone have working code that they can share?
Thanks,
Ron
5
Web Server - Ask For Help / Re: How to translate C# API call to NT
« Last post by rjolda on August 13, 2026, 07:53:52 AM »HI,
THe code above was AI Generated and did NOT WORK!
However, I massaged the code to get this to work:
URL =('https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVIN/' & VINData & '?format=xml')
net.contentType = 'application/x-www-form-urlencoded'
net.SetAccept('json')
net.Get(url)
And, As Bruce said, the return is in the .PageReceived where I trap errors and then parse the return message:
log = clip(log) & '<13,10>------<13,10>' & self.ThisPage.GetValue()
st4.SetValue(log) ! put the log into st object
do Extract_it ( routine to extract out the fields.)
Ron
THe code above was AI Generated and did NOT WORK!
However, I massaged the code to get this to work:
URL =('https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVIN/' & VINData & '?format=xml')
net.contentType = 'application/x-www-form-urlencoded'
net.SetAccept('json')
net.Get(url)
And, As Bruce said, the return is in the .PageReceived where I trap errors and then parse the return message:
log = clip(log) & '<13,10>------<13,10>' & self.ThisPage.GetValue()
st4.SetValue(log) ! put the log into st object
do Extract_it ( routine to extract out the fields.)
Ron
6
Web Server - Ask For Help / Re: Is there a way to GET binary files from a rest server, not using encoding?
« Last post by Bruce on August 12, 2026, 11:44:58 PM »do you have dynamic compression turned on?
7
Web Server - Ask For Help / Re: How to translate C# API call to NT
« Last post by Bruce on August 12, 2026, 11:43:19 PM »Ton,
no, that code Ron got is incorrect.
Responses come back into .PageReceived
no, that code Ron got is incorrect.
Responses come back into .PageReceived
8
Web Server - Ask For Help / Re: netwebclient : IPv6 addresses and port
« Last post by Bruce on August 12, 2026, 11:39:49 PM »Hi Ton,
I think you answered your own question;
>> ::1:8090/yadayada
that's not correct syntax.
>> using [::1]:8090/yadayada
that is correct syntax. If you are adding a port you need to add [ ]
I think you answered your own question;
>> ::1:8090/yadayada
that's not correct syntax.
>> using [::1]:8090/yadayada
that is correct syntax. If you are adding a port you need to add [ ]
9
Web Server - Ask For Help / Re: Nettalk Future?
« Last post by Bruce on August 12, 2026, 11:35:20 PM »Hi Osa,
Development in the NetTalk engine has been "on hold" for a bit because I've been working on the new File drivers.
https://www.capesoft.com/accessories/filedriverkitsp.htm
Having access to more powerful, more secure and faster drivers is the next natural step for NetTalk Web Servers. So first I need to get the drivers "done" and then add some of those features into NetTalk itself.
(Actually NT14 and earlier will do well with the new drivers already because the new drivers use far fewer resources on the server side, and are also tuned for page-based requests, such as the ones NetTalk makes.)
There's also a lot of new functionality in the drivers which need to be exposed via NetTalk. For example the Full Text Search concept makes complete sense in web apps etc.
And of course, there are a raft of new features etc on my white-board waiting for adding to NT.
Cheers
Bruce
Development in the NetTalk engine has been "on hold" for a bit because I've been working on the new File drivers.
https://www.capesoft.com/accessories/filedriverkitsp.htm
Having access to more powerful, more secure and faster drivers is the next natural step for NetTalk Web Servers. So first I need to get the drivers "done" and then add some of those features into NetTalk itself.
(Actually NT14 and earlier will do well with the new drivers already because the new drivers use far fewer resources on the server side, and are also tuned for page-based requests, such as the ones NetTalk makes.)
There's also a lot of new functionality in the drivers which need to be exposed via NetTalk. For example the Full Text Search concept makes complete sense in web apps etc.
And of course, there are a raft of new features etc on my white-board waiting for adding to NT.
Cheers
Bruce
10
Web Server - Ask For Help / Re: Syslog 'Server'
« Last post by PaulMacFarlane on August 12, 2026, 07:55:19 PM »No.
I use a service from Barracuda Networks to filter email. I need to be able to search the log for certain domains and receive a notification of the messages was quarantined or blocked. Nearly 100% of google hosted domains do not have SPF/DKIM/DMARC setup correctly. Google doesn't make them do it, but then again 50% of spam comes from gmail and gmails reporting is unworkable.
Anyway, we can't just add these domains to the allow list and the only way to search the log is manually or via syslog. But the syslog also has a bunch if irrelevant stuff I want to ignore.
I also want non-admin users to be able to add domains to the search list.
So, I want to receive syslog records and then process them without using our normal syslog server.
I use a service from Barracuda Networks to filter email. I need to be able to search the log for certain domains and receive a notification of the messages was quarantined or blocked. Nearly 100% of google hosted domains do not have SPF/DKIM/DMARC setup correctly. Google doesn't make them do it, but then again 50% of spam comes from gmail and gmails reporting is unworkable.
Anyway, we can't just add these domains to the allow list and the only way to search the log is manually or via syslog. But the syslog also has a bunch if irrelevant stuff I want to ignore.
I also want non-admin users to be able to add domains to the search list.
So, I want to receive syslog records and then process them without using our normal syslog server.
Recent Posts