WORK AROUND : Getting TrueNAS SCALE Server to Register Hostname With DNS Server

After manually applying an upgrade from from CORE “TrueNAS-13.0-U6.2” to SCALE “Dragonfish-24.04.2”, the Upgraded server server would no longer Register its Hostname With DNS Server.
Before the upgrade, the server would make a DHCP request to the pfSense firewall which had the side effect of registering the TrueNAS with the pfSense’s DNS.

No changes using the TrueNAS User Interface and rebooting would solve the problem.

The workaround solution is to manually edit the /etc/dhcp/dhclient.conf,
comment out the lines :

send fqdn.fqdn ...;
supersede routers ...;
supersede domain-name-servers ...;

and add:

send host-name = gethostname();

Almost seems like a bug to me.

Most of my other systems will send hostname as part of a dhcp request.

I never noticed as I tend to use manual static ip on TrueNAS installs.

The problem is that that “fix” won’t remain after an upgrade

I would suggest logging this as a bug on JIra so that IX can look at it

1 Like

SOLUTION

It was a legacy configuration problem. The following configuration is the fix:

[ Network / Global Configuration / Settings ]
Inherit domain from DHCP = (check)
Domain = (blank)
Additional Domains = (blank)

The legacy configuration was fine on the old CORE system but it is NOT OK on the SCALE system. The SCALE system has a different behavior and must be reconfigured.

1 Like