Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    RimuDNS 0.0.4

    Download button

    No screenshots available
    Downloads: 64  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Abdallah Deeb | More programs
    GPL v3 / FREE
    September 24th, 2012, 05:24 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    RimuDNS description

    RimuHosting/Zonomi DNS interface in Python

    RimuDNS is a Python wrapper that provides tools for the RimuHosting and Zonomi DNS services.

    Usage

    from rimudns import RimuDNS

    api_key = 'GETYOURAPIKEYFROMTHECONTROLPANEL'
    dns = DNS(api_key)

    dns.change_ip('192.168.59.133', '192.168.59.132')
    if dns.set_record('aa1.example.com', '94.162.59.133'):
     print 'updated: %s records' % dns.record_count

    dns.list_zones()

    dns.create_zone('test.example.com') # should work the first time
    dns.create_zone('test.example.com') # should fail with 500 error

    dns.delete_zone('test.example.com') # should work the first time
    dns.delete_zone('test.example.com') # should fail with 500 error

    dns.list_records('example.com')
    dns.list_records('example.com', all_records=True)

    dns.create_zone('test.example.com') # should work the first time
    dns.set_record('test.example.com', '127.0.0.1')
    dns.set_record('mail.test.example.com', 'test.example.com', 'CNAME')

    updates_list = [
     {
     'action': 'SET', # or 'DELETE',
     'host': 'foo.test.example.com,bar.test.deeb.com', # or ['foo.com', 'bar.com],
     'value': '192.168.1.1',
     'type': 'A' # or 'MX' or 'CNAME' or 'TXT', optional default A,
     #'prio': for MX records, number default 0,
     #'ttl': number, optional default 3600,
     },
     {
     'action': 'DELETE',
     'host': ['foo.test.example.com', 'bar.test.example.com'],
     'value': '192.168.1.1',
     'type': 'CNAME', # or 'TXT', optional default A,
     #'prio': for MX records, number default 0,
     #'ttl': number, optional default 3600,
     },
     ]
    dns.multiple_actions(updates_list)
    dns.delete_zone('test.example.com') # should work the first time



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    RimuHosting DNS | Zonomi DNS | RimuHosting interface | RimuHosting | Zonomi | DNS

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM