Hi,

I stumbled across this bug because I tried to implement domain-search
for me and did also get the "Invalid domain list." error.

On Fri, Feb 01, 2008 at 05:23:46PM -0700, Neil Mayhew wrote:
> 0130   07 77 30 77 79 63 6c 69 66 66 65 2e 63 61 20 63  .w0wycliffe.ca c
> 0140   61 6c 2e 77 79 63 6c 69 66 66 65 2e 63 61 20 64  al.wycliffe.ca d
> 0150   68 63 70 2e 63 61 6c 2e 77 79 63 6c 69 66 66 65  hcp.cal.wycliffe
> 0160   2e 63 61 2c 04 ac 10 01 08 ff                    .ca,......

Neil: Looks like this data is not correctly encoded according to RFC
3397. Perhaps this is why this error occurs. What DHCP server are you
running?

Andrew: For me, this is reproducible as follows:
My DHCP client runs on Debian unstable, i.e. dhcp3-client 3.1.1-1, which
supports the domain-search option.
My DHCP server runs on Debian stable, i.e. dhcp3-server 3.0.4-13, which
does not support the domain-search option. Thus, I tried to define it as
        option domain-search code 119 = text;
in my dhcpd.conf and subsequently added a
        option domain-search "foo.com bar.org";
This way I'm getting the "Invalid domain list." error on the DHCP
client. And, of course, since dhclient3 cannot decode the domain list,
it does also not appear in dhclient-script.debug.

RFC 3397 defines the search list to be encoded as defined in RFC 1035.
Newer dhcp3-server define a new domain-list data-type for that. I'm not
sure if this data-type can be emulated on older versions.


regards
   Mario
-- 
Good, Fast, Cheap: Pick any two (you can't have all three).
                                            -- RFC 1925, 7a

Attachment: signature.asc
Description: Digital signature

Reply via email to