1 |
On Fri, Jan 17, 2014 at 11:10 PM, Alan McKinnon <alan.mckinnon@×××××.com>wrote: |
2 |
|
3 |
> On 18/01/2014 09:04, Patrick Lauer wrote: |
4 |
> >> which could link to the |
5 |
> >> > infra page would be good here perhaps, so when an outage occurred ( at |
6 |
> >> > least on the web side ) appropriate links to infra could be given. |
7 |
> > The more sane fix would be low DNS TTL and rotating DNS to a different |
8 |
> > IP if things are down. |
9 |
> > |
10 |
> > |
11 |
> |
12 |
> |
13 |
> That is already in place: |
14 |
> |
15 |
> $ dig overlays.gentoo.org |
16 |
> |
17 |
> ; <<>> DiG 9.9.4 <<>> overlays.gentoo.org |
18 |
> ;; global options: +cmd |
19 |
> ;; Got answer: |
20 |
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49989 |
21 |
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 |
22 |
> |
23 |
> ;; OPT PSEUDOSECTION: |
24 |
> ; EDNS: version: 0, flags:; udp: 4000 |
25 |
> ;; QUESTION SECTION: |
26 |
> ;overlays.gentoo.org. IN A |
27 |
> |
28 |
> ;; ANSWER SECTION: |
29 |
> overlays.gentoo.org. 600 IN CNAME spoonbill.gentoo.org. |
30 |
> spoonbill.gentoo.org. 604800 IN A 81.93.255.5 |
31 |
> |
32 |
> |
33 |
> |
34 |
> 5 minutes downtime max if a switch needs to be done. |
35 |
> 5 minutes is perfectly acceptable IMHO |
36 |
> |
37 |
|
38 |
infra TTL standards are 60 minutes for service CNAMEs and 30 minutes for HA |
39 |
CNAMES. The TTL is 600 here (which is 10 minutes, not 5) because I lowered |
40 |
it on 1/14 in anticipation of a machine failover, it was previously 2 hours. |
41 |
|
42 |
-A |
43 |
|
44 |
|
45 |
> |
46 |
> |
47 |
> -- |
48 |
> Alan McKinnon |
49 |
> alan.mckinnon@×××××.com |
50 |
> |
51 |
> |
52 |
> |