OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] Unbound domain overrides failing since 1.7.1
« previous next »
  • Print
Pages: [1] 2

Author Topic: [SOLVED] Unbound domain overrides failing since 1.7.1  (Read 6533 times)

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
[SOLVED] Unbound domain overrides failing since 1.7.1
« on: June 18, 2018, 05:30:56 pm »
DNS queries to my override domain/server have  been failing consistently (sporadic) since the last update which included unbound 1.7.1

It appears there is a newer version (1.7.2) now of unbound. Maybe that fixes this??

Here is a chart showing the DNS queries failing ever since the last opnsense uppdate.

(red lines are where its failing)

In my efforts too overcome this I have turned TTL for Host cache entries from 15min to 1min. That helps a little I think but does not solve the problem.

Please help!
« Last Edit: July 06, 2018, 07:31:10 am by franco »
Logged

va176thunderbolt

  • Newbie
  • *
  • Posts: 46
  • Karma: 4
  • Nothing is more permanent than a temp solution
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #1 on: June 19, 2018, 12:15:28 pm »
If you’ve configured Cloudflare’s dns (or any other) in Unbound using a port other than 53, you’ll need to add @53 to the end of the dns server up. I ran into this with my overrides - they stopped working after adding the Cloudflare dns over TVs config.
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD

Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #2 on: June 19, 2018, 02:32:08 pm »
I will try adding @53 and see if it makes a difference.

My overide dns is my personal domain name hosted on a VM inside my network. It is resolving fine when I point my clients directly at the dns server.

When the names will not resolve through my opnsense unbound service I restart unbound and they immediately work again.

My override configuration was working perfectly for months and months. The 18.1.9 release included unbound 1.7.1 is the only change to point to.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #3 on: June 21, 2018, 10:48:47 am »
FYI: 1.7.2 was shipped today, after non-reboot update the Unbound service requires a manual restart.


Cheers,
Franco
Logged

AndyX90

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 2
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #4 on: June 21, 2018, 11:10:56 am »
Quote from: erickufrin on June 19, 2018, 02:32:08 pm
I will try adding @53 and see if it makes a difference.

My overide dns is my personal domain name hosted on a VM inside my network. It is resolving fine when I point my clients directly at the dns server.

When the names will not resolve through my opnsense unbound service I restart unbound and they immediately work again.

My override configuration was working perfectly for months and months. The 18.1.9 release included unbound 1.7.1 is the only change to point to.

The *override-feature never worked reliable for me...
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #5 on: June 21, 2018, 01:58:19 pm »
Quote from: franco on June 21, 2018, 10:48:47 am
FYI: 1.7.2 was shipped today, after non-reboot update the Unbound service requires a manual restart.


Cheers,
Franco

Thank you! I have installed the update & rebooted. Will let you know if this has solved the issue.
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #6 on: June 21, 2018, 04:30:07 pm »
The problem does not appear to be resovled in unbound 1.7.2. Made it a few hours before seeing DNS queries to my override are failing.

I have turned up Logging on Unbound to Level 5. Maybe I will see something that can pinpoint the problem. :-/

If I wished to go back to 18.1.8 - what is the procedure - is there a KB article? thx...
« Last Edit: June 21, 2018, 04:34:27 pm by erickufrin »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #7 on: June 22, 2018, 11:00:50 am »
Docs are on your installation:

# man opnsense-revert

More specifically:

# opnsense-revert -r 18.1.8 unbound

Meanwhile 1.7.3 was released, maybe it gives another clue:

http://www.unbound.net/download.html


Cheers,
Franco
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #8 on: June 22, 2018, 03:53:06 pm »
In the Unbound log I am seeing "useless dp but cannot go up, servfail"

It appears #4100 bug listed in the release notes relates to this.

https://github.com/NLnetLabs/unbound/commit/d3866418208f9a16c7bab09b424dbd90a973df0c

https://github.com/NLnetLabs/unbound/commit/53b1e11eba0614fa0c9196edda92d557286fde59

The logfile message I am receiving appears to be the command that is getting hit due to the code above it...

I am no programmer, but to me 1.7.3 looks kinda promising.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #9 on: June 23, 2018, 10:27:06 am »
I can provide a test version of 1.7.3 on Monday to find out :)

Or you can compile your own:

# opnsense-code tools ports
# cd /usr/ports/dns/unbound
# make package deinstall install


Cheers,
Franco
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #10 on: June 23, 2018, 11:54:04 am »
A test version would be great. I have been dealing with this for a little while, so monday or next week for a test version is definetly fine! Thank you
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #11 on: June 25, 2018, 06:21:41 pm »
Here you go, for OpenSSL/amd64:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/latest/All/unbound-1.7.3.txz

or LibreSSL/amd64:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/snapshots/libressl/All/unbound-1.7.3.txz


Cheers,
Franco
Logged

Reiter der OPNsense

  • Full Member
  • ***
  • Posts: 111
  • Karma: 11
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #12 on: June 30, 2018, 10:56:07 am »
Hi Franco,
thanks for the 1.7.3, which fixed another problem I have had since 1.7.2. Behind two boxes I had no more access to OneDrive and the Microsoft Store didn't work anymore (error 0x80072EE7).

Greetings, Stefan
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #13 on: June 30, 2018, 09:26:47 pm »
Hi Stefan,

Good, 1.7.3 will be in 18.1.11 early next week.


Cheers,
Franco
Logged

erickufrin

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Unbound domain overrides failing since 1.7.1
« Reply #14 on: July 05, 2018, 06:23:11 pm »
Want to close the loop on this issue. I have been running 1.7.3 unbound since last friday and have not had a single recurrence of the problem. The issue is solved with 1.7.3 confirmed! Thanks!!

Quote from: franco on June 30, 2018, 09:26:47 pm
Hi Stefan,

Good, 1.7.3 will be in 18.1.11 early next week.


Cheers,
Franco
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] Unbound domain overrides failing since 1.7.1
 

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