Hi all,
Has anyone done any work with Dynamic DNS on the Netburner?
I am developing a remote monitoring system that is going to be deployed over GPRS. The GSM network I am going to use has a static IP that changes each time you connect and I am looking at the use of DYNDNS.ORG to give it a domain for easy access to the unit.
I have found some source code to do this but I can't find any documents on the actual protocol for this. I could work it out from the source code but I prefer to know the details so I can properly implement it.
Anyone else done this and know where I can locate documents on the protocol?
Cheers,
Dave...
Dynamic DNS
Re: Dynamic DNS
I haven't done it on a netburner yet, however I did it from a vbscript a while back. You should be able to port this example over pretty easily. Btw, the example is for OpenDNS.
Code: Select all
function UpdateOpenDNS()
'Update OpenDNS account by posting the OpenDNS network label after loggin in
'Required: OpenDNS Account & Label
oUsername=""
oPassword=""
oOpenDNSNetworkLabel=""
Set xml = CreateObject("Microsoft.XMLHTTP")
On Error Resume Next
xml.Open "GET", "https://updates.opendns.com/nic/update?hostname=" & oOpenDNSNetworkLabel, False, oUsername, oPassword
xml.Send
If Not Err.Number <> 0 Then
if instr(xml.responseText,"good")>0 then
UpdateOpenDNS = "Record Updated"
else
UpdateOpenDNS = "Error updating Record"
end if
end if
end function
Re: Dynamic DNS
Thanks. I also managed to find some code for DYNDNS and it seems to be very similar to what you posted. I'll be trying it out over the next few days.
Cheers,
Dave...
Cheers,
Dave...