Amazon Route 53
Developer Guide (API Version 2012-12-12)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

The dnscurl.pl Command-Line Tool

The dnscurl.pl command-line tool is a Perl script that lets you call Route 53 API actions from a Linux command line. When you run dnscurl.pl and specify the applicable arguments for a given action, dnscurl.pl calculates the Route 53 authentication signature, then calls Curl, a popular tool for interacting with HTTP services. Curl passes the arguments to Route 53, and Route 53 processes the request and returns the results.

You can get dnscurl.pl on the Route 53 Authentication Tool for Curl page. Save dnscurl.pl on the executable path, and make it executable by running the following command at a Linux command prompt:

chmod 755 dnscurl.pl

Note

We have tested dnscurl.pl on Linux and Mac OS.

Some customers have successfully configured Windows clients so that they can run dnscurl.pl. For more information, see the Route 53 forum.

Before you run dnscurl.pl, install the following software:

  • Curl version 7.15.5 or later.

  • Perl, which you can download from Perl.org. dnscurl.pl was tested with Perl version 5.8.8.

  • The following Perl modules, which you can download from CPAN:

    • Digest::HMAC_SHA1

    • FindBin

    • MIME::Base64

    • Getopt::Long

    • File::Temp

    • File::Basename

    • Fcntl

    • IO::Handle

For an example of how to use dnscurl.pl, see Example: Using dnscurl.pl.