On Tue, Sep 24, 2019 at 08:11:00AM +0000, Carlos Lopez wrote:
> When I try to configure multiple search DNS suffixes in dhcpd.conf, I
> am receiving the following error:
> 
> /etc/dhcpd.conf line 21:
>       option domain-search "custom.domain.org"
>              ^
> fatal in dhcpd: Configuration file errors encountered
> 
> According to man page:

To avoid ambiguity you should always state explicitly to which man page
you are referring. In this case you're not quoting dhcpd.conf(5) but
dhcp-options(5).

> option domain-search rfc1035; | string [, string ...];
>         [...]
>         Note that dhcpd(8) calls this option option-119 instead of
>         domain-search and only supports the rfc1035 variant.
>         [...]

This is it! Change

        option domain-search "custom.domain.org"

to

        option option-119 "custom.domain.org"

and you should be good to go.

Regards,
Erling Westenvik

Reply via email to