1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669
|
<pre>Internet Engineering Task Force (IETF) W. Kumari
Request for Comments: 7706 Google
Category: Informational P. Hoffman
ISSN: 2070-1721 ICANN
November 2015
<span class="h1">Decreasing Access Time to Root Servers by Running One on Loopback</span>
Abstract
Some DNS recursive resolvers have longer-than-desired round-trip
times to the closest DNS root server. Some DNS recursive resolver
operators want to prevent snooping of requests sent to DNS root
servers by third parties. Such resolvers can greatly decrease the
round-trip time and prevent observation of requests by running a copy
of the full root zone on a loopback address (such as 127.0.0.1).
This document shows how to start and maintain such a copy of the root
zone that does not pose a threat to other users of the DNS, at the
cost of adding some operational fragility for the operator.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are a candidate for any level of Internet
Standard; see <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7706">http://www.rfc-editor.org/info/rfc7706</a>.
<span class="grey">Kumari & Hoffman Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) 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.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Requirements Notation . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-2">2</a>. Requirements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-3">3</a>. Operation of the Root Zone on the Loopback Address . . . . . <a href="#page-5">5</a>
<a href="#section-4">4</a>. Using the Root Zone Server on the Loopback Address . . . . . <a href="#page-6">6</a>
<a href="#section-5">5</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-6">6</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-6.1">6.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-6.2">6.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#appendix-A">Appendix A</a>. Current Sources of the Root Zone . . . . . . . . . . <a href="#page-8">8</a>
<a href="#appendix-B">Appendix B</a>. Example Configurations of Common Implementations . . <a href="#page-8">8</a>
<a href="#appendix-B.1">B.1</a>. Example Configuration: BIND 9.9 . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#appendix-B.2">B.2</a>. Example Configuration: Unbound 1.4 and NSD 4 . . . . . . <a href="#page-10">10</a>
<a href="#appendix-B.3">B.3</a>. Example Configuration: Microsoft Windows Server 2012 . . <a href="#page-11">11</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<span class="grey">Kumari & Hoffman Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
DNS recursive resolvers have to provide answers to all queries from
their customers, even those for domain names that do not exist. For
each queried name that has a top-level domain (TLD) that is not in
the recursive resolver's cache, the resolver must send a query to a
root server to get the information for that TLD, or to find out that
the TLD does not exist. Typically, the vast majority of queries
going to the root are for names that do not exist in the root zone,
and the negative answers are cached for a much shorter period of
time. A slow path between the recursive resolver and the closest
root server has a negative effect on the resolver's customers.
Recursive resolvers currently send queries for all TLDs that are not
in their caches to root servers, even though most of those queries
get answers that are referrals to other servers. Malicious third
parties might be able to observe that traffic on the network between
the recursive resolver and one or more of the DNS roots.
This document describes a method for the operator of a recursive
resolver to greatly speed these queries and to hide them from
outsiders. The basic idea is to create an up-to-date root zone
server on a loopback address on the same host as the recursive
server, and use that server when the recursive resolver looks up root
information. The recursive resolver validates all responses from the
root server on the loopback address, just as it would all responses
from a remote root server.
The primary goals of this design are to provide faster negative
responses to stub resolver queries that contain junk queries, and to
prevent queries and responses from being visible on the network.
This design will probably have little effect on getting faster
positive responses to stub resolver for good queries on TLDs, because
the data for those zones is usually long-lived and already in the
cache of the recursive resolver; thus, getting faster positive
responses is a non-goal of this design.
This design explicitly only allows the new root zone server to be run
on a loopback address, in order to prevent the server from serving
authoritative answers to any system other than the recursive
resolver.
It is important to note that the design being described here is not
considered a "best practice". In fact, many people feel that it is
an excessively risky practice because it introduces a new operational
piece to local DNS operations where there was not one before. The
<span class="grey">Kumari & Hoffman Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
advantages listed above do not come free: if this new system does not
work correctly, users can get bad data, or the entire recursive
resolution system might fail in ways that are hard to diagnose.
This design requires the addition of authoritative name server
software running on the same machine as the recursive resolver.
Thus, recursive resolver software such as BIND will not need to add
much new functionality, but recursive resolver software such as
Unbound will need to be able to talk to an authoritative server (such
as NSD) running on the same host.
Because of the significant operational risks described in this
document, distributions of recursive DNS servers MUST NOT include
configuration for the design described here. It is acceptable to
point to this document, but not to indicate that this configuration
is something that should be considered without reading the entire
document.
A different approach to solving the problems discussed in this
document is described in [<a href="#ref-AggressiveNSEC">AggressiveNSEC</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Requirements Notation</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Requirements</span>
In order to implement the mechanism described in this document:
o The system MUST be able to validate a zone with DNSSEC [<a href="./rfc4033" title=""DNS Security Introduction and Requirements"">RFC4033</a>].
o The system MUST have an up-to-date copy of the DNS root key.
o The system MUST be able to retrieve a copy of the entire root zone
(including all DNSSEC-related records).
o The system MUST be able to run an authoritative server on one of
the IPv4 loopback addresses (that is, an address in the range
127/8 for IPv4 or ::1 in IPv6).
A corollary of the above list is that authoritative data in the root
zone used on the local authoritative server MUST be identical to the
same data in the root zone for the DNS. It is possible to change the
unsigned data (the glue records) in the copy of the root zone, but
<span class="grey">Kumari & Hoffman Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
such changes could cause problems for the recursive server that
accesses the local root zone, and therefore any changes to the glue
records SHOULD NOT be made.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Operation of the Root Zone on the Loopback Address</span>
The operation of an authoritative server for the root in the system
described here can be done separately from the operation of the
recursive resolver.
The steps to set up the root zone are:
1. Retrieve a copy of the root zone. (See <a href="#appendix-A">Appendix A</a> for some
current locations of sources.)
2. Start the authoritative server with the root zone on a loopback
address that is not in use. For IPv4, this would typically be
127.0.0.1, but if that address is in use, any address in 127/8 is
acceptable. For IPv6, this would be ::1.
The contents of the root zone MUST be refreshed using the timers from
the SOA record in the root zone, as described in [<a href="./rfc1035" title=""Domain names - implementation and specification"">RFC1035</a>]. This
inherently means that the contents of the local root zone will likely
be a little behind those of the global root servers because those
servers are updated when triggered by NOTIFY messages. If the
contents of the zone cannot be refreshed before the expire time, the
server MUST return a SERVFAIL error response for all queries until
the zone can be successfully be set up again.
In the event that refreshing the contents of the root zone fails, the
results can be disastrous. For example, sometimes all the NS records
for a TLD are changed in a short period of time (such as 2 days); if
the refreshing of the local root zone is broken during that time, the
recursive resolver will have bad data for the entire TLD zone.
An administrator using the procedure in this document SHOULD have an
automated method to check that the contents of the local root zone
are being refreshed. One way to do this is to have a separate
process that periodically checks the SOA of the root zone from the
local root zone and makes sure that it is changing. At the time that
this document is published, the SOA for the root zone is the digital
representation of the current date with a two-digit counter appended,
and the SOA is changed every day even if the contents of the root
zone are unchanged. For example, the SOA of the root zone on January
2, 2015 was 2015010201. A process can use this fact to create a
check for the contents of the local root zone (using a program not
specified in this document).
<span class="grey">Kumari & Hoffman Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Using the Root Zone Server on the Loopback Address</span>
A recursive resolver that wants to use a root zone server operating
as described in <a href="#section-3">Section 3</a> simply specifies the local address as the
place to look when it is looking for information from the root. All
responses from the root server must be validated using DNSSEC.
Note that using this configuration will cause the recursive resolver
to fail if the local root zone server fails. See <a href="#appendix-B">Appendix B</a> for more
discussion of this for specific software.
To test the proper operation of the recursive resolver with the local
root server, use a DNS client to send a query for the SOA of the root
to the recursive server. Make sure the response that comes back has
the AA bit in the message header set to 0.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
A system that does not follow the DNSSEC-related requirements given
in <a href="#section-2">Section 2</a> can be fooled into giving bad responses in the same way
as any recursive resolver that does not do DNSSEC validation on
responses from a remote root server. Anyone deploying the method
described in this document should be familiar with the operational
benefits and costs of deploying DNSSEC [<a href="./rfc4033" title=""DNS Security Introduction and Requirements"">RFC4033</a>].
As stated in <a href="#section-1">Section 1</a>, this design explicitly only allows the new
root zone server to be run on a loopback address, in order to prevent
the server from serving authoritative answers to any system other
than the recursive resolver. This has the security property of
limiting damage to any other system that might try to rely on an
altered copy of the root.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Normative References</span>
[<a id="ref-RFC1035">RFC1035</a>] Mockapetris, P., "Domain names - implementation and
specification", STD 13, <a href="./rfc1035">RFC 1035</a>, DOI 10.17487/RFC1035,
November 1987, <<a href="http://www.rfc-editor.org/info/rfc1035">http://www.rfc-editor.org/info/rfc1035</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
<span class="grey">Kumari & Hoffman Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
[<a id="ref-RFC4033">RFC4033</a>] Arends, R., Austein, R., Larson, M., Massey, D., and S.
Rose, "DNS Security Introduction and Requirements",
<a href="./rfc4033">RFC 4033</a>, DOI 10.17487/RFC4033, March 2005,
<<a href="http://www.rfc-editor.org/info/rfc4033">http://www.rfc-editor.org/info/rfc4033</a>>.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Informative References</span>
[<a id="ref-AggressiveNSEC">AggressiveNSEC</a>]
Fujiwara, K. and A. Kato, <a style="text-decoration: none" href='https://www.google.com/search?sitesearch=datatracker.ietf.org%2Fdoc%2Fhtml%2F&q=inurl:draft-+%22Aggressive+use+of+NSEC%2FNSEC3%22'>"Aggressive use of NSEC/NSEC3"</a>,
Work in Progress, <a href="./draft-fujiwara-dnsop-nsec-aggressiveuse-02">draft-fujiwara-dnsop-nsec-</a>
<a href="./draft-fujiwara-dnsop-nsec-aggressiveuse-02">aggressiveuse-02</a>, October 2015.
[<a id="ref-Manning2013">Manning2013</a>]
Manning, W., "Client Based Naming", 2013,
<<a href="http://www.sfc.wide.ad.jp/dissertation/bill_e.html">http://www.sfc.wide.ad.jp/dissertation/bill_e.html</a>>.
<span class="grey">Kumari & Hoffman Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Current Sources of the Root Zone</span>
The root zone can be retrieved from anywhere as long as it comes with
all the DNSSEC records needed for validation. Currently, one can get
the root zone from ICANN by zone transfer (AXFR) over TCP from DNS
servers at xfr.lax.dns.icann.org and xfr.cjr.dns.icann.org.
Currently, the root can also be retrieved by AXFR over TCP from the
following root server operators:
o b.root-servers.net
o c.root-servers.net
o f.root-servers.net
o g.root-servers.net
o k.root-servers.net
It is crucial to note that none of the above services are guaranteed
to be available. It is possible that ICANN or some of the root
server operators will turn off the AXFR capability on the servers
listed above. Using AXFR over TCP to addresses that are likely to be
anycast (as the ones above are) may conceivably have transfer
problems due to anycast, but current practice shows that to be
unlikely.
To repeat the requirement from earlier in this document: if the
contents of the zone cannot be refreshed before the expire time, the
server MUST return a SERVFAIL error response for all queries until
the zone can be successfully be set up again.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Example Configurations of Common Implementations</span>
This section shows fragments of configurations for some popular
recursive server software that is believed to correctly implement the
requirements given in this document.
The IPv4 and IPv6 addresses in this section were checked recently by
testing for AXFR over TCP from each address for the known single-
letter names in the root-servers.net zone.
The examples here use a loopback address of 127.12.12.12, but typical
installations will use 127.0.0.1. The different address is used in
order to emphasize that the root server does not need to be on the
device at "localhost".
<span class="grey">Kumari & Hoffman Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>. Example Configuration: BIND 9.9</span>
BIND acts both as a recursive resolver and an authoritative server.
Because of this, there is "fate-sharing" between the two servers in
the following configuration. That is, if the root server dies, it is
likely that all of BIND is dead.
Using this configuration, queries for information in the root zone
are returned with the AA bit not set.
When slaving a zone, BIND will treat zone data differently if the
zone is slaved into a separate view (or a separate instance of the
software) versus slaved into the same view or instance that is also
performing the recursion.
Validation: When using separate views or separate instances, the DS
records in the slaved zone will be validated as the zone data is
accessed by the recursive server. When using the same view, this
validation does not occur for the slaved zone.
Caching: When using separate views or instances, the recursive
server will cache all of the queries for the slaved zone, just as
it would using the traditional "root hints" method. Thus, as the
zone in the other view or instance is refreshed or updated,
changed information will not appear in the recursive server until
the TTL of the old record times out. Currently, the TTL for DS
and delegation NS records is two days. When using the same view,
all zone data in the recursive server will be updated as soon as
it receives its copy of the zone.
<span class="grey">Kumari & Hoffman Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
view root {
match-destinations { 127.12.12.12; };
zone "." {
type slave;
file "rootzone.db";
notify no;
masters {
192.228.79.201; # b.root-servers.net
192.33.4.12; # c.root-servers.net
192.5.5.241; # f.root-servers.net
192.112.36.4; # g.root-servers.net
193.0.14.129; # k.root-servers.net
192.0.47.132; # xfr.cjr.dns.icann.org
192.0.32.132; # xfr.lax.dns.icann.org
2001:500:84::b; # b.root-servers.net
2001:500:2f::f; # f.root-servers.net
2001:7fd::1; # k.root-servers.net
2620:0:2830:202::132; # xfr.cjr.dns.icann.org
2620:0:2d0:202::132; # xfr.lax.dns.icann.org
};
};
};
view recursive {
dnssec-validation auto;
allow-recursion { any; };
recursion yes;
zone "." {
type static-stub;
server-addresses { 127.12.12.12; };
};
};
<span class="h3"><a class="selflink" id="appendix-B.2" href="#appendix-B.2">B.2</a>. Example Configuration: Unbound 1.4 and NSD 4</span>
Unbound and NSD are separate software packages. Because of this,
there is no "fate-sharing" between the two servers in the following
configurations. That is, if the root server instance (NSD) dies, the
recursive resolver instance (Unbound) will probably keep running but
will not be able to resolve any queries for the root zone.
Therefore, the administrator of this configuration might want to
carefully monitor the NSD instance and restart it immediately if it
dies.
Using this configuration, queries for information in the root zone
are returned with the AA bit not set.
<span class="grey">Kumari & Hoffman Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
# Configuration for Unbound
server:
do-not-query-localhost: no
stub-zone:
name: "."
stub-prime: no
stub-addr: 127.12.12.12
# Configuration for NSD
server:
ip-address: 127.12.12.12
zone:
name: "."
request-xfr: 192.228.79.201 NOKEY # b.root-servers.net
request-xfr: 192.33.4.12 NOKEY # c.root-servers.net
request-xfr: 192.5.5.241 NOKEY # f.root-servers.net
request-xfr: 192.112.36.4 NOKEY # g.root-servers.net
request-xfr: 193.0.14.129 NOKEY # k.root-servers.net
request-xfr: 192.0.47.132 NOKEY # xfr.cjr.dns.icann.org
request-xfr: 192.0.32.132 NOKEY # xfr.lax.dns.icann.org
request-xfr: 2001:500:84::b NOKEY # b.root-servers.net
request-xfr: 2001:500:2f::f NOKEY # f.root-servers.net
request-xfr: 2001:7fd::1 NOKEY # k.root-servers.net
request-xfr: 2620:0:2830:202::132 NOKEY # xfr.cjr.dns.icann.org
request-xfr: 2620:0:2d0:202::132 NOKEY # xfr.lax.dns.icann.org
<span class="h3"><a class="selflink" id="appendix-B.3" href="#appendix-B.3">B.3</a>. Example Configuration: Microsoft Windows Server 2012</span>
Windows Server 2012 contains a DNS server in the "DNS Manager"
component. When activated, that component acts as a recursive
server. DNS Manager can also act as an authoritative server.
Using this configuration, queries for information in the root zone
are returned with the AA bit set.
The steps to configure DNS Manager to implement the requirements in
this document are:
1. Launch the DNS Manager GUI. This can be done from the command
line ("dnsmgmt.msc") or from the Service Manager (the "DNS"
command in the "Tools" menu).
2. In the hierarchy under the server on which the service is
running, right-click on the "Forward Lookup Zones", and select
"New Zone". This brings up a succession of dialog boxes.
3. In the "Zone Type" dialog box, select "Secondary zone".
<span class="grey">Kumari & Hoffman Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7706">RFC 7706</a> Running Root on Loopback November 2015</span>
4. In the "Zone Name" dialog box, enter ".".
5. In the "Master DNS Servers" dialog box, enter
"b.root-servers.net". The system validates that it can do a zone
transfer from that server. (After this configuration is
completed, the DNS Manager will attempt to transfer from all of
the root zone servers.)
6. In the "Completing the New Zone Wizard" dialog box, click
"Finish".
7. Verify that the DNS Manager is acting as a recursive resolver.
Right-click on the server name in the hierarchy, choosing the
"Advanced" tab in the dialog box. See that "Disable recursion
(also disables forwarders)" is not selected, and that "Enable
DNSSEC validation for remote responses" is selected.
Acknowledgements
The authors fully acknowledge that running a copy of the root zone on
the loopback address is not a new concept, and that we have chatted
with many people about that idea over time. For example, Bill
Manning described a similar solution but to a very different problem
(intermittent connectivity, instead of constant but slow
connectivity) in his doctoral dissertation in 2013 [<a href="#ref-Manning2013">Manning2013</a>].
Evan Hunt contributed greatly to the logic in the requirements.
Other significant contributors include Wouter Wijngaards, Tony Hain,
Doug Barton, Greg Lindsay, and Akira Kato. The authors also received
many offline comments about making the document clear that this is
just a description of a way to operate a root zone on localhost, and
not a recommendation to do so.
Authors' Addresses
Warren Kumari
Google
Email: Warren@kumari.net
Paul Hoffman
ICANN
Email: paul.hoffman@icann.org
Kumari & Hoffman Informational [Page 12]
</pre>
|