The API is probably the easiest way. You'd do a
domain.create for the domain, then
domain.resource.creates for the records within the domain. In Python, it's roughly:
Code:
from api import Api
linode = Api(api_key)
for domain_name in mythical_domain_iterator():
d = linode.domain_create(domain=domain_name, type='master')
domain_id = d['DATA']['DomainID']
for name, rrtype, target in mythical_record_tuple_iterator():
linode.domain_resource_create(domainid=domain_id, type=rrtype, name=name, target=target)
Other languages may require semicolons.
_________________
Code:
/* TODO: need to add signature to posts */