-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot set up DNS in the X-UI configuration #101
Comments
Hi there @Nightmarest ! Please refer the following code snippet and customize it according to your dns severs. "dns": {
"hosts": {
"dns.google": [
"8.8.8.8",
"8.8.4.4"
],
"dns.pub": "119.29.29.29",
"dns.alidns.com": "223.5.5.5"
}," Use it after the api segment |
Okay. I am try this later |
it does not work It prevents you from making absolutely NO changes to the file. Even if I want to change the connection settings somewhere, it will roll back everything again P.S. - Check file json.go |
I'm facing the same issue trying to use pi-hole and x-ui together |
@NidukaAkalanka @Nightmarest @MrAliSalehi I tried modifying the database directly by installing (
I've seen the file change after restarting the x-ui; however the clients don't seem to be using the DNS servers. |
Welcome
Description of the problem,screencshot would be good
I cannot set up this configuration. I check the official V2RAY documentation, but the config.json installed from your panel, after any "dns: null" changes and further panel restart, just resets the configuration file back
config:
Version of x-ui
x-ui log or xray log
The text was updated successfully, but these errors were encountered: