DyName is a Dynamic DNS Update Client for Namecoin. Written in Python; Licensed under GPLv3.
https://github.com/JeremyRand/DyName
Documentation is in the readme. Test reports welcome.
DyName: Dynamic DNS Update Client for Namecoin
Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: DyName: Dynamic DNS Update Client for Namecoin
This is meant to be used like DynDNS? Nice.biolizard89 wrote:DyName is a Dynamic DNS Update Client for Namecoin. Written in Python; Licensed under GPLv3.
https://github.com/JeremyRand/DyName
Documentation is in the readme. Test reports welcome.
lol. Makes perfect sense, though.--i-want-my-domain-to-be-stolen
Re: DyName: Dynamic DNS Update Client for Namecoin
Did you consider implementing icanhazip in python?
Code: Select all
# phelix / blockchained.com
import urllib
import urllib2
import socket
timeout = 10
socket.setdefaulttimeout(timeout)
class Fetcher(object):
def __init__(self):
self.opener = urllib2.build_opener(urllib2.HTTPHandler(debuglevel=1))
self.opener.addheaders = [('User-agent', 'DyName 123')]
def fetch(self, url):
f = self.opener.open(url, timeout=timeout)
data = None
try:
data = f.read()
finally:
f.close()
return data
if __name__ == "__main__":
print "standalone"
fetcher = Fetcher()
print "ip: ", fetcher.fetch("http://icanhazip.com")
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: DyName: Dynamic DNS Update Client for Namecoin
Yep, it's like DynDNS or No-IP.
I used Bash for the icanhazip scripts because it seemed easiest, but Python should work equally well, just save the Python script in the same folder and configure the .conf file to use it.
I used Bash for the icanhazip scripts because it seemed easiest, but Python should work equally well, just save the Python script in the same folder and configure the .conf file to use it.