Created
January 27, 2015 22:28
-
-
Save teknogeek0/c7d0f69f91193bcd9dee to your computer and use it in GitHub Desktop.
Revisions
-
teknogeek0 created this gist
Jan 27, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ { "ReversePrivateDNSRecord1" : { "Type" : "AWS::Route53::RecordSet", "Properties" : { "HostedZoneId" : "XXXXXXXXXXX", "Comment" : { "Fn::Join" : [ "", ["DNS name for instance in CF stack: ", { "Ref": "AWS::StackName" }]]}, "Name" : { "Fn::Join" : [ "", [ { "Fn::Select" : [ "3", {"Fn::Split" : [".", { "Fn::GetAtt" : [ "Host1", "PrivateIp" ] } ] }]}, ".", { "Fn::Select" : [ "2", {"Fn::Split" : [".", { "Fn::GetAtt" : [ "Host1", "PrivateIp" ] } ] }]}, ".10.10.in-addr.arpa." ] ] }, "Type" : "PTR", "TTL" : "900", "ResourceRecords" : [{"Fn::Join" : [ "", [{ "Ref" : "InstanceName" }, ".MYDOMAIN.net."] ]}] } } }