Comment 10 for bug 1759014

Alan Johnson (awj) wrote :

I also cannot think of a good use case for such a configuration, but that could just mean that I am not sufficiently creative or experienced. I also prefer configuration that is straightforward and doesn't have magic dependencies between settings (or at least as few as possible.

Also, UseDNS is only one of the many settings to consider, and it seems they should be handled in a uniform way.

I've attached a patch that adds a "dhcp-options" mapping that supports "use-dns" and "use-ntp". If this seems like an acceptable way to go I'm happy to extend it to include all of the networkd settings.