Re: [DNSOP] Ask for advice of 3 new RRs for precise traffic scheduling
"zuopeng@cnnic.cn" <zuopeng@cnnic.cn> Wed, 13 December 2017 09:36 UTC
Return-Path: <zuopeng@cnnic.cn>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5C05124217 for <dnsop@ietfa.amsl.com>; Wed, 13 Dec 2017 01:36:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cY_xRqIcDJ8c for <dnsop@ietfa.amsl.com>; Wed, 13 Dec 2017 01:36:37 -0800 (PST)
Received: from cnnic.cn (smtp13.cnnic.cn [218.241.118.13]) by ietfa.amsl.com (Postfix) with ESMTP id 817C7120726 for <dnsop@ietf.org>; Wed, 13 Dec 2017 01:36:35 -0800 (PST)
Received: from CNNIC-THINK (unknown [218.241.103.198]) by ocmail02.zx.nicx.cn (Coremail) with SMTP id AQAAf0DJ0Oih9DBa3No7AA--.24786S2; Wed, 13 Dec 2017 17:36:33 +0800 (CST)
Date: Wed, 13 Dec 2017 17:36:32 +0800
From: "zuopeng@cnnic.cn" <zuopeng@cnnic.cn>
To: bert hubert <bert.hubert@powerdns.com>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Cc: dnsop <dnsop@ietf.org>
References: <2017121315404971736813@cnnic.cn>, <20171213081823.GA8970@laperouse.bortzmeyer.org>, <20171213084342.GA30523@server.ds9a.nl>
X-Priority: 3
X-Has-Attach: no
X-Mailer: Foxmail 7, 2, 7, 166[cn]
Mime-Version: 1.0
Message-ID: <201712131736325755287@cnnic.cn>
Content-Type: multipart/alternative; boundary="----=_001_NextPart322565235456_=----"
X-CM-TRANSID: AQAAf0DJ0Oih9DBa3No7AA--.24786S2
X-Coremail-Antispam: 1UD129KBjvJXoW7ZF1UAw1rAw1UZr45Ar1DWrg_yoW8ur4xpF WfWrZIyr45GF18CFWDX3WUGa4FkFy5AFWxJr98W3y0van8Z3W7Xr1UGF1F9a47JFWIkay3 tr4rJr98A34vvaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUPCb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG6xAIxVCF xsxG0wAqx4xG6I80eVA0xI0YY7vIx2IE14AGzxvEb7x7McIj6xIIjxv20xvE14v26r106r 15McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vI r41lFcxC0VAYjxAxZF0Ew4CEw7xC0wACY4xI67k04243AVC20s07MxkIecxEwVAFwVW8uw CF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r10 6r1rMI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64 vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_ Gr1lIxAIcVCF04k26cxKx2IYs7xG6rWUJVWrZr1UMIIF0xvEx4A2jsIE14v26r1j6r4UMI IF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UMVCEFcxC0VAYjxAxZFUvcSsGvfC2KfnxnUUI 43ZEXa7IU5vzutUUUUU==
X-CM-SenderInfo: x2xr1vlqj6u0xqlfhubq/
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/vB52IU1iL6Nru9I-E2_emF1jlsY>
Subject: Re: [DNSOP] Ask for advice of 3 new RRs for precise traffic scheduling
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Dec 2017 09:36:39 -0000
On Wed, Dec 13, 2017 at 09:18:23AM +0100, Stephane Bortzmeyer wrote:
> > For example, a CDN provider can’t schedule 70% of traffic to node A
> > and 30% of traffic to node B [...] adding a “weight” attribute
>
> First, the obvious question: why reinventing RFC 2782?
Implementing this worthwhile capability can be done in four ways/places:
1) Get browsers to honour RFC 2782
2) Get resolvers and auths to support a weighted A/AAAA record (as proposed
in this thread)
3) Serve up multiple copies of the same A record, and weigh like this:
www IN A 1.2.3.4
www IN A 1.2.3.4
www IN A 10.11.12.13
And hope that record shuffling will deliver the 2:1 ratio
4) Get authoritative servers to serve A/AAAA with weighted frequency and
short TTL
Getting browsers to move is a 5 year project at least. You could get the
resolver/auth landscape moving somewhat more quickly ('we know these
people'), but it will still take a long time and support will be spotty.
The 'multiple IP address listings' thing is done in practice, but some
server remove duplicates, so it doesn't work that well.
And the last possibility is what CDNs are actually doing. It does not quite
spread out traffic perfectly, but it is good enough.
In PowerDNS Authoritative Server 4.1.1 (upcoming in January), this looks
like:
@ IN LUA A "wrandom{{2, '1.2.3.4'}, {1, '10.11.12.13'}}"
Or even:
@ IN LUA A "whashed{{2, '1.2.3.4'}, {1, '10.11.12.13'}}"
Which will keep the same IP address going to the same record.
--------------> [zuopeng] : so far as i know, many CDNs already use similar methods as you mentioned in PowerDNS 4.1.1
--------------> [zuopeng] : but i think only the Authoritative Server change is not enough, support on the recursive server is also very important .
--------------> [zuopeng] : because the resolver determines the reponse to clients.
This is documented in https://powerdns.org/auth-4.1.1-docs/lua-records.html
- which also lists things like @ IN LUA A "closest{'1.2.3.4', '10.11.12.13'}"
which will attempt to serve up the geographically closest address.
Bert
- [DNSOP] Ask for advice of 3 new RRs for precise t… zuopeng@cnnic.cn
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Stephane Bortzmeyer
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… bert hubert
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… zuopeng@cnnic.cn
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… fujiwara
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… zuopeng@cnnic.cn
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… bert hubert
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Stephane Bortzmeyer
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Lanlan Pan
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… zuopeng@cnnic.cn
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Robert Edmonds
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Paul Vixie
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… 左鹏
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Paul Vixie
- Re: [DNSOP] Ask for advice of 3 new RRs for preci… Robert Edmonds