Project

General

Profile

Actions

Bug #14942

closed

DNS Resolver host overrides ignore all aliases if first entry has a domain set but no hostname

Added by Jon Brown 6 months ago. Updated 26 days ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
DNS Resolver
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.03
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
All

Description

I am not sure this is normal behaviour but might stem from code to control input.

I tried this with multiple alias and it seems that if the parent domain (example.com) is the first entry when the primary HO entry is a sub-domain of it, then the alias are all wiped. IF the parent domain (example.com) is any entry but the top one, then the alias all remain.

This works

  • Create a Host Override entry
  • Create alias, parent domain (example.com) last or just not first entry.
  • Alias appear as they should

Alias are all wiped

  • Create a Host Override entry
  • Create alias, parent domain (example.com) first
  • The primary HO entry stays but all of the alias are wiped

Files

1-HO-Entry-created.png (3.88 KB) 1-HO-Entry-created.png Jon Brown, 11/03/2023 09:52 AM
2-HO-Entry-Alias-create.png (23.5 KB) 2-HO-Entry-Alias-create.png Jon Brown, 11/03/2023 09:53 AM
3-HO-alias-still-present.png (12.7 KB) 3-HO-alias-still-present.png Jon Brown, 11/03/2023 09:54 AM
4-Error-Entered-alias-root-first.png (23.5 KB) 4-Error-Entered-alias-root-first.png Jon Brown, 11/03/2023 09:56 AM
5-Error-alias-removed.png (4.27 KB) 5-Error-alias-removed.png Jon Brown, 11/03/2023 09:58 AM
clipboard-202403231026-lxiff.png (11.7 KB) clipboard-202403231026-lxiff.png Lev Prokofev, 03/23/2024 06:26 AM
clipboard-202403301748-bwlpi.png (109 KB) clipboard-202403301748-bwlpi.png Lev Prokofev, 03/30/2024 01:48 PM
Actions #1

Updated by Lev Prokofev 6 months ago

Can confirm this behavior tested on

23.09-RC (amd64)
built on Fri Oct 27 4:51:00 MSK 2023
FreeBSD 14.0-CURRENT
Actions #2

Updated by Jim Pingle 6 months ago

  • Target version set to 2.8.0
  • Plus Target Version set to 24.03

Just to note - this isn't a new bug/regression. I can reproduce it on 22.05, but I didn't go back any farther than that.

Actions #3

Updated by Jim Pingle about 2 months ago

  • Assignee set to Jim Pingle
Actions #4

Updated by Jim Pingle about 1 month ago

  • Subject changed from Host Overrides - All alaises for the entry are wiped out if you do this to DNS Resolver host overrides ignore all aliases if first entry has a domain set but no hostname
Actions #5

Updated by Jim Pingle about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #6

Updated by Lev Prokofev about 1 month ago

The patch fixed the behavior. I think the issue can be marked as resolved.

tested on

23.09.1-RELEASE (amd64)
built on Wed Dec 20 21:27:00 MSK 2023
FreeBSD 14.0-CURRENT

Actions #7

Updated by dylan mendez about 1 month ago

Can confirm the patch is working correctly on 23.09.1

Actions #8

Updated by Jim Pingle about 1 month ago

  • Status changed from Feedback to Resolved
Actions #9

Updated by Lev Prokofev 28 days ago

I think it should be re-opened, I noticed that after the patch you can't add host override without setting the alias "The field Alias Domain is required."

Actions #10

Updated by Danilo Zrenjanin 28 days ago

I couldn't replicate the issue on 24.09 - BETA

Actions #11

Updated by Lev Prokofev 28 days ago

Tested on the latest 23.04 build, the error did not occur.

24.03-BETA (amd64)
built on Fri Mar 29 6:00:00 UTC 2024
FreeBSD 15.0-CURRENT

Actions #12

Updated by Jim Pingle 26 days ago

Lev Prokofev wrote in #note-9:

I think it should be re-opened, I noticed that after the patch you can't add host override without setting the alias "The field Alias Domain is required."

You probably only applied the first commit, there are two (check the "Associated Revisions" tab).

Actions

Also available in: Atom PDF