dnsproxy: fix set hosts options
authorTianling Shen <redacted>
Mon, 23 Sep 2024 07:12:53 +0000 (15:12 +0800)
committerTianling Shen <redacted>
Mon, 23 Sep 2024 10:18:47 +0000 (18:18 +0800)
commite691db0046a4ad54d9761e2c723029864fc349e7
tree9599cf92609e63b528919ac187e5b9df48943f30
parent99c28c28d2bfa976a52d66fae8630fb2823bf583
dnsproxy: fix set hosts options

1. Mount hosts files since the daemon is in ujail
2. Set hosts options at last as all other options set after it will
   be ignored

Drop redundant reload_service func while at it.

Fixes: ecdf98767e03 ("dnsproxy: add hosts configurations")
Signed-off-by: Tianling Shen <redacted>
net/dnsproxy/Makefile
net/dnsproxy/files/dnsproxy.init
git clone https://git.99rst.org/PROJECT