Answer the question
In order to leave comments, you need to log in
How to set up DDNS from no-ip on a D-Link DIR-320/A/D1A router?
The native firmware of the router was 1.0.6, but in the DDNS settings there were only dyndns.com, dlinkddns from the servers, and there was no no-ip I needed, after which I updated the firmware to the latest (which I found), but in it in DDNS settings is missing the field specifying the ddns server. Tell me how to solve this problem?
Answer the question
In order to leave comments, you need to log in
I solved the problem with a script. www.noip.com/integrate/request
import re, urllib
if __name__ == "__main__":
web_page = urllib.urlopen("http://2ip.ru")
web_page = web_page.read()
ip = re.findall("(\d+\.\d+\.\d+\.\d+)", web_page)[0]
username = 'username'
password = 'password'
host = 'host'
update = urllib.urlopen("http://"+str(username)+":"+str(password)+
"@dynupdate.no-ip.com/nic/update?hostname="+str(host)+"&myip="+ ip)
res = update.read()
if re.match("(good)|(nochg)", res):
print 'ok'
else:
print 'error\n' + res
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question