MaddieM4 / pymads

A fork of the pymds authoritative DNS server, designed for asynchronous lookup without domain restrictions.
GNU Lesser General Public License v3.0
4 stars 2 forks source link

Replace pymads.sources.pymadsfile with JSON-loaded config #8

Closed MaddieM4 closed 11 years ago

MaddieM4 commented 11 years ago

Each file should contain only a single {} object, with domain keys and record data values.

Each record data structure is fed into the Record() constructor as kwargs. If domain_name is omitted, it is assumed to be that record data's key in the top-level structure of the JSON document.