]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolve: bump *_SEARCH_DOMAIN_MAX to 1024
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 30 Jul 2025 11:57:56 +0000 (20:57 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 30 Jul 2025 17:57:09 +0000 (18:57 +0100)
commit0d229ef10241af296dbf1c070fc7ff3ec29bc3de
tree371c3d5c937184a55824d283c0763e4679ed1f64
parentbd9ea0f691d3f258a92eff7c870ebb2e214ccdcd
resolve: bump *_SEARCH_DOMAIN_MAX to 1024

As prompted by #38393, search domains may be large when a complicated
network setting is used, especially when VPN is used. Let's bump the
limit to 1024.

Note, this does not bump the maximum number of DNS servers, as setting
thousands of DNS servers is spurious and mostly meaningless. Let's keep
the maximum for a while until someone requests to also bump them.

Continuation of b950ee06e647d753db2047c1bb5345c94391be3e.

Closes #38393.
src/resolve/resolved-dns-delegate.h
src/resolve/resolved-link.h
src/resolve/resolved-manager.h