OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Update to 22.1.5 removes all Unbound Aliases!
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Update to 22.1.5 removes all Unbound Aliases!  (Read 5700 times)

5SpeedFun

  • Full Member
  • ***
  • Posts: 106
  • Karma: 7
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #15 on: April 12, 2022, 03:50:29 am »
I wonder if the unbound alias dissapearance is the same as what I saw when I was testing a dev version back in feb.  Same issue?  Or just the same symptoms?

https://forum.opnsense.org/index.php?topic=26700.msg132051#msg132051
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 1238
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #16 on: April 12, 2022, 10:00:00 am »
Well, same component, different issue.


Cheers,
Franco
Logged

mnaim

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 4
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #17 on: April 13, 2022, 05:32:30 pm »
Hi, I was on 22.1.5 and aliases were visible. After upgrade to 22.1.6 (and restart) they are gone. Still present in XML in unboundplus section and DNS resolution is ok.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 1238
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #18 on: April 13, 2022, 09:02:30 pm »
Check configuration history, but in general this doesn't match how the migration works... it works from 22.1.4 to 22.1.5 and 22.1.6 changes nothing about that fact.


Cheers,
Franco
Logged

mnaim

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 4
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #19 on: April 13, 2022, 09:24:40 pm »
2.1.6 - downloaded running config and records are there
Aliases page - No results found!

I think it is purely GUI bug.
If I call this API /api/unbound/settings/searchHostAlias/ aliases are returned ok in json.
But when they are called by page, response is {"rows":[],"rowCount":0,"total":0,"current":1}
This is what I see in browser debug-network. Private mode did not helped.
Logged

mnaim

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 4
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #20 on: April 13, 2022, 09:27:26 pm »
Maybe I found error.

When I compare request to /api/unbound/settings/searchHostOverride/ and subsequent /api/unbound/settings/searchHostAlias/ only difference is that first has this request payload current=1&rowCount=7&searchPhrase= and second current=1&rowCount=7&searchPhrase=&host=__not_found__

If I remove &host=__not_found__ and run request, data are returned back successfully.
Logged

mnaim

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 4
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #21 on: April 13, 2022, 09:35:24 pm »
Ah, I think I found new logic - but dont know if it is logic or bug :))

I have to select Host on top to see alias in bottom?
That's terribly counter intuitive - when I want to find alias, I need to click on 50 hosts if some of them have aliases to be displayed.
When nothing is selected on top, all aliases should be displayed.

Even when selecting, there is something wrong. When selected, 2 requests are generated in browser, first is immediately canceled and second pass.
« Last Edit: April 13, 2022, 09:42:38 pm by mnaim »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 1238
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #22 on: April 13, 2022, 09:56:43 pm »
Can you try a different browser to see if it's not a cache issue?


Cheers,
Franco
Logged

mnaim

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 4
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #23 on: April 13, 2022, 10:05:52 pm »
Tried MS Edge and Firefox - same.
Updated 5 Opnsense firewalls and all behave same :/
Logged

mnaim

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 4
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #24 on: April 13, 2022, 10:11:05 pm »
When page is loaded
1) first request with host=__not_found__ is send to server
2) second request with host=GUID of first host is selected in hosts table by default

That's why it is filtering aliases in alias table and all aliases cant be displayed.
Logged

katamadone [CH]

  • Jr. Member
  • **
  • Posts: 93
  • Karma: 11
    • View Profile
Re: Update to 22.1.5 removes all Unbound Aliases!
« Reply #25 on: April 29, 2022, 10:35:07 pm »
https://forum.opnsense.org/index.php?topic=28161.0
https://forum.opnsense.org/index.php?topic=27861.0

should it be fixed with 22.1.6?

or is it maybe a problem that the users didn't realize and have to migrate like stated in https://github.com/opnsense/core/commit/ff11cde38e8 ?
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • Update to 22.1.5 removes all Unbound Aliases!
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2