Project

General

Profile

Bug #7690

System Domain Local Zone Type option Redirect is broken

Added by Renato Botelho about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
Target version:
Start date:
07/12/2017
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

If user chose option 'Redirect' on 'System Domain Local Zone Type' in services_unbound.php unbound doesn't start with the following error:

Jul 12 14:28:24 pfs24-amd64-1 unbound: [84655:0] error: local-data in redirect zone must reside at top of zone, not at pfs24-amd64-1.home A 172.16.185.241
Jul 12 14:28:24 pfs24-amd64-1 unbound: [84655:0] fatal error: Could not set up local zones

After that you cannot back it to another option because when Save button is pressed it shows an error saying config file is invalid

Associated revisions

Revision 4541f84d (diff)
Added by Jim Pingle about 3 years ago

Restructure how unbound zone data is written to fix processing of "redirect" zone entries. Fixes #7690
Also corrects some other misc issues for formatting of zone data.
While here, add an option, not exposed in the GUI, for users to get the previous behavior of defining short names for hosts.

Revision 021332fa (diff)
Added by Jim Pingle about 3 years ago

Restructure how unbound zone data is written to fix processing of "redirect" zone entries. Fixes #7690
Also corrects some other misc issues for formatting of zone data.
While here, add an option, not exposed in the GUI, for users to get the previous behavior of defining short names for hosts.

Revision 324bbc3f (diff)
Added by Jim Pingle about 3 years ago

Restructure how unbound zone data is written to fix processing of "redirect" zone entries. Fixes #7690
Also corrects some other misc issues for formatting of zone data.
While here, add an option, not exposed in the GUI, for users to get the previous behavior of defining short names for hosts.

(cherry picked from commit 021332fa29f0c08bff833ce1c7ddcb9ac9a769b1)

History

#1 Updated by Jim Pingle about 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to Confirmed

Still needs the fix ported to 2.3.x, it did not cherry-pick cleanly.

#3 Updated by Jim Pingle about 3 years ago

  • Status changed from Confirmed to Feedback

#4 Updated by Renato Botelho about 3 years ago

  • Status changed from Feedback to Resolved

Works

Also available in: Atom PDF