OPNsense Forum
Archive => 15.7 Legacy Series => Topic started by: Kuragari on October 13, 2015, 12:28:31 pm
-
Hello,
In DNS Resolver i can't change the number of hosts to cache. Normally by default the value is 10,000. If i change the value when i click on save i always go back to 1,000 hosts to cache.
Best regards,
-
Correction, in fact that work but the page is not refreshed when we click on save button. If I click on DNS Resolver then Advanced i show the good parameters.
-
Hi Kuragari,
thanks, this should fix it:
https://github.com/opnsense/core/commit/811a3287d4aa38c713bb299974fd8cb7d4f43670
It'll be in 15.7.17 anyway, but if you could confirm that would be great. :)
Cheers,
Franco
-
Yes i confirm.
The configuration is saved correctly and applied but the configuration file is not read after applied.
Anyway if we click on DNS resolver then advanced the configuration file is read correctly.
-
I'm not sure I understand. I wanted you to try the patch if you can and confirm that it *fixes* your issue, but maybe I misunderstood. :)
-
Ok, sorry, i haven't understand i need to apply the fix.
I see the link and the modification in php file. How can i apply it ?
-
On the box (preferably SSH for copy+paste):
# cd /usr/local/www
# fetch https://raw.githubusercontent.com/opnsense/core/811a3287d4aa38c713bb299974fd8cb7d4f43670/src/www/services_unbound.php
Thanks in advance. :)
-
Sorry, the fix don't work.
I have attached screenshot :
1 --> the fix file from this morning
2 --> make modifications (or not) click on save, OPNSense ask to apply changes
3 --> after applying everything is empty.
Anyway after step 3 if you click on generals settings, then come back in advanced settings the configuration is ok.
-
Okay, sorry, I confused save and apply. Try this instead:
# cd /usr/local/www
# fetch https://raw.githubusercontent.com/opnsense/core/bc0fe3d43957dced04b43ba661ae73cca60b2014/src/www/services_unbound_advanced.php
-
Second fix work perfectly. :)
Thank you.
-
Pas de problème :)