Domain Name System Operations Sonoda
Internet-Draft Internet Initiative Japan Inc.
Intended status: Informational Sep 18, 2018
Expires: March 22, 2019

IP geolocation load balancing Resource Record


This document defines a new DNS load balance function that is able to transfer information in zone transfer and not need online signing. DNS base load balance is popular technology. It provides weight base response and location base response. It have become an indispensable part of traffic engineering. However, DNS base load balance can't transfer load balance information in zone transfer and need online singing because it is not standardized. This document defines a new DNS resource record called "LB". LB RR provides the balancing information weight, location and target domain name.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on March 22, 2019.

Copyright Notice

Copyright (c) 2018 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents ( in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

1. Introduction

1.1. Legacy DNS load balancing

Legacy DNS load balancing provides traffic engineering.It use special authoritative name server. It response is one address record that is dynamic changes using network location and weight. It's used for large traffic WEB site domain name that is important domain name. Important domain name should be secure.

But legacy DNS load balancing is not secure. Because Legacy DNS load balancing can't send zone data by zone transfer. It's mean very difficult to use multi service providers. That means weak for DDoS Attack. If zone is signed, All name servers require private key for dynamic signing because response is dynamic changes. Distributing private key is not secure, It is increased risk of leakage private key.

1.2. New DNS load balancing

New DNS load balancing concept is that Authoritative name server uses "LB" RR to provide load balancing information and Clients application uses "LB" RR to select target name.

"LB" RR defines load balancing settings that is network location and weight and target domain name. Network location is string that meaningful name of network. For example Country code (ex. JP),subdivision code(ex. US-CA) and Autonomous System Number (ex. AS65536). Weight is ratio value to use select target name. Target name is pointer to address record.

"server.location" is special TXT record that is location information at full service resolver. Application can use this value for location selection.

2. The LB Resource Record

The LB RR has mnemonic LB. LB RR define load balancing information.

LB format below.

      <owner> <ttl> <class> LB <weight> <location> <target>

The format is not class-sensitive. All fields are required.

<weight> field is a 2 octets, 1 or more natural number.

<location> field is a "<character-string>" [RFC1035].

<target> field is a "<domain-name>" [RFC1035].

2.1. Define location

<location> ::= "*" | <continental code> | <country code> | <subdivision code> | <asn code> | <private code>

<region code> ::= "AF" | "NA" | "AS" | "EU" | "NA" | "OC" | "SA"

<country code> ::= ISO 3166-1 alpha-2 Country code.

<subdivision code> ::= ISO 3166-2 Codes for the representation of names of countries and their subdivisions.

<asn code> ::= "AS" <asn> [ ":" <asn>]

<private code> ::= "+" <let>

<ans> ::= <nonzero digit> <digit>

<nonzero digit> ::= any one of the ten digits 1 through 9

<digit> ::= any one of the ten digits 0 through 9

<let> ::= any one of the 26 alphabetic characters A through Z in upper case or any one of the ten digits 0 through 9.

2.2. Record example 3600 IN LB 1 * ; for any region 3600 IN LB 1 AS ; for ASIA region 3600 IN LB 1 JP ; for JP region, weight 1 3600 IN LB 3 JP ; for JP region, weight 3 3600 IN LB 1 JP-13 ; for tokyo region 3600 IN LB 1 AS2496   ; for AS65536 3600 IN LB 1 AS2496:1 ; for AS65536 3600 IN LB 1 +BEER       ; private use

3. Full service resolver's location

"server.location" is special TXT record that is location information at full service resolver. Application can use this value to select records.

3.1. Record example

   server.localtion 0 CH TXT "AS2479" "JP-13" "JP" "AS" "*"

4. IANA Considerations

IANA is requested to assign a DNS RR data type value for the LB RR type under the "Resource Record (RR) TYPEs" sub-registry under the "Domain Name System (DNS) Parameters" registry.

5. Normative References

[RFC1035] Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, DOI 10.17487/RFC1035, November 1987.

Author's Address

Manabu Sonoda Internet Initiative Japan Inc. 10-2,2,Fujimi Chiyoda, Tokyo 102-0071 JP EMail:

Table of Contents