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?


Thanks,
Tarun

On Wed, Apr 15, 2020, 08:58 Lennart Poettering <mzerq...@0pointer.de> wrote:

> On Di, 14.04.20 21:00, Tarun Chinmai Sekar (tse...@asu.edu) wrote:
>
> > Hello Systemd-devel,
> > I'm building a small project that runs a dns proxy that listens on a tun
> > device, and I would like to redirect dns queries for some domains to be
> > redirected to this proxy. I am currently running sytemd-237 on ubuntu
> > 18.04. I am seeing a limitation where systemd-resolved doesn't read more
> > than 32 domains, when passed by the --set-domain option, or when more
> than
> > 32 domains are specified in the /etc/network/tun0.network file. Is this a
> > known limitation? Are there any workarounds for this?
>
> We enforce limits on all resources, it's a matter of writing safe
> code. The 32 limit we took from thin air, because we had to use some
> value. If this is too little for some application IRL then by all
> means please file an issue on github to raise it, and we'll raise
> it. Even better, post a PR for it on github, if you actually want it
> done soon.
>
> Lennart
>
> --
> Lennart Poettering, Berlin
>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to