On Tue, Sep 24, 2019 at 11:43:02AM BST, Rudolf Leitgeb wrote:
> 
> I was unable to figure out, what exactly is meant with RFC1035 type
> string, but came to the conclusion, that dhcpd in its current iteration
> only supports one domain name here. Oh well.
> 
> Cheers,
> 
> Rudi
> 

Hi Rudi,

It does support more that one domain name, at least according to
this commit[0]:

        The
        .Ar rfc1035
        data type specifies a list of domain names compressed
        as described in Section 4.1.4 of RFC 1035.
        The compressed list takes the form of a series of
        octets specified in hexadecimal, separated by colons.

You can find the limits on the RFC 1035 page[1] - section 2.3.4.

BTW, in OpenBSD 6.6, domain-119 option has been renamed to domain-search[2]
and does not have the above limitation[3].

[0] 
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/dhcp-options.5.diff?r1=1.27&r2=1.28&sortby=date&f=h
[1] https://tools.ietf.org/html/rfc1035
[2] 
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/dhcp-options.5.diff?r1=1.29&r2=1.30&sortby=date&f=h
[3] 
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/dhcpd/dhcp-options.5.diff?r1=1.30&r2=1.31&sortby=date&f=h

Regards,

Raf

Reply via email to