Update DynDNS service list
-
Hello,
How do I suggest a new entry on the DynDNS list over services supported?
Is redmine correct way or does it only handle bugs?Today the service "Loopia" is supported, but the username/password that is used, is the one for logging in to the Loopia account with unrestricted access
Loopia also has "API users" you can create and only give access for instance to update dns records.
This is done via their XML_RPC server.
I want to suggest to add this way also.Here is an example in python for create an account and register a domain that might be usefull:
===group```#!/usr/local/bin/python # -*- coding: utf-8 -*- import calendar import sys import time import xmlrpclib def main(): global_username = 'YOUR_USERNAME' global_password = 'YOUR_PASSWORD' global_domain_server_url = \ 'https://api.loopia.se/RPCSERV' domain = 'anders-via-python-%s.se' % \ calendar.timegm(time.gmtime()) contact = {'firstname' : 'Anders', 'lastname' : 'Andersson', 'company' : 'Loopia AB', 'street' : 'Kopparlundsvägen 7B', 'street2' : '', 'zip' : '72130', 'city' : 'Västerås', 'country_iso2' : 'se', 'orgno' : '556633-9304', 'phone' : '021-128222', 'cell' : '', 'fax' : '', 'email' : 'info@loopia.se'} client = xmlrpclib.ServerProxy(uri = global_domain_server_url, encoding = 'utf-8') response = client.createNewAccount(global_username, global_password, domain, contact, False, False, True, 'HOSTING_UNIX', 'HOSTING_BUSINESS', True) print 'Account created: %s\n' % response if __name__ == '__main__': main() ```kotlin
===
And here is a syntax for updating DNS server:
===groupstatus = updateDNSServers(username, password, [customer_number,] domain, nameservers)
===
Thanks for pointing me in the correct direction
//Sintei -
You probably want to see this file https://github.com/pfsense/pfsense/blob/master/src/etc/inc/dyndns.class
It exists on your pfSense here /etc/inc/
Feel free to post a pull request as I guess that is the right method.
Btw : I'm just a pfSense user.
Btw :
-
@gertjan Thank you.
I'm not skilled in programming that's why I asked where to submit a request.
If I do a pull-request and edit things which most likely is wrong, someone has to view this and I'll wasted his/her time, because.. I suck.I'll gladly donate 10usd to whomever does it. Or donate to a cause by his/her choosing.