[systemd-devel] [PATCH] resolved: re-add support for getting local domain from DHCP
Lennart Poettering
lennart at poettering.net
Wed Aug 13 17:04:55 PDT 2014
On Mon, 04.08.14 18:33, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> > Does this make any sense? Opinions?
> Yes, totally makes sense. But the name UseDomains is confusing though.
> IIUC, we have two separate concepts:
> 1. using a specific interface (and a set of DNS resolvers tied to it)
> when resolving specific fqdns (resolve list)
> 2. using specifc fqdns when a single-label name is given (search list)
>
> Your description sounds like DHCP.UseDomains=yes would mean using
> the DHCP-supplied list for 2. I think it should be used for 1 too.
> So maybe there should be
>
> UseDomains=resolve|search|all
>
> (all in case we add futher options later on).
Makes sense, I agree.
Tom, can we get the domain list as an API into sd-network?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list