[systemd-devel] Systemd-resolved: --set-domains limited to 32 domains

Lennart Poettering lennart at poettering.net
Thu Apr 16 10:28:05 UTC 2020


On Mi, 15.04.20 13:46, Tarun Chinmai Sekar (tsekar at asu.edu) wrote:

> Hello Lennart,
> Thank you for the quick response. I'd love to submit a PR to increase the
> limit. Can you please point me to right parts of the code?

Look for LINK_SEARCH_DOMAINS_MAX and MANAGER_SEARCH_DOMAINS_MAX in the
sources.

But be aware of this:

https://github.com/systemd/systemd/commit/b950ee06e647d753db2047c1bb5345c94391be3e

i.e. maybe just update to a newer systemd-resolved, as the limit was
already bumped to 256 back in 2018.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list