Need to set device to domain other than .local

IPv4/6, Port, VPN, proxy, SSH, remote access and more.
Locked
User avatar
lecce
Posts: 8
Joined: 12 Dec 2023, 05:30

Need to set device to domain other than .local

Post by lecce »

My F2-223 running TOS5 seems to default to TNAS-XXXX.local

My network internally is setup with the domain .local.lan therefore this should be TNAS-XXXX.local.lan

I can't find anywhere in the GUI to change the DNS domain - can anyone advise how this is done?

I believe the "standard" way is to add an alias into /etc/hosts which I presume I would need to do via SSH.

Note I am *note* trying to join an AD domain.
User avatar
Gremlin
Gold Member
Posts: 1628
Joined: 02 Dec 2022, 22:31
Great Britain

Re: Need to set device to domain other than .local

Post by Gremlin »

Can you assign a lan IP using MAC address in your DHCP server? Doing this gives a constant ip (without setting fixed ip) and the dhcp server should assign the .local.lan suffix. Strictly I don't think the 'local.lan' is really neccessary. Most will default to '.local' on it's own.

*Note: when using dhcp assignment use an ip outside of the 'pool'. eg
set pool = 192.168.1.1 - 192.168.1.100
assign device ip = 192.168.1.101 through .254
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
lecce
Posts: 8
Joined: 12 Dec 2023, 05:30

Re: Need to set device to domain other than .local

Post by lecce »

I could use DHCP (though I've not tested to see if TOS actually honours the DHCP DNS domain), but I'd rather not. I tend to be a bit paranoid about over-reliance on DHCP, and assign static addresses to any application/applicance that constitutes critical infrastructure like firewalls, managed switches or NASs.

.local is specifically not recommended for use in various locations, not least https://en.wikipedia.org/wiki/.local - though I fully accept Terramaster are not responsible for poor standards compliance elsewhere!
Locked

Return to “Network”