[SOLVED] DNS Resolver Number of hosts to cache issue

Started by Kuragari, October 13, 2015, 12:28:31 PM

Previous topic - Next topic
October 13, 2015, 12:28:31 PM Last Edit: October 15, 2015, 08:38:00 PM by franco
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 ?


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.