13U1 if 'Additional Domains' are specified, the primary domain is not searched

Description

I have a primary domain I'll call primary.local and an additional domain I'll call additional.local.
additional.local is specified in Network > Global Configuration > Additional Domains

Prior to 13U1, the /etc/resolv.conf would look like this and I could reach any device on the network from both domains (without specifying the domain):

#Generated by resolvconf
search primary.local additional.local
nameserver 192.168.250.3

 

In 13.U1, the resolv.conf now looks like this (primary domain removed from search):

#Generated by resolvconf
domain primary.local
search additional.local
nameserver 192.168.250.3

In this scenario, I now need to specify the domain name for devices in my primary domain, but I don't have to for my additional domain.

Note that if I unconfigure 'Additional Domains', then I can reach devices on my primary domain without adding the domain name.

My work-around is to put both my primary and additional domain in the 'Additional Domains' field (then both domains are searchable), which then looks like this:

#Generated by resolvconf
domain primary.local
search primary.local additional.local
nameserver 192.168.250.3

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk July 26, 2022 at 6:44 PM

Michelle Johnson July 20, 2022 at 3:12 PM

Thank you for your submission, !

This issue ticket is now in the queue for review. An Engineering representative will update with further details or questions in the near future.

DENNY VANDEMAELE July 20, 2022 at 3:00 PM

Yes, I am reporting this to verify this is the expected behavior. Will attach a debug. In the debug I will have it configured with only the additional domain listed in the ‘Additional Domains’ and leave the primary domain out.

Michelle Johnson July 20, 2022 at 12:26 PM

Thank you for your report, !

It appears you resolved the issue with your domains being searchable. Are you reporting this to verify this is the expected behavior in this release? If you believe this is a bug, please attach a debug file to this issue ticket. All tickets are private now so your private information is safe. Click on the Attach button at the top of this ticket to attach the file.

To generate a debug file on TrueNAS CORE, log in to the TrueNAS web interface, go to System > Advanced, then click Save Debug and wait for the file to download to your local system.

Complete

Details

Assignee

Reporter

Labels

Impact

Medium

Original estimate

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created July 19, 2022 at 3:13 PM
Updated February 27, 2025 at 10:24 PM
Resolved July 26, 2022 at 6:46 PM