Amazon Route 53 to BIND Conversion Tool

Sample Code & Libraries>Amazon Route 53>Amazon Route 53 to BIND Conversion Tool
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

A BIND zone file describes a DNS zone in a common text-based format. This Perl script converts ListResourceRecordSetsResponse XML from the Route 53 API to BIND zone file format.

Details

Submitted By: Woody
AWS Products Used: Amazon Route 53
Languages(s): Perl
License: Apache License 2.0
Created On: December 4, 2010 1:16 AM GMT
Last Updated: December 4, 2010 1:16 AM GMT
Download

About This Sample

  • A BIND zone file describes a DNS zone in a common text-based format.
  • This Perl script converts ListResourceRecordSetsResponse XML from the Amazon Route 53 API to the BIND zone file format.

Prerequisites

  • This sample was tested with Perl 5.8.8.
  • The following Perl modules, which you can download from CPAN:
  • XML::Simple
  • Net::DNS
  • Net::IP
  • Digest::HMAC
  • Digest::SHA1
  • Digest::MD5
  • MIME::Base64

Running the Sample

  • Run the sample using a command-line interface. For example:
    route53tobind.pl  --origin example.com < list_response.xml > example.com.zone
    
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.