RFC 7534

AS112 Nameserver Operations

๐Ÿ“… published May 2015, from ietf

1. Introduction โœจ

okay bestie, so lots of sites on the Internet use IPv4 addresses that aren't globally unique ๐ŸŒธ Think private-use addresses set aside in [RFC1918] for use inside one site. It's giving "my house, my rules" ๐Ÿ 

Devices in those places sometimes send DNS [RFC1034] queries (aka "reverse lookups") about those private addresses ๐Ÿ‘€ Since those addresses only mean something locally, it's good practice for site admins to make sure those queries get answered locally [RFC6303]. But ngl, those queries often just follow the normal delegation path in the public DNS instead of getting answered inside the site ๐Ÿ’€

Public DNS servers can't give useful answers to these queries, period ๐Ÿ™…โ€โ™€๏ธ Plus, with private-use addresses everywhere and the Internet just keeping on growing, the volume of these queries is huge and climbing ๐Ÿ“ˆ The AS112 project wants to be a distributed sink for them, so the load on the IN-ADDR.ARPA authoritative servers goes down [RFC5855]. It's the main character move of DNS ๐ŸŽ€

The AS112 project is a loosely coordinated group of nameservers that are run independently ๐Ÿงš Each nameserver acts as one node in an AS112 anycast cloud [RFC4786], and it's set up to answer authoritatively for a specific set of chosen zones ๐Ÿ’…

The name comes from the Autonomous System Number (ASN) that got assigned to the project (see Appendix A) ๐Ÿฆ‹

2. AS112 DNS Service ๐ŸŒธ

2.1. Approach ๐Ÿ’œ

2.1.1. Direct Delegation ๐Ÿซถ

The AS112 project currently does this thing where zones whose traffic should go to an AS112 sink get directly delegated to AS112 nameservers ๐Ÿ“Œ To match, each AS112 node is manually configured to answer properly for those zones ๐Ÿ› ๏ธ

This document describes that capability for the zones that were originally delegated this way ๐ŸŽ€ Nodes built according to the guidance here will keep serving those zones, no drama ๐Ÿ’–

2.1.2. DNAME Redirection ๐ŸŒˆ

[RFC7535] describes a different vibe: queries toward specific zones get redirected to an empty zone that's also hosted on AS112 servers, using DNAME [RFC6672] ๐Ÿ”€

The guidance in this document brings this capability in, so any zone administrator can sink query traffic in AS112 infrastructure without any changes to an AS112 node ๐Ÿ˜คโœจ Iconic, honestly ๐Ÿ‘‘

2.2. Zones ๐Ÿ—บ๏ธ

For Direct Delegation AS112 service, AS112 nameservers answer authoritatively for the following zones, which line up with the [RFC1918] private-use netblocks:

  • 10.IN-ADDR.ARPA
  • 16.172.IN-ADDR.ARPA, 17.172.IN-ADDR.ARPA, ..., 31.172.IN-ADDR.ARPA
  • 168.192.IN-ADDR.ARPA

They also cover the following zone, which matches the "link local" netblock 169.254.0.0/16 listed in [RFC6890]:

  • 254.169.IN-ADDR.ARPA

For DNAME redirection AS112 service, AS112 nameservers answer authoritatively for the following zone, as specified in [RFC7535]:

  • EMPTY.AS112.ARPA

To help identify AS112 anycast nodes, each node also answers authoritatively for these zones:

  • HOSTNAME.AS112.NET
  • HOSTNAME.AS112.ARPA

See Section 3.5 for the recommended contents of all these zones ๐Ÿ“–

2.3. Nameservers ๐Ÿงš

For Direct Delegation AS112 service, the relevant zones listed in Section 2.2 are delegated to the two nameservers BLACKHOLE-1.IANA.ORG (192.175.48.6, 2620:4f:8000::6) and BLACKHOLE-2.IANA.ORG (192.175.48.42, 2620:4f:8000::42) ๐Ÿ’…

There's also the server PRISONER.IANA.ORG (192.175.48.1, 2620:4f:8000::1), which is listed in the MNAME field of the SOA records of the IN-ADDR.ARPA zones served by AS112 nameservers ๐Ÿ™ˆ It mostly handles dynamic update queries, so it's the behind-the-scenes one ๐Ÿ“

All of these nameservers' addresses fall under the single IPv4 prefix 192.175.48.0/24 and the IPv6 prefix 2620:4f:8000::/48 ๐ŸŒธ So far, IPv6 transport for these nameservers has only been available for pre-production testing ๐Ÿงช IANA has added AAAA RRSets for the owner names of these nameservers; see Section 7 ๐ŸŽ€

For DNAME redirection AS112 service, the single zone EMPTY.AS112.ARPA is delegated to the single nameserver BLACKHOLE.AS112.ARPA (192.31.196.1, 2001:4:112::1) ๐Ÿฆ‹ That nameserver's addresses are covered by the single IPv4 prefix 192.31.196.0/24 and the single IPv6 prefix 2001:4:112::/48 ๐Ÿ’œ

3. Installation of a New Node ๐Ÿ› ๏ธ

3.1. Useful Background Knowledge ๐Ÿ“š

Setting up an AS112 node is relatively straightforward, bestie ๐Ÿฅน That said, experience in these general areas might come in handy:

  • inter-domain routing with BGP [RFC4271];
  • DNS authoritative server operations; and
  • anycast [RFC4786] distribution of DNS services.

3.2. Topological Location ๐Ÿ—บ๏ธ

AS112 nodes can be located anywhere on the Internet ๐ŸŒ If a node is meant to provide a public service to the Internet community (as opposed to private use), it may be a really good idea to pick a spot that's easy (and cheap!) to reach from multiple providers, like an Internet Exchange Point ๐Ÿค‘

AS112 nodes may advertise their service prefix to BGP peers for local use (kinda like a normal peering relationship between two providers) or for global use (kinda like a customer relationship with one or more providers) ๐Ÿฆ‹

It's good operational practice to tell the community of users that might fall within the reach of a new AS112 node before you install it ๐Ÿ“ฃ At an Internet Exchange, local mailing lists usually exist to make those announcements easy ๐Ÿ’Œ For nodes that are meant to be globally reachable, coordinating with other AS112 operators is highly recommended ๐Ÿซถ See also Section 5 โœจ

3.3. Operating System and Host Considerations ๐Ÿงš

okay bestie, the examples in this doc are all UNIX and UNIX-like vibes ๐Ÿ’ป, but other operating systems exist that are totally valid for building an AS112 node โœจ

The platform you pick should have either support for cloned loopback interfaces or the ability to bind multiple addresses to a single loopback interface ๐ŸŽ€ The addresses of the nameservers listed in Section 2.3 get configured on these interfaces so the DNS software can answer queries properly ๐Ÿ’–

A host set up as an AS112 anycast node should be dedicated to that job and should not be used to run other services at the same time ๐Ÿซถ This is because AS112 nodes have been seen to attract traffic that is unpredictable and sometimes really high ๐Ÿ˜ญ

System startup scripts should be arranged so the various AS112-related components start automatically after a reboot ๐Ÿ”ฅ The order matters too: routing software startup should follow DNS software startup, and DNS software startup should follow loopback interface configuration. It's giving domino effect, but make it make sense ๐ŸŒˆ

Wrapper scripts or other setups should be used to make sure the anycast service prefix for AS112 is not advertised while either the anycast addresses aren't configured or the DNS software isn't running ๐Ÿ™ˆ No advertising a service that isn't actually there, periodt ๐Ÿ’…


3.4. Routing Software ๐Ÿฆ‹

AS112 nodes tell the Internet that their nameservers are available using BGP [RFC4271] ๐ŸŒธ Each AS112 node is a BGP speaker and announces the prefixes 192.175.48.0/24 and 2620:4f:8000::/48 to the Internet with origin AS 112 (see also Section 2.3) โœจ

The examples in this document are based on the Quagga Routing Suite <http://www.quagga.net> running on Linux, but other software packages exist that also give suitable BGP support for AS112 nodes ๐Ÿ’œ

The bgpd.conf file is used by Quagga's bgpd daemon, which provides the BGP support ๐Ÿงš In this example, the router ID is 203.0.113.1, and the AS112 node peers with the external peers 192.0.2.1, 192.0.2.2, 2001:db8::1, and 2001:db8::2 ๐Ÿ“ Note that the local AS number is 112, and the service prefixes originated from the AS112 node to support Direct Delegation service are 192.175.48.0/24 and 2620:4f:8000::/48. The IPv4 prefix 192.31.196.0/24 and the IPv6 prefix 2001:4:112::/48 support DNAME redirection ๐ŸŽ€

For clarity, an IPv4-only AS112 node doesn't need to configure any of the IPv6 elements that follow, and similarly, an IPv6-only AS112 node doesn't need any of the IPv4 elements ๐Ÿ™ˆ Single-stack hosts can still contribute usefully to IPv4 and IPv6 AS112 services, though, and single-stack operation is not discouraged ๐Ÿฆ‹

! bgpd.conf
!
hostname as112-bgpd
password <something>
enable password <supersomething>
!
! Note that all AS112 nodes use the local Autonomous System Number
! 112, and originate the IPv4 prefixes 192.175.48.0/24 and
! 192.31.196.0/24 and the IPv6 prefixes 2620:4f:8000::/48 and
! 2001:4:112::/48.
!
! All other addresses shown below are illustrative, and
! actual numbers will depend on local circumstances.
!
! IPv4-only or IPv6-only AS112 nodes should omit advertisements
! for address families they do not support.
!
router bgp 112
 bgp router-id 203.0.113.1
 neighbor 192.0.2.1 remote-as 64496
 neighbor 192.0.2.1 next-hop-self
 neighbor 192.0.2.1 prefix-list AS112-v4 out
 neighbor 192.0.2.1 filter-list 1 out
!
 neighbor 192.0.2.2 remote-as 64497
 neighbor 192.0.2.2 next-hop-self
 neighbor 192.0.2.2 prefix-list AS112-v4 out
 neighbor 192.0.2.2 filter-list 1 out
!

 neighbor 2001:db8::1 remote-as 64498
 neighbor 2001:db8::1 next-hop-self
 neighbor 2001:db8::1 prefix-list AS112-v6 out
 neighbor 2001:db8::1 filter-list 1 out
!
 neighbor 2001:db8::2 remote-as 64499
 neighbor 2001:db8::2 next-hop-self
 neighbor 2001:db8::2 prefix-list AS112-v6 out
 neighbor 2001:db8::2 filter-list 1 out
!
 network 192.175.48.0/24
 network 192.31.196.0/24
!
 address-family ipv6 unicast
  network 2620:4f:8000::/48
  network 2001:4:112::/48
 exit-address-family
!
ip prefix-list AS112-v4 permit 192.175.48.0/24
ip prefix-list AS112-v4 permit 192.31.196.0/24
!
ipv6 prefix-list AS112-v6 permit 2620:4f:8000::/48
ipv6 prefix-list AS112-v6 permit 2001:4:112::/48
!
ip as-path access-list 1 permit ^$

The configuration above includes two restrictions on what the AS112 should advertise to its BGP neighbours ๐Ÿ”’ One is a prefix filter that permits only the service prefixes, and the other is an AS_PATH filter that matches only locally originated routes. Together, these measures stop the node from becoming a transit point for its adjacent ASes ๐Ÿ‘‘

The zebra.conf file is required to provide integration between protocol daemons (bgpd, in this case) and the kernel ๐Ÿง 

! zebra.conf
!
hostname as112
password <something>
enable password <supersomething>
!
interface lo
!
interface eth0
!

3.5. DNS Software โœจ

okay bestie, the queries AS112 nodes receive are totally misdirected ๐Ÿ™ˆ, but they still have to be answered accurately and consistently ๐Ÿ’…. so AS112 nodes work as fully functional, standards-compliant DNS authoritative servers [RFC1034] ๐Ÿ‘‘, which means they need proper DNS software ๐Ÿซถ

the examples in this doc are based on ISC BIND9 http://www.isc.org/software/BIND/, but other DNS software is also totally suitable for building an AS112 node ๐ŸŒธ

here's a sample BIND9 named.conf for a dedicated AS112 server ๐ŸŽ€. the nameserver is set up as authoritative-only (recursion is disabled) ๐Ÿ™…โ€โ™€๏ธ, and it listens on the various AS112 anycast nameserver addresses as well as its local addresses โœจ

there's also a basic logging example in the sample. AS112 operators get to decide how much logging detail they want and what type of logging to use when maintaining their node ๐Ÿ“. that detail can be used to single out bad implementors or badly managed nameservers, or it can be used for simple measurement analysis ๐Ÿ“Š

// named.conf

// Global options

options {
  listen-on {
    127.0.0.1;         // localhost

  // The following address is node-dependent and should be set to
  // something appropriate for the new AS112 node.

    203.0.113.1;       // local address (globally unique, unicast)

  // The following addresses are used to support Direct Delegation
  // AS112 service and are the same for all AS112 nodes.

    192.175.48.1;      // prisoner.iana.org (anycast)
    192.175.48.6;      // blackhole-1.iana.org (anycast)
    192.175.48.42;     // blackhole-2.iana.org (anycast)

  // The following address is used to support DNAME redirection
  // AS112 service and is the same for all AS112 nodes.

    192.31.196.1;      // blackhole.as112.arpa (anycast)
  };

  listen-on-v6 {
    ::1;               // localhost

  // The following addresses are used to support Direct Delegation
  // AS112 service and are the same for all AS112 nodes.

    2620:4f:8000::1;   // prisoner.iana.org (anycast)
    2620:4f:8000::6;   // blackhole-1.iana.org (anycast)
    2620:4f:8000::42;  // blackhole-2.iana.org (anycast)

  // The following address is used to support DNAME redirection
  // AS112 service and is the same for all AS112 nodes.

    2001:4:112::1;    // blackhole.as112.arpa (anycast)
  };

  directory "/var/named";
  recursion no;        // authoritative-only server
};

// Log queries, so that when people call us about unexpected
// answers to queries they didn't realise they had sent, we
// have something to talk about.  Note that activating this
// naively has the potential to create high CPU load and consume
// enormous amounts of disk space.  This example retains 2 old
// versions at a maximum of 500 MB each before rotating out the
// oldest one.

logging {
  channel "querylog" {
    file "/var/log/query.log" versions 2 size 500m;
    print-time yes;
  };
  category queries { querylog; };
};
// Direct Delegation AS112 Service

// RFC 1918

zone "10.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "16.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "17.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "18.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "19.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "20.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "21.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "22.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "23.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "24.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "25.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "26.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "27.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "28.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "29.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "30.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "31.172.in-addr.arpa" { type master; file "db.dd-empty"; };
zone "168.192.in-addr.arpa" { type master; file "db.dd-empty"; };

// RFC 6890

zone "254.169.in-addr.arpa" { type master; file "db.dd-empty"; };

// DNAME redirection AS112 Service

zone "empty.as112.arpa" { type master; file "db.dr-empty"; };

// Also answer authoritatively for the HOSTNAME.AS112.NET and
// HOSTNAME.AS112.ARPA zones, which contain data of operational
// relevance.

zone "hostname.as112.net" {
  type master;
  file "db.hostname.as112.net";
};

zone "hostname.as112.arpa" {
  type master;
  file "db.hostname.as112.arpa";
};

the db.dd-empty file comes right after this ๐Ÿงš. it's the source data used to populate all the IN-ADDR.ARPA zones listed in Section 2.2 that support Direct Delegation AS112 service ๐Ÿฆ‹. the RNAME in the SOA record is hostmaster@root-servers.org, which is a suitable email address for receiving technical queries about these zones ๐Ÿ’Œ

; db.dd-empty
;
; Empty zone for Direct Delegation AS112 service.
;
$TTL    1W
@  IN  SOA  prisoner.iana.org. hostmaster.root-servers.org. (
                               1       ; serial number
                               1W      ; refresh
                               1M      ; retry
                               1W      ; expire
                               1W )    ; negative caching TTL
;
       NS     blackhole-1.iana.org.
       NS     blackhole-2.iana.org.
;
; There should be no other resource records included in this zone.
;
; Records that relate to RFC 1918-numbered resources within the
; site hosting this AS112 node should not be hosted on this
; nameserver.

the db.dr-empty file is next ๐Ÿ’–. it's the source data used to populate the EMPTY.AS112.ARPA zone that supports DNAME redirection AS112 service. the RNAME in its SOA record is noc@dns.icann.org, a suitable email address for technical queries about this zone ๐Ÿ“ฎ

; db.dr-empty
;
; Empty zone for DNAME redirection AS112 service.
;
$TTL    1W
@  IN  SOA  blackhole.as112.arpa. noc.dns.icann.org. (
                               1       ; serial number
                               1W      ; refresh
                               1M      ; retry
                               1W      ; expire
                               1W )    ; negative caching TTL
;
       NS     blackhole.as112.arpa.
;
; There should be no other resource records included in this zone.
;
; Records that relate to RFC 1918-numbered resources within the
; site hosting this AS112 node should not be hosted on this
; nameserver.

the db.hostname.as112.net and db.hostname.as112.arpa files follow below ๐ŸŒˆ. these zones hold various resource records that give users operational data for troubleshooting or measurement, so edit the data to suit your local circumstances ๐Ÿ› ๏ธ. the responses to "HOSTNAME.AS112.NET IN TXT" and "HOSTNAME.AS112.ARPA IN TXT" should fit within a 512-octet DNS/UDP datagram, which means they're available over UDP transport without requiring EDNS0 support by the client ๐Ÿ™Œ

the optional LOC record [RFC1876] in each zone apex gives the geospatial location of the node ๐Ÿ—บ๏ธ. and where software implementations support it, operational data should also be carried using NSID [RFC5001] โœจ

; db.hostname.as112.net
;
$TTL    1W
@       SOA     server.example.net. admin.example.net. (
                        1               ; serial number
                        1W              ; refresh
                        1M              ; retry
                        1W              ; expire
                        1W )            ; negative caching TTL
;
        NS      blackhole-1.iana.org.
        NS      blackhole-2.iana.org.
;
        TXT     "Name of Facility or similar" "City, Country"
        TXT     "See http://www.as112.net/ for more information."
        TXT     "Unique IP: 203.0.113.1."
;
        LOC     45 25 0.000 N 75 42 0.000 W 80.00m 1m 10000m 10m

; db.hostname.as112.arpa
;
$TTL    1W
@       SOA     server.example.net. admin.example.net. (
                        1               ; serial number
                        1W              ; refresh
                        1M              ; retry
                        1W              ; expire
                        1W )            ; negative caching TTL
;
        NS      blackhole.as112.arpa.
;
        TXT     "Name of Facility or similar" "City, Country"
        TXT     "See http://www.as112.net/ for more information."
;
        LOC     45 25 0.000 N 75 42 0.000 W 80.00m 1m 10000m 10m

3.6. Testing a Newly Installed Node ๐Ÿงช

the BIND9 tool "dig" can grab the TXT resource records tied to the names "HOSTNAME.AS112.NET" and "HOSTNAME.AS112.ARPA" ๐Ÿ”. just point it at one of the AS112 anycast nameserver addresses. continuing the example from above, the response should tell you which AS112 node answered the query ๐ŸŽฏ. check Section 3.5 for more details about the resource records associated with "HOSTNAME.AS112.NET"

    % dig @prisoner.iana.org hostname.as112.net txt +short +norec
    "Name of Facility or similar" "City, Country"
    "See http://www.as112.net/ for more information."
    %
if the response shows a different node is answering, there's probably a routing problem to solve ๐Ÿšฆ. if you get no response at all, there might be a host or nameserver problem ๐Ÿ˜ฌ. judicious use of tools like traceroute and consulting BGP looking glasses might help you troubleshoot ๐Ÿ”ฆ

one more thing ๐Ÿ’…: an appropriate set of tests for a new server includes queries sent from many different places within the node's expected service area, using both UDP and TCP transport, and exercising all three AS112 anycast nameserver addresses ๐ŸŒโœจ


4. Operations โœจ

4.1. Monitoring ๐Ÿ‘€

AS112 nodes should be monitored to make sure they're functioning correctly, just like any other production service ๐Ÿ“ˆ. an AS112 node that stops answering queries correctly can cause failures and timeouts in unexpected places, and it can lead to failures in dependent systems that are a nightmare to troubleshoot ๐Ÿ˜ญ

4.2. Downtime ๐ŸŒ™

an AS112 node that needs to go offline (for example, for planned maintenance or while diagnosing some problem) should stop advertising the AS112 service prefixes to its BGP peers ๐Ÿ“ก. this can be done by shutting down the routing software on the node altogether, or by making the routing system withdraw the route ๐Ÿ™…โ€โ™€๏ธ

withdrawing the service prefixes is super important ๐Ÿšจ because it avoids blackholing query traffic if the DNS software on the node isn't functioning normally ๐Ÿ’€

4.3. Statistics and Measurement โœจ

okay so bestie, AS112 nodes should be measured ๐Ÿ“Š why? to track long-term trends, spot anomalous conditions, and make sure the node's config can actually handle the query load. no vibes-only ops, we want receipts ๐Ÿ’…

these free monitoring tools are giving operators main character energy ๐Ÿฆ‹:

and ngl, operators should also think about joining collection events as part of a bigger, coordinated effort to gather important baselines ๐ŸŒˆ one of these is Day in the Life <https://www.dns-oarc.net/oarc/data/ditl/>, coordinated by the DNS-OARC <https://www.dns-oarc.net/>. it's literally a group project for the whole internet and we're here for it ๐Ÿซถ


5. Communications ๐Ÿ“ฃ

it's good operational practice to tell the community of users who might fall within reach of a new AS112 node before it goes live. no surprises, bestie ๐ŸŽ€ at Internet Exchanges, there are usually local mailing lists that make this super easy.

for nodes meant to be globally reachable, coordination with other AS112 operators is especially recommended ๐Ÿ‘‘ the mailing list <as112-ops@lists.dns-oarc.net> exists for exactly this purpose.

all the pertinent AS112 info lives at <http://www.as112.net/> ๐Ÿ’–

information about an AS112 node should also be published in the DNS, in the "HOSTNAME.AS112.NET" and "HOSTNAME.AS112.ARPA" zones ๐Ÿงš see Section 3.5 for more details.

and AS112 operators should be aware of the measures described in [RFC6305], and direct site administrators to them appropriately ๐Ÿ’…


6. On the Future of AS112 Nodes ๐Ÿ”ฎ

it is recommended practice for operators of recursive nameservers to answer queries for zones served by AS112 nodes locally, so queries never get the chance to reach AS112 servers [RFC6303] ๐Ÿ™Œ real talk though, operational experience with AS112 nodes doesn't currently show an observable trend toward anyone following those recommendations. ๐Ÿ˜ญ

some DNS software vendors are expected to ship default configuration that implements measures like those in [RFC6303] ๐ŸŒธ if that software gets widely deployed, it's reasonable to assume the query load hitting AS112 nodes will drop. BUT it's safe to assume it won't drop to zero, so AS112 nodes will keep providing a useful service for the foreseeable future โœจ they're not going anywhere, babe.

the use of DNAME redirection to provide AS112 service is brand new, so it's informed by minimal operational experience ๐Ÿ“ and because DNAME means queries for many source zones could get redirected to AS112 infrastructure, there's no real opportunity for coordination. kind of a lot, honestly ๐Ÿ’€

if DNAME redirection is successful, and there are no operational concerns, the community might well recommend retiring the original Direct Delegation AS112 service. this document makes no such recommendation, however ๐Ÿฆ‹ we're not calling that shot today.


7. IANA Considerations ๐Ÿ“‹

7.1. General

the nameservers for Direct Delegation AS112 service are all named under the domain IANA.ORG (see Section 2.3) ๐ŸŽ€ but the anycast infrastructure itself is run by a loosely coordinated, diverse mix of organisations across the Internet. it is not an IANA function, so don't @ them for that ๐Ÿ˜ญ

autonomous system number 112, the IPv4 prefix 192.175.48.0/24, and the IPv6 prefix 2620:4f:8000::/48 were assigned by ARIN ๐ŸŒˆ

the IPv4 prefix 192.31.196.0/24 and the IPv6 prefix 2001:4:112::/48, used for DNAME redirection AS112 service, were assigned by the IANA [RFC7535] โœจ

the three nameservers BLACKHOLE-1.IANA.ORG, BLACKHOLE-2.IANA.ORG, and PRISONER.IANA.ORG are also reachable over IPv6, as described in Section 2.3 ๐Ÿงš after a substantial stretch of pre-production testing by AS112 operators, the IANA added AAAA RRSets to those owner names in Section 7.2.1, so the servers can receive queries and generate responses over IPv6 transport. it's giving glow-up ๐Ÿ’–

7.2. IANA Actions

7.2.1. IPv6 Transport for Direct Delegation AS112 Servers

the IANA added the following AAAA resource records for the three Direct Delegation AS112 nameservers named under IANA.ORG ๐Ÿซถ

             +----------------------+------------------+
             | Owner Name           | AAAA RDATA       |
             +----------------------+------------------+
             | PRISONER.IANA.ORG    | 2620:4f:8000::1  |
             |                      |                  |
             | BLACKHOLE-1.IANA.ORG | 2620:4f:8000::6  |
             |                      |                  |
             | BLACKHOLE-2.IANA.ORG | 2620:4f:8000::42 |
             +----------------------+------------------+

7.2.2. Registration in the Special-Purpose AS Numbers Registry

the IANA added AS112 to the "Special-Purpose AS Numbers" registry specified in [RFC7249] like this ๐ŸŒธ

AS Numbers:  112

Reason for Reservation:  Used by the AS112 project to sink
   misdirected DNS queries; see RFC 7534.

7.2.3. Registration in the IANA IPv4 Special-Purpose Address Registry

the IANA added 192.175.48.0/24 to the "IANA IPv4 Special-Purpose Address Registry" specified in [RFC6890], with these fields ๐Ÿ“

Address Block:  192.175.48.0/24

Name:  Direct Delegation AS112 Service

RFC:  RFC 7534

Allocation Date:  1996-01

Termination Date:  N/A

Source:  True

Destination:  True

Forwardable:  True

Global:  True

Reserved-by-Protocol:  False

7.2.4. Registration in the IANA IPv6 Special-Purpose Address Registry

the IANA added 2620:4f:8000::/48 to the "IANA IPv6 Special-Purpose Address Registry" specified in [RFC6890], with these fields ๐Ÿ’œ

Address Block:  2620:4f:8000::/48

Name:  Direct Delegation AS112 Service

RFC:  RFC 7534

Allocation Date:  2011-05
Termination Date:  N/A

Source:  True

Destination:  True

Forwardable:  True

Global:  True

Reserved-by-Protocol:  False

8. Security Considerations ๐Ÿ”’

โš ๏ธ bestie, this section is seriously important. read it properly.

hosts should never normally send queries to AS112 servers ๐Ÿ™ˆ queries about private-use addresses should be answered locally, within a site. hosts that send queries to AS112 servers may well leak information about private infrastructure to the public network, and that could be a real security risk. on top of that, AS112 operators may log this information, which makes it subject to whatever security and privacy risks that might entail. these risks are orthogonal to whether or not there are authoritative servers for these zones in the public DNS infrastructure, though ๐Ÿฅบ

queries answered by AS112 servers are usually unintentional, so it follows that the responses from AS112 servers are usually unexpected ๐Ÿ’€ unexpected inbound traffic can set off intrusion detection systems or firewall alerts. operators of AS112 servers should be ready to be contacted by operators of remote infrastructure who believe their security has been violated ๐Ÿ˜ญ advice for people who mistakenly think AS112 node responses are an attack on their infrastructure can be found in [RFC6305].

the deployment of AS112 nodes is very loosely coordinated compared to other anycast services. because of that, a malicious compromise of an AS112 node, and subversion of the data it serves, are harder to detect given the lack of central management ๐Ÿ•ต๏ธ and since changing the responses to queries received by AS112 nodes might influence how the hosts sending those queries behave, such a compromise could be used as an attack vector against private infrastructure. yikes, periodt.

operators of AS112 should take appropriate measures to make sure AS112 nodes are properly protected from compromise, like what would normally be used for production nameserver or network infrastructure ๐Ÿ›ก๏ธ the guidance for root nameservers in [RFC2870] may be instructive.

finally, the zones hosted by AS112 servers are not signed with DNSSEC [RFC4033]. given the distributed, loosely coordinated structure of AS112 service, those zones could only be signed if the private key material were effectively public, which would cancel out any security benefit from using those keys ๐Ÿ”‘ not it.


9. References ๐Ÿ“š

9.1. Normative References

[RFC1034]  Mockapetris, P., "Domain names - concepts and facilities",
           STD 13, RFC 1034, DOI 10.17487/RFC1034, November 1987,
           <http://www.rfc-editor.org/info/rfc1034>.

[RFC1918]  Rekhter, Y., Moskowitz, B., Karrenberg, D., de Groot, G.,
           and E. Lear, "Address Allocation for Private Internets",
           BCP 5, RFC 1918, DOI 10.17487/RFC1918, February 1996,
           <http://www.rfc-editor.org/info/rfc1918>.

[RFC2870]  Bush, R., Karrenberg, D., Kosters, M., and R. Plzak, "Root
           Name Server Operational Requirements", BCP 40, RFC 2870,
           DOI 10.17487/RFC2870, June 2000,
           <http://www.rfc-editor.org/info/rfc2870>.

[RFC4033]  Arends, R., Austein, R., Larson, M., Massey, D., and S.
           Rose, "DNS Security Introduction and Requirements",
           RFC 4033, DOI 10.17487/RFC4033, March 2005,
           <http://www.rfc-editor.org/info/rfc4033>.

[RFC4271]  Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A
           Border Gateway Protocol 4 (BGP-4)", RFC 4271,
           DOI 10.17487/RFC4271, January 2006,
           <http://www.rfc-editor.org/info/rfc4271>.

[RFC4786]  Abley, J. and K. Lindqvist, "Operation of Anycast
           Services", BCP 126, RFC 4786, DOI 10.17487/RFC4786,
           December 2006, <http://www.rfc-editor.org/info/rfc4786>.

[RFC7535]  Abley, J., Dickson, B., Kumari, W., and G. Michaelson,
           "AS112 Redirection Using DNAME", RFC 7535,
           DOI 10.17487/RFC7535, May 2015,
           <http://www.rfc-editor.org/info/rfc7535>.

9.2. Informative References ๐Ÿ“šโœจ

Okay bestie, these are the "for more context" references, the ones you read when you want the full story ๐Ÿงš


Appendix A. A Brief History of AS112 ๐Ÿ•ฐ๏ธ๐ŸŒธ

Okay, story time! ๐Ÿ’œ Lots of people started using the private address blocks from [RFC1918] right after it came out in 1996. Back then, the IN-ADDR.ARPA zone was being served by the root servers ๐Ÿ‘‘

Then came the idea of offloading IN-ADDR.ARPA queries about [RFC1918] addresses away from the root nameservers. That idea was first proposed by Bill Manning and John Brown ๐Ÿ™Œ

Next, the use of anycast for distributing authoritative DNS service for [RFC1918] IN-ADDR.ARPA zones was proposed at a private meeting of root server operators ๐Ÿคซ

ARIN provided an IPv4 prefix for the anycast service, and also the autonomous system number 112 for use in originating that prefix. That's where the project's name came from, literally named after the AS number ๐ŸŽ€

In 2002, the first AS112 anycast nodes were deployed ๐Ÿš€

In 2011, the IN-ADDR.ARPA zone was redelegated from the root servers to a new set of servers operated independently by AfriNIC, APNIC, ARIN, ICANN, LACNIC, and the RIPE NCC, and named according to [RFC5855] ๐Ÿฆ‹

[RFC6304], the precursor to this document, was published in July 2011 ๐Ÿ’…

The use of anycast nameservers in the AS112 project contributed to the operational experience of anycast DNS services. It can be seen as a precursor to the anycast distribution of other authoritative DNS servers in subsequent years (e.g., various root servers). Iconic behaviour, honestly ๐Ÿ‘‘โœจ


Appendix B. Changes since RFC 6304 ๐ŸŒˆ

A number of changes and enhancements to the AS112 service has been introduced since the publication of [RFC6304]. Here's the glow-up list ๐Ÿ’–

  • The addition of IPv6 transport. ๐ŸŒ
  • The extension of the AS112 service to include the ability to have additional zones delegated for sinking or removed using the DNAME resource record. ๐Ÿ“
  • Requisite changes to the guidance regarding the configuration of current and future AS112 nodes. ๐Ÿ› ๏ธ
  • Further clarification about the leakage of information in the Security Considerations section. ๐Ÿ”
  • A direction to the IANA to register the AS112 project's prefixes in the IANA Special-Purpose Address registries. ๐Ÿ“

Acknowledgements ๐Ÿซถ

This document benefited from review and suggestions from Leo Vegoda and Pearl Liang. Thank you, queens ๐Ÿ‘‘

The authors wish to acknowledge the assistance of Bill Manning, John Brown, Marco D'Itri, Daniele Arena, Stephane Bortzmeyer, Frank Habicht, Chris Thompson, Peter Losher, Peter Koch, Alfred Hoenes, S. Moonesamy, Mehmet Akcin, and Aleksi Suhonen in the preparation of [RFC6304], which this document supersedes. Such a big crew, I'm obsessed ๐Ÿฅน๐Ÿ’œ


Authors' Addresses ๐Ÿ“ฎ

Joe Abley
Dyn, Inc.
103-186 Albert Street
London, ON  N6A 1M1
Canada

Phone: +1 519 670 9327
EMail: jabley@dyn.com


William F. Maton Sotomayor
Ottawa Internet Exchange
Constitution Square
1400-340 Albert Street
Ottawa, ON  K1R 0A5
Canada

EMail: wfms@ottix.net
๐Ÿ“ฆ where this page comes from