Amazon Route 53 Authentication Tools for Curl, dnscurl.pl is used to interface with Amazon Route 53, allowing you to update your DNS settings on the service.

dnscurl.pl requires Perl 5.8.8 or greater, curl 7.15.5 or greater, and the following Perl modules:

  • Digest::HMAC_SHA1
  • FindBin
  • MIME::Base64
  • Getopt::Long
  • File::Temp
  • File::Basename
  • Fcntl
  • IO::Handle

This tool does not require environment variables to be set, but it does use the file ~/.aws-secrets to store AWS credentials. To setup the ~/.aws-secretsfile, see HowTo: Install AWS CLI - Security Credentials.

Install Script

If you’re running Linux, this script will do everything this article covers: install_dnscurl.sh from our aws_scripts collection. Be sure to run it as root or use sudo.

Git Repository

Checkout the repository. This only needs to be done once throughout this series of articles.

Console - user@hostname ~ $

1
git clone https://bitbucket.org/dowdandassociates/aws_scripts.git

Run install script

Console - user@hostname ~ $

1
sudo aws_scripts/install_aws_cli/install_dnscurl.sh

Direct Download of Script

Console - user@hostname ~ $

1
curl -L https://bitbucket.org/dowdandassociates/aws_scripts/raw/master/install_aws_cli/install_dnscurl.sh | sudo bash

Install Process

Download the file.

Console - root@hostname ~ #

1
2
3
curl --silent \
--output /usr/local/bin/dnscurl.pl \
http://awsmedia.s3.amazonaws.com/catalog/attachments/dnscurl.pl

Set dnscurl.pl to be able to execute.

Console - root@hostname ~ #

1
chmod 755 /usr/local/bin/dnscurl.pl

References

Parts in this series

Comments