Page 1 of 1

Need to set device to domain other than .local

Posted: 12 Dec 2023, 05:58
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.

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

Posted: 12 Dec 2023, 23:26
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

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

Posted: 13 Dec 2023, 00:40
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!