option domain-name-servers

Niall O'Reilly niall.oreilly at ucd.ie
Mon Mar 7 17:05:03 UTC 2016


On 7 Mar 2016, at 16:46, Ryan Gray wrote:

> Hello,
>
> In regards to "option domain-name-servers", does anyone know if you 
> can
> list them on multiple "option" lines instead of in a comma separated 
> list?
>
> I.E.
> Instead of this:
> option domain-name servers 8.8.8.8, 8.8.4.4
>
> Do this:
> option domain-name-servers 8.8.8.8
> option domain-name-servers 8.8.4.4

   Running in test mode (eg: dhcpd -d -t -cf test-dhcpd.conf -lf 
/dev/null)
   seems to indicate that you can, but I suspect that the second 
specification
   will over-ride the first.  This may not be what you need.

   /Niall


More information about the dhcp-users mailing list