Network Working Group C. Smith
Request for Comments: 2937 Sun Microsystems, Inc.
Category: Standards Track September 2000
The Name Service Search Option for DHCP
Smith Standards Track [Page 1]
RFC 2937 The Name Service Search Option for DHCP September 2000
Definitions0 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | 117 | Len | ns1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ns2 | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+In the above diagram, ns1 and ns2 are 16-bit integers corresponding to two DHCP options which specify the IP addresses of two different types of name server. The current list of name services and their DHCP option codes, taken from RFC 2132, includes
Smith Standards Track [Page 2]
RFC 2937 The Name Service Search Option for DHCP September 2000
A DHCP server wishing to express that a client should first search DNS, then NIS+, would send
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 117 | 4 | 6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 65 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
DHCP Client Behavior
Smith Standards Track [Page 3]
RFC 2937 The Name Service Search Option for DHCP September 2000
References
Smith Standards Track [Page 4]
RFC 2937 The Name Service Search Option for DHCP September 2000
Full Copyright Statement