Gentoo Archives: gentoo-dev

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] overlays.gentoo.org restoration & post-mortem
Date: Sat, 18 Jan 2014 10:37:51
Message-Id: 52DA5974.40905@gmail.com
In Reply to: Re: [gentoo-dev] overlays.gentoo.org restoration & post-mortem by Alec Warner
1 On 18/01/2014 09:49, Alec Warner wrote:
2 > On Fri, Jan 17, 2014 at 11:10 PM, Alan McKinnon <alan.mckinnon@×××××.com
3 > <mailto:alan.mckinnon@×××××.com>> wrote:
4 >
5 > On 18/01/2014 09:04, Patrick Lauer wrote:
6 > >> which could link to the
7 > >> > infra page would be good here perhaps, so when an outage
8 > occurred ( at
9 > >> > least on the web side ) appropriate links to infra could be given.
10 > > The more sane fix would be low DNS TTL and rotating DNS to a different
11 > > IP if things are down.
12 > >
13 > >
14 >
15 >
16 > That is already in place:
17 >
18 > $ dig overlays.gentoo.org <http://overlays.gentoo.org>
19 >
20 > ; <<>> DiG 9.9.4 <<>> overlays.gentoo.org <http://overlays.gentoo.org>
21 > ;; global options: +cmd
22 > ;; Got answer:
23 > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49989
24 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
25 >
26 > ;; OPT PSEUDOSECTION:
27 > ; EDNS: version: 0, flags:; udp: 4000
28 > ;; QUESTION SECTION:
29 > ;overlays.gentoo.org <http://overlays.gentoo.org>. IN A
30 >
31 > ;; ANSWER SECTION:
32 > overlays.gentoo.org <http://overlays.gentoo.org>. 600 IN
33 > CNAME spoonbill.gentoo.org <http://spoonbill.gentoo.org>.
34 > spoonbill.gentoo.org <http://spoonbill.gentoo.org>. 604800 IN
35 > A 81.93.255.5
36 >
37 >
38 >
39 > 5 minutes downtime max if a switch needs to be done.
40 > 5 minutes is perfectly acceptable IMHO
41 >
42 >
43 > infra TTL standards are 60 minutes for service CNAMEs and 30 minutes for
44 > HA CNAMES. The TTL is 600 here (which is 10 minutes, not 5) because I
45 > lowered it on 1/14 in anticipation of a machine failover, it was
46 > previously 2 hours.
47
48
49
50 Thanks for the clarification. Obviously I ran dig after you'd made the
51 change.
52
53 60 mins is still acceptable for a CNAME IMHO. Wait one hour max to be
54 able to sync in event of a change is not at all unreasonable.
55
56
57 --
58 Alan McKinnon
59 alan.mckinnon@×××××.com