alireza0 / s-ui

An advanced Web Panel • Built for SagerNet/Sing-Box
https://t.me/XrayUI
GNU General Public License v3.0
2.11k stars 304 forks source link

[Bug]: "missing address_resolver" #159

Closed radiumatic closed 2 weeks ago

radiumatic commented 3 weeks ago

Describe the bug A clear and concise description of what the bug is.

The panel doesn't add "address_resolver" property to DNS specified by User, resulting in the error "missing address_resolver" and sing-box refusing to start.

To Reproduce Steps to reproduce the behavior:

  1. Try to set a DNS server that isn't IPv4/IPv6. Eg. DoH

Expected behavior A clear and concise description of what you expected to happen.

DNS being set and sing-box running.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

[Irrelevant]

Smartphone (please complete the following information):

Not smartphone, but s-ui version v0.0.5.

Additional context Add any other context about the problem here.

alireza0 commented 2 weeks ago

It is added to the project. You can use it in next version.