route53_aliaser 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +47 -1
- data/lib/route53_aliaser/version.rb +1 -1
- data/lib/route53_aliaser.rb +2 -0
- data/route53_aliaser.gemspec +3 -1
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 563f3f55c7cd9a36a5a37da35b33e0b3f2c9a9b8
|
4
|
+
data.tar.gz: 07831fd468b9f1da4d0b8f95da149994a531ee0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbf2a7489aacaa8fc85c87769fceaba7023da6e568bc08bedf6f046a45c0ccc89e684a3bf7f2945b3aa2f4af0a95899c771573ded6cae46973656842a6a5a52
|
7
|
+
data.tar.gz: bdda0138cefbd04078f6f1a2839a04a7681922ab56ac07701e91877a6ec875fdff2db904bf496693bc6407a94545039216922d75585e2ea386d5c05b6c70838f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# Route53Aliaser 0.0.5
|
2
|
+
- Add warning to the Readme that this software is no longer being supported
|
3
|
+
|
1
4
|
# Route53Aliaser 0.0.4
|
2
5
|
- Add TXT record alongside A-Record indicating that this is an ALIAS (#4)
|
3
6
|
- Raise error if the Rails Engine is called with a `request.host` that matches
|
data/README.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## Warning!
|
2
|
+
|
3
|
+
|
4
|
+
**THIS PROJECT IS NO LONGER MAINTAINED AND MAY HAVE ISSUES.**
|
5
|
+
|
6
|
+
If you would like to support this software going forward, please create
|
7
|
+
a fork and test extensively prior to any production deployments!
|
8
|
+
|
9
|
+
|
1
10
|
# Route53Aliaser
|
2
11
|
|
3
12
|
Simulate DNS ALIAS-Record support for [apex
|
@@ -95,7 +104,8 @@ further you stretch out the update interval the more likely you are to end up
|
|
95
104
|
with an out of date A-Record.
|
96
105
|
|
97
106
|
Whatever you choose, be sure the URL you are pinging is the CNAME and *not*
|
98
|
-
your root domain! (Otherwise, how could this possibly work?)
|
107
|
+
your root domain! (Otherwise, how could this possibly work?) The code will
|
108
|
+
raise an error if you attempt to do this.
|
99
109
|
|
100
110
|
#### Without Rails
|
101
111
|
|
@@ -120,6 +130,42 @@ have a better idea. Here are a couple alternatives:
|
|
120
130
|
DNS lookups / AWS calls might be slow & will block the request to your page.
|
121
131
|
|
122
132
|
|
133
|
+
### SSL vs non-SSL endpoints on Heroku
|
134
|
+
|
135
|
+
In testing, we've noticed that the Heroku SSL endpoints, which use Amazon
|
136
|
+
ELBs, tend to keep a fairly static set of IPs. However, the non-SSL routers
|
137
|
+
(e.g., `us-east-1-a.route.herokuapp.com`) tend to present a new IP address on
|
138
|
+
every DNS expiration. This isn't a problem per se; just something you should
|
139
|
+
be aware of if you think it's strange that your Rt 53 record is constantly
|
140
|
+
being updated.
|
141
|
+
|
142
|
+
You can verify that your apps are not using the "legacy" routing system by
|
143
|
+
logging into your Heroku account and visiting
|
144
|
+
[https://legacy-routing.herokuapp.com](https://legacy-routing.herokuapp.com).
|
145
|
+
|
146
|
+
|
147
|
+
### Amazon IAM Policy for Route 53
|
148
|
+
|
149
|
+
The minimal IAM policy assigned to the user whose credentials are being used
|
150
|
+
with Route53Aliaser should look something like this:
|
151
|
+
|
152
|
+
{
|
153
|
+
"Version": "2012-10-17",
|
154
|
+
"Statement": [
|
155
|
+
{
|
156
|
+
"Sid": "Stmt1418344622100",
|
157
|
+
"Effect": "Allow",
|
158
|
+
"Action": [
|
159
|
+
"route53:ChangeResourceRecordSets"
|
160
|
+
],
|
161
|
+
"Resource": [
|
162
|
+
"arn:aws:route53:::hostedzone/ZQM9AEI9WXMW9"
|
163
|
+
]
|
164
|
+
}
|
165
|
+
]
|
166
|
+
}
|
167
|
+
|
168
|
+
|
123
169
|
## Contributing
|
124
170
|
|
125
171
|
So far, this is being used against a limited number of configurations so
|
data/lib/route53_aliaser.rb
CHANGED
data/route53_aliaser.gemspec
CHANGED
@@ -9,10 +9,12 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Ryan Dlugosz"]
|
10
10
|
spec.email = ["ryan@dlugosz.net"]
|
11
11
|
spec.summary = %q{Simulate DNS ALIAS-record support for apex zones (a.k.a. bare / naked / root domains) via Amazon Route 53}
|
12
|
-
|
12
|
+
spec.description = %q{NOTE: This software is no longer being maintained and may have issues. Please check the Readme.}
|
13
13
|
spec.homepage = "https://github.com/rdlugosz/route53_aliaser"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
+
spec.post_install_message = "WARNING!! Route53Aliaser is no longer being maintained and may have issues! Please see the Readme."
|
17
|
+
|
16
18
|
spec.files = `git ls-files -z`.split("\x0")
|
17
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: route53_aliaser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Dlugosz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,8 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.2'
|
83
|
-
description:
|
83
|
+
description: 'NOTE: This software is no longer being maintained and may have issues.
|
84
|
+
Please check the Readme.'
|
84
85
|
email:
|
85
86
|
- ryan@dlugosz.net
|
86
87
|
executables: []
|
@@ -106,7 +107,8 @@ homepage: https://github.com/rdlugosz/route53_aliaser
|
|
106
107
|
licenses:
|
107
108
|
- MIT
|
108
109
|
metadata: {}
|
109
|
-
post_install_message:
|
110
|
+
post_install_message: WARNING!! Route53Aliaser is no longer being maintained and may
|
111
|
+
have issues! Please see the Readme.
|
110
112
|
rdoc_options: []
|
111
113
|
require_paths:
|
112
114
|
- lib
|
@@ -122,9 +124,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
124
|
version: '0'
|
123
125
|
requirements: []
|
124
126
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.4.6
|
126
128
|
signing_key:
|
127
129
|
specification_version: 4
|
128
130
|
summary: Simulate DNS ALIAS-record support for apex zones (a.k.a. bare / naked / root
|
129
131
|
domains) via Amazon Route 53
|
130
132
|
test_files: []
|
133
|
+
has_rdoc:
|