Upgrade to Pro — share decks privately, control downloads, hide ads and more …

さよならBIND

inamuu
August 21, 2017

 さよならBIND

社内LT用の資料です。発表日8/9
BINDからRoute53へ移設した際に実施した内容です。

inamuu

August 21, 2017
Tweet

More Decks by inamuu

Other Decks in Technology

Transcript

  1. #*/%ܗࣜΛ9.-΁ม׵ /root/bin/bindtoroute53.pl \ --ignore-origin-ns \ --ignore-soa \ --origin petit.cc \

    < /root/bin/petit.zone \ > /root/bin/petit.cc.xml w#*/%ͷκʔϯܗࣜϑΝΠϧΛͦͷ··ΠϯϙʔτՄೳɻ wϨίʔυͮͭΠϯϙʔτ͢ΔͷͰɺϑΝΠϧʹ෼ׂɻ
  2. 9.-Λ3PVUF΁Πϯϙʔτ /root/bin/dnscurl.pl \ --keyfile ./.aws-secrets \ --keyname my-aws-account \ --

    -X POST -H "Content-Type: text/xml; charset=UTF-8” \ --upload-file petit.cc.xml \ https://route53.amazonaws.com/2010-10-01/hostedzone/ XXXXXXXXXXXX/rrset