On Tue, Jun 13, 2006 at 12:32:59PM -0700, Bernard Li wrote:
> Ted:
> 
> Since you seem to be quite knowledgeable with DHCP Server and the likes,
> do you know what is the "correct" way of providing multiple search
> domains via DHCP?  Is that even supported?
> 
> What I mean is for /etc/resolv.conf to be like:
> 
> search openclustergroup.org ocg.org

The data type for option domain-name is simply: text
I would therefore hope that

    option domain-name "openclustergroup.org ocg.org"

in /etc/dhcpd.conf would result in

    search openclustergroup.org ocg.org

in /etc/resolv.conf, as long as the DHCP client just plugs in the option
value without trying to parse it.

[Later]

My main DHCP reference, The DHCP Handbook, by Droms and Lemon, says this
about the domain-name option:

    The domain name option specifies only a single domain for name
    resolution. At the time of this writing [7+ years ago --ted], the
    DHC working group was developing a new option that specifies a list
    of domain names used in name resolution.

A little digging turned up RFC 3397, which specifies such an option,
as number 119, domain search.

The current version of ISC DHCP is 3.0.4, released May 5 of this year.
(Fedora Core 5 uses 3.0.3.) I downloaded it, located the source file
containing the option definitions, and found that the name of option
119 there is "unknown-119".


I suggest that you try the kludge I suggested first. It might work. It
might not break on the next ISC DHCP release.


-- 
Ted Powell <[EMAIL PROTECTED]>   http://psg.com/~ted/
"If you don't look, you don't know."
    Dr. Sam Ting, Nobel laureate experimental physicist.


_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to