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 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
|
<pre>Network Working Group B. Volz
Request for Comments: 4704 Cisco Systems, Inc.
Category: Standards Track October 2006
<span class="h1">The Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Client</span>
<span class="h1">Fully Qualified Domain Name (FQDN) Option</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
Abstract
This document specifies a new Dynamic Host Configuration Protocol for
IPv6 (DHCPv6) option that can be used to exchange information about a
DHCPv6 client's Fully Qualified Domain Name (FQDN) and about
responsibility for updating DNS resource records (RRs) related to the
client's address assignments.
<span class="grey">Volz Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-3">3</a>
<a href="#section-3">3</a>. Models of Operation .............................................<a href="#page-3">3</a>
<a href="#section-4">4</a>. The DHCPv6 Client FQDN Option ...................................<a href="#page-4">4</a>
<a href="#section-4.1">4.1</a>. The Flags Field ............................................<a href="#page-5">5</a>
<a href="#section-4.2">4.2</a>. The Domain Name Field ......................................<a href="#page-6">6</a>
<a href="#section-5">5</a>. DHCPv6 Client Behavior ..........................................<a href="#page-7">7</a>
<a href="#section-5.1">5.1</a>. Client Desires to Update AAAA RRs ..........................<a href="#page-7">7</a>
<a href="#section-5.2">5.2</a>. Client Desires Server to Do DNS Updates ....................<a href="#page-7">7</a>
<a href="#section-5.3">5.3</a>. Client Desires No Server DNS Updates .......................<a href="#page-7">7</a>
<a href="#section-5.4">5.4</a>. Domain Name and DNS Update Issues ..........................<a href="#page-8">8</a>
<a href="#section-6">6</a>. DHCPv6 Server Behavior ..........................................<a href="#page-9">9</a>
<a href="#section-6.1">6.1</a>. When to Perform DNS Updates ................................<a href="#page-9">9</a>
<a href="#section-7">7</a>. DNS RR TTLs ....................................................<a href="#page-10">10</a>
<a href="#section-8">8</a>. DNS Update Conflicts ...........................................<a href="#page-11">11</a>
<a href="#section-9">9</a>. IANA Considerations ............................................<a href="#page-11">11</a>
<a href="#section-10">10</a>. Security Considerations .......................................<a href="#page-12">12</a>
<a href="#section-11">11</a>. Acknowledgements ..............................................<a href="#page-12">12</a>
<a href="#section-12">12</a>. References ....................................................<a href="#page-13">13</a>
<a href="#section-12.1">12.1</a>. Normative References .....................................<a href="#page-13">13</a>
<a href="#section-12.2">12.2</a>. Informative References ...................................<a href="#page-13">13</a>
<span class="grey">Volz Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
DNS ([<a href="#ref-2" title=""Domain names - concepts and facilities"">2</a>], [<a href="#ref-3" title=""Domain names - implementation and specification"">3</a>]) maintains (among other things) the information about
mapping between hosts' Fully Qualified Domain Names (FQDNs) [<a href="#ref-10" title=""FYI on Questions and Answers - Answers to Commonly asked "">10</a>] and
IPv6 addresses assigned to the hosts. The information is maintained
in two types of Resource Records (RRs): AAAA and PTR [<a href="#ref-12" title=""DNS Extensions to Support IP Version 6"">12</a>]. The DNS
update specification [<a href="#ref-4" title=""Dynamic Updates in the Domain Name System (DNS UPDATE)"">4</a>] describes a mechanism that enables DNS
information to be updated over a network.
The Dynamic Host Configuration Protocol for IPv6 (DHCPv6) [<a href="#ref-5" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">5</a>]
provides a mechanism by which a host (a DHCPv6 client) can acquire
certain configuration information, along with its stateful IPv6
address(es). This document specifies a new DHCPv6 option, the Client
FQDN option, which can be used by DHCPv6 clients and servers to
exchange information about the client's fully qualified domain name
and about who has the responsibility for updating the DNS with the
associated AAAA and PTR RRs.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</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="#ref-1" title=""Key words for use in RFCs to Indicate Requirement Levels"">1</a>].
Familiarity with the DNS Update protocol [<a href="#ref-4" title=""Dynamic Updates in the Domain Name System (DNS UPDATE)"">4</a>] and with DHCPv6 and its
terminology, as defined in [<a href="#ref-5" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">5</a>], is assumed.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Models of Operation</span>
When a DHCPv6 client acquires an address, a site's administrator may
desire that the AAAA RR for the client's FQDN and the PTR RR for the
acquired address be updated. Therefore, two separate DNS update
transactions may occur. Acquiring an address via DHCPv6 involves two
entities: a DHCPv6 client and a DHCPv6 server. In principle, each of
these entities could perform none, one, or both of the DNS update
transactions. However, in practice, not all permutations make sense.
The DHCPv6 Client FQDN option is primarily intended to operate in the
following two cases:
1. DHCPv6 client updates the AAAA RR; DHCPv6 server updates the PTR
RR.
2. DHCPv6 server updates both the AAAA and the PTR RRs.
The only difference between these two cases is whether the FQDN-to-
IPv6-address mapping is updated by a DHCPv6 client or by a DHCPv6
server. The IPv6-address-to-FQDN mapping is updated by a DHCPv6
server in both cases.
<span class="grey">Volz Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
The reason these two are important, while others are unlikely, has to
do with authority over the respective DNS domain names. A DHCPv6
client may be given authority over mapping its own AAAA RRs, or that
authority may be restricted to a server to prevent the client from
listing arbitrary addresses or associating its addresses with
arbitrary domain names. In all cases, the only reasonable place for
the authority over the PTR RRs associated with the address is in the
DHCPv6 server that allocates the address.
Note: A third case is supported in which the client requests that the
server perform no updates. However, this case is presumed to be rare
because of the authority issues.
In any case, whether a site permits all, some, or no DHCPv6 servers
and clients to perform DNS updates into the zones that it controls is
entirely a matter of local administrative policy. This document does
not require any specific administrative policy and does not propose
one. The range of possible policies is very broad, from sites where
only the DHCPv6 servers have been given credentials that the DNS
servers will accept, to sites where each individual DHCPv6 client has
been configured with credentials that allow the client to modify its
own domain name. Compliant implementations MAY support some or all
of these possibilities. Furthermore, this specification applies only
to DHCPv6 client and server processes: it does not apply to other
processes that initiate DNS updates.
This document describes a new DHCPv6 option that a client can use to
convey all or part of its domain name to a DHCPv6 server. Site-
specific policy determines whether or not DHCPv6 servers use the
names that clients offer, and what DHCPv6 servers do in cases where
clients do not supply domain names.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. The DHCPv6 Client FQDN Option</span>
To update the IPv6-address-to-FQDN mapping, a DHCPv6 server needs to
know the FQDN of the client for the addresses for the client's IA_NA
bindings. To allow the client to convey its FQDN to the server, this
document defines a new DHCPv6 option called "Client FQDN". The
Client FQDN option also contains Flags that DHCPv6 clients and
servers use to negotiate who does which updates.
The code for this option is 39. Its minimum length is 1 octet.
<span class="grey">Volz Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
The format of the DHCPv6 Client FQDN option is shown below:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_FQDN | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| flags | |
+-+-+-+-+-+-+-+-+ |
. .
. domain-name .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_CLIENT_FQDN (39)
option-len 1 + length of domain name
flags flag bits used between client and server to
negotiate who performs which updates
domain-name the partial or fully qualified domain name
(with length option-len - 1)
The Client FQDN option MUST only appear in a message's options field
and applies to all addresses for all IA_NA bindings in the
transaction.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. The Flags Field</span>
The format of the Flags field is:
0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
| MBZ |N|O|S|
+-+-+-+-+-+-+-+-+
The "S" bit indicates whether the server SHOULD or SHOULD NOT perform
the AAAA RR (FQDN-to-address) DNS updates. A client sets the bit to
0 to indicate that the server SHOULD NOT perform the updates and 1 to
indicate that the server SHOULD perform the updates. The state of
the bit in the reply from the server indicates the action to be taken
by the server; if it is 1, the server has taken responsibility for
AAAA RR updates for the FQDN.
<span class="grey">Volz Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
The "O" bit indicates whether the server has overridden the client's
preference for the "S" bit. A client MUST set this bit to 0. A
server MUST set this bit to 1 if the "S" bit in its reply to the
client does not match the "S" bit received from the client.
The "N" bit indicates whether the server SHOULD NOT perform any DNS
updates. A client sets this bit to 0 to request that the server
SHOULD perform updates (the PTR RR and possibly the AAAA RR based on
the "S" bit) or to 1 to request that the server SHOULD NOT perform
any DNS updates. A server sets the "N" bit to indicate whether the
server SHALL (0) or SHALL NOT (1) perform DNS updates. If the "N"
bit is 1, the "S" bit MUST be 0.
The remaining bits in the Flags field are reserved for future
assignment. DHCPv6 clients and servers that send the Client FQDN
option MUST clear the MBZ bits, and they MUST ignore these bits.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. The Domain Name Field</span>
The Domain Name part of the option carries all or part of the FQDN of
a DHCPv6 client. The data in the Domain Name field MUST be encoded
as described in Section 8 of [<a href="#ref-5" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">5</a>]. In order to determine whether the
FQDN has changed between message exchanges, the client and server
MUST NOT alter the Domain Name field contents unless the FQDN has
actually changed.
A client MAY be configured with a fully qualified domain name or with
a partial name that is not fully qualified. If a client knows only
part of its name, it MAY send a name that is not fully qualified,
indicating that it knows part of the name but does not necessarily
know the zone in which the name is to be embedded.
To send a fully qualified domain name, the Domain Name field is set
to the DNS-encoded domain name including the terminating zero-length
label. To send a partial name, the Domain Name field is set to the
DNS-encoded domain name without the terminating zero-length label.
A client MAY also leave the Domain Name field empty if it desires the
server to provide a name.
Servers SHOULD send the complete fully qualified domain name in
Client FQDN options.
<span class="grey">Volz Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. DHCPv6 Client Behavior</span>
The following describes the behavior of a DHCPv6 client that
implements the Client FQDN option.
A client MUST only include the Client FQDN option in SOLICIT,
REQUEST, RENEW, or REBIND messages.
A client that sends the Client FQDN option MUST also include the
option in the Option Request option if it expects the server to
include the Client FQDN option in any responses.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Client Desires to Update AAAA RRs</span>
If a client that owns/maintains its own FQDN wants to be responsible
for updating the FQDN-to-IPv6-address mapping for the FQDN and
address(es) used by the client, the client MUST include the Client
FQDN option in the SOLICIT with Rapid Commit, REQUEST, RENEW, and
REBIND message originated by the client. A client MAY choose to
include the Client FQDN option in its SOLICIT messages. The "S",
"O", and "N" bits in the Flags field in the option MUST be 0.
Once the client's DHCPv6 configuration is completed (the client
receives a REPLY message and successfully completes a final check on
the parameters passed in the message), the client MAY originate an
update for the AAAA RRs (associated with the client's FQDN) unless
the server has set the "S" bit to 1. If the "S" is 1, the DHCPv6
client SHOULD NOT initiate an update for the name in the server's
returned Client FQDN option Domain Name field. However, a DHCPv6
client that is explicitly configured with a FQDN MAY ignore the state
of the "S" bit if the server's returned name matches the client's
configured name.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Client Desires Server to Do DNS Updates</span>
A client can choose to delegate the responsibility for updating the
FQDN-to-IPv6-address mapping for the FQDN and address(es) used by the
client to the server. In order to inform the server of this choice,
the client SHOULD include the Client FQDN option in its SOLICIT with
Rapid Commit, REQUEST, RENEW, and REBIND messages and MAY include the
Client FQDN option in its SOLICIT. The "S" bit in the Flags field in
the option MUST be 1, and the "O" and "N" bits MUST be 0.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Client Desires No Server DNS Updates</span>
A client can choose to request that the server perform no DNS updates
on its behalf. In order to inform the server of this choice, the
client SHOULD include the Client FQDN option in its SOLICIT with
<span class="grey">Volz Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
Rapid Commit, REQUEST, RENEW, and REBIND messages and MAY include the
Client FQDN option in its SOLICIT. The "N" bit in the Flags field in
the option MUST be 1, and the "S" and "O" bits MUST be 0.
Once the client's DHCPv6 configuration is completed (the client
receives a REPLY message and successfully completes a final check on
the parameters passed in the message), the client MAY originate its
DNS updates provided the server's "N" bit is 1. If the server's "N"
bit is 0, the server MAY perform the PTR RR updates; it MAY also
perform the AAAA RR updates if the "S" bit is 1.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Domain Name and DNS Update Issues</span>
As there is a possibility that the DHCPv6 server is configured to
complete or replace a domain name that the client sends, the client
MAY find it useful to send the Client FQDN option in its SOLICIT
messages. If the DHCPv6 server returns different Domain Name data in
its ADVERTISE message, the client could use that data in performing
its own eventual AAAA RR update, or in forming the Client FQDN option
that it sends in its subsequent messages. There is no requirement
that the client send identical Client FQDN option data in its
SOLICIT, REQUEST, RENEW, or REBIND messages. In particular, if a
client has sent the Client FQDN option to its server, and the
configuration of the client changes so that its notion of its domain
name changes, it MAY send the new name data in a Client FQDN option
when it communicates with the server again. This MAY cause the
DHCPv6 server to update the name associated with the PTR records and,
if the server updated the AAAA record representing the client, to
delete that record and attempt an update for the client's current
domain name.
A client that delegates the responsibility for updating the FQDN-to-
IPv6-address mapping to a server will not receive any indication
(either positive or negative) from the server as to whether the
server was able to perform the update. The client MAY use a DNS
query to check whether the mapping is up to date. However, depending
on the load on the DHCPv6 and DNS servers and the DNS propagation
delays, the client can only infer success. If the information is not
found to be up to date in DNS, the authoritative servers might not
have completed the updates or zone transfers, or caching resolvers
may yet have updated their caches.
If a client releases an address prior to the expiration of the valid
lifetime and the client is responsible for updating its AAAA RR, the
client SHOULD delete the AAAA RR associated with the address before
sending a RELEASE message. Similarly, if a client is responsible for
updating its AAAA RRs, but is unable to renew the lifetimes for an
address, the client SHOULD attempt to delete the AAAA RR before the
<span class="grey">Volz Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
lifetime on the address is no longer valid. A DHCPv6 client that has
not been able to delete an AAAA RR that it added SHOULD attempt to
notify its administrator, perhaps by emitting a log message.
A client SHOULD NOT perform DNS updates to AAAA RRs for its non-
Global Unicast addresses [<a href="#ref-7" title=""IP Version 6 Addressing Architecture"">7</a>] or temporary addresses [<a href="#ref-6" title=""Privacy Extensions for Stateless Address Autoconfiguration in IPv6"">6</a>].
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. DHCPv6 Server Behavior</span>
The following describes the behavior of a DHCPv6 server that
implements the Client FQDN option when the client's message includes
the Client FQDN option.
Servers MUST only include a Client FQDN option in ADVERTISE and REPLY
messages if the client included a Client FQDN option and the Client
FQDN option is requested by the Option Request option in the client's
message to which the server is responding.
The server examines its configuration and the Flag bits in the
client's Client FQDN option to determine how to respond:
o The server sets to 0 the "S", "O", and "N" bits in its copy of the
option it will return to the client.
o If the client's "N" bit is 1 and the server's configuration allows
it to honor the client's request for no server-initiated DNS
updates, the server sets the "N" bit to 1.
o Otherwise, if the client's "S" bit is 1 and the server's
configuration allows it to honor the client's request for the
server to initiate AAAA RR DNS updates, the server sets the "S" to
1. If the server's "S" bit does not match the client's "S" bit,
the server sets the "O" bit to 1.
The server MAY be configured to use the name supplied in the client's
Client FQDN option, or it MAY be configured to modify the supplied
name or to substitute a different name. The server SHOULD send its
notion of the complete FQDN for the client in the Domain Name field.
The server MAY simply copy the Domain Name field from the Client FQDN
option that the client sent to the server.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. When to Perform DNS Updates</span>
The server SHOULD NOT perform any DNS updates if the "N" bit is 1 in
the Flags field of the Client FQDN option in the REPLY messages (to
be) sent to the client. However, the server SHOULD delete any RRs
that it previously added via DNS updates for the client.
<span class="grey">Volz Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
The server MAY perform the PTR RR DNS update (unless the "N" bit is
1).
The server MAY perform the AAAA RR DNS update if the "S" bit is 1 in
the Flags field of the Client FQDN option in the REPLY message (to
be) sent to the client.
The server MAY perform these updates even if the client's message did
not carry the Client FQDN option. The server MUST NOT initiate DNS
updates when responding with an ADVERTISE message to the client.
The server MAY complete its DNS updates (PTR RR or PTR and AAAA RR)
before or after sending the REPLY message to the client.
If the server's AAAA RR DNS update does not complete until after the
server has replied to the DHCPv6 client, the server's interaction
with the DNS server MAY cause the DHCPv6 server to change the domain
name that it associates with the client. This can occur, for
example, if the server detects and resolves a domain-name conflict
[<a href="#ref-8" title=""Resolution of Fully Qualified Domain Name (FQDN) Conflicts among Dynamic Host Configuration Protocol (DHCP) Clients"">8</a>]. In such cases, the domain name that the server returns to the
DHCPv6 client would change between two DHCPv6 exchanges.
If the server previously performed DNS updates for the client and the
client's information has not changed, the server MAY skip performing
additional DNS updates.
When a server receives a RELEASE or DECLINE for an address, detects
that the valid lifetime on an address that the server bound to a
client has expired, or terminates a binding on an address prior to
the binding's expiration time (for instance, by sending a REPLY with
a zero valid lifetime for an address), the server SHOULD delete any
PTR RR that it associated with the address via DNS update. In
addition, if the server took responsibility for AAAA RRs, the server
SHOULD also delete the AAAA RR.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. DNS RR TTLs</span>
RRs associated with DHCP clients may be more volatile than statically
configured RRs. DHCP clients and servers that perform dynamic
updates should attempt to specify resource record TTLs that reflect
this volatility, in order to minimize the possibility that answers to
DNS queries will return records that refer to DHCP IP address
assignments that have expired or been released.
The coupling among primary, secondary, and caching DNS servers is
'loose'; that is a fundamental part of the design of the DNS. This
looseness makes it impossible to prevent all possible situations in
which a resolver may return a record reflecting a DHCP-assigned IP
<span class="grey">Volz Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
address that has expired or been released. In deployment, this
rarely, if ever, represents a significant problem. Most DHCP-managed
clients are infrequently looked up by name in the DNS, and the
deployment of IXFR [<a href="#ref-13" title=""Incremental Zone Transfer in DNS"">13</a>] and NOTIFY [<a href="#ref-14" title=""A Mechanism for Prompt Notification of Zone Changes (DNS NOTIFY)"">14</a>] can reduce the latency
between updates and their visibility at secondary servers.
We suggest these basic guidelines for implementers. In general, the
TTLs for RRs added as a result of DHCP IP address assignment activity
SHOULD be less than the initial lifetime. The RR TTL on a DNS record
added SHOULD NOT exceed 1/3 of the lifetime, but SHOULD NOT be less
than 10 minutes. We recognize that individual administrators will
have varying requirements: DHCP servers and clients SHOULD allow
administrators to configure TTLs and upper and lower bounds on the
TTL values, either as an absolute time interval or as a percentage of
the lease lifetime.
While clients and servers MAY update the TTL of the records as the
lifetime is about to expire, there is no requirement that they do so
as this puts additional load on the DNS system with likely little
benefit.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. DNS Update Conflicts</span>
This document does not resolve how a DHCPv6 client or server prevent
name conflicts. This document addresses only how a DHCPv6 client and
server negotiate the fully qualified domain name and who will perform
the DNS updates.
Implementers of this work will need to consider how name conflicts
will be prevented. If a DNS updater needs a security token in order
to successfully perform DNS updates on a specific name, name
conflicts can only occur if multiple updaters are given a security
token for that name. Or, if the fully qualified domains are based on
the specific address bound to a client, conflicts will not occur.
Or, a name conflict resolution technique as described in "Resolving
Name Conflicts" [<a href="#ref-8" title=""Resolution of Fully Qualified Domain Name (FQDN) Conflicts among Dynamic Host Configuration Protocol (DHCP) Clients"">8</a>]) SHOULD be used.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. IANA Considerations</span>
The IANA has assigned DHCPv6 option code 39 for the Client FQDN
option.
<span class="grey">Volz Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Security Considerations</span>
Unauthenticated updates to the DNS can lead to tremendous confusion,
through malicious attack or through inadvertent misconfiguration.
Administrators need to be wary of permitting unsecured DNS updates to
zones that are exposed to the global Internet. Both DHCPv6 clients
and servers SHOULD use some form of update request origin
authentication procedure (e.g., Secure DNS Dynamic Update [<a href="#ref-11" title=""Secure Domain Name System (DNS) Dynamic Update"">11</a>]) when
performing DNS updates.
Whether a DHCPv6 client is responsible for updating an FQDN-to-IPv6-
address mapping or whether this is the responsibility of the DHCPv6
server is a site-local matter. The choice between the two
alternatives is likely based on the security model that is used with
the DNS update protocol (e.g., only a client may have sufficient
credentials to perform updates to the FQDN-to-IPv6-address mapping
for its FQDN).
Whether a DHCPv6 server is always responsible for updating the FQDN-
to-IPv6-address mapping (in addition to updating the IPv6-to-FQDN
mapping), regardless of the wishes of an individual DHCPv6 client, is
also a site-local matter. The choice between the two alternatives is
likely based on the security model that is being used with DNS
updates. In cases where a DHCPv6 server is performing DNS updates on
behalf of a client, the DHCPv6 server SHOULD be sure of the DNS name
to use for the client, and of the identity of the client.
Depending on the presence of or type of authentication used with the
Authentication option, a DHCPv6 server may not have much confidence
in the identities of its clients. There are many ways for a DHCPv6
server to develop a DNS name to use for a client, but only in certain
circumstances will the DHCPv6 server know for certain the identity of
the client.
It is critical to implement proper conflict resolution, and the
security considerations of conflict resolution apply [<a href="#ref-8" title=""Resolution of Fully Qualified Domain Name (FQDN) Conflicts among Dynamic Host Configuration Protocol (DHCP) Clients"">8</a>].
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Acknowledgements</span>
Many thanks to Mark Stapp and Yakov Rekhter, as this document is
based on the DHCPv4 Client FQDN option [<a href="#ref-9" title=""The Dynamic Host Configuration Protocol (DHCP) Client Fully Qualified Domain Name (FQDN) Option"">9</a>], and to Ralph Droms, Ted
Lemon, Josh Littlefield, Kim Kinnear, Pekka Savola, and Mark Stapp
for their review and comments.
<span class="grey">Volz Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. References</span>
<span class="h3"><a class="selflink" id="section-12.1" href="#section-12.1">12.1</a>. Normative References</span>
[<a id="ref-1">1</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>, March 1997.
[<a id="ref-2">2</a>] Mockapetris, P., "Domain names - concepts and facilities",
STD 13, <a href="./rfc1034">RFC 1034</a>, November 1987.
[<a id="ref-3">3</a>] Mockapetris, P., "Domain names - implementation and
specification", STD 13, <a href="./rfc1035">RFC 1035</a>, November 1987.
[<a id="ref-4">4</a>] Vixie, P., Thomson, S., Rekhter, Y., and J. Bound, "Dynamic
Updates in the Domain Name System (DNS UPDATE)", <a href="./rfc2136">RFC 2136</a>,
April 1997.
[<a id="ref-5">5</a>] Droms, R., Bound, J., Volz, B., Lemon, T., Perkins, C., and M.
Carney, "Dynamic Host Configuration Protocol for IPv6 (DHCPv6)",
<a href="./rfc3315">RFC 3315</a>, July 2003.
[<a id="ref-6">6</a>] Narten, T. and R. Draves, "Privacy Extensions for Stateless
Address Autoconfiguration in IPv6", <a href="./rfc3041">RFC 3041</a>, January 2001.
[<a id="ref-7">7</a>] Hinden, R. and S. Deering, "IP Version 6 Addressing
Architecture", <a href="./rfc4291">RFC 4291</a>, February 2006.
[<a id="ref-8">8</a>] Stapp, M. and B. Volz, "Resolution of Fully Qualified Domain
Name (FQDN) Conflicts among Dynamic Host Configuration Protocol
(DHCP) Clients", <a href="./rfc4703">RFC 4703</a>, October 2006.
<span class="h3"><a class="selflink" id="section-12.2" href="#section-12.2">12.2</a>. Informative References</span>
[<a id="ref-9">9</a>] Stapp, M., Volz, B., and Y. Rekhter, "The Dynamic Host
Configuration Protocol (DHCP) Client Fully Qualified Domain
Name (FQDN) Option", <a href="./rfc4702">RFC 4702</a>, October 2006.
[<a id="ref-10">10</a>] Marine, A., Reynolds, J., and G. Malkin, "FYI on Questions and
Answers - Answers to Commonly asked "New Internet User"
Questions", FYI 4, <a href="./rfc1594">RFC 1594</a>, March 1994.
[<a id="ref-11">11</a>] Wellington, B., "Secure Domain Name System (DNS) Dynamic
Update", <a href="./rfc3007">RFC 3007</a>, November 2000.
[<a id="ref-12">12</a>] Thomson, S., Huitema, C., Ksinant, V., and M. Souissi, "DNS
Extensions to Support IP Version 6", <a href="./rfc3596">RFC 3596</a>, October 2003.
<span class="grey">Volz Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
[<a id="ref-13">13</a>] Ohta, M., "Incremental Zone Transfer in DNS", <a href="./rfc1995">RFC 1995</a>,
August 1996.
[<a id="ref-14">14</a>] Vixie, P., "A Mechanism for Prompt Notification of Zone Changes
(DNS NOTIFY)", <a href="./rfc1996">RFC 1996</a>, August 1996.
Author's Address
Bernard Volz
Cisco Systems, Inc.
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Phone: +1 978 936 0382
EMail: volz@cisco.com
<span class="grey">Volz Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc4704">RFC 4704</a> The DHCPv6 Client FQDN Option October 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Volz Standards Track [Page 15]
</pre>
|