This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

make domain name optional in general setup

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
silicium
NewUser
NewUser
Posts: 3
Joined: 04 May 2014 00:00
Status: Offline

make domain name optional in general setup

Post by silicium »

As not everybody has a static domain name from ISP, it should not be mandatory to enter a domain name after hostname.
I stumbled on bug #175 "ProFTPd: Changes could not be applied (Error code 1)" when not using domain name, and prefer empty domain name instead of 'local', until I can afford a business ISP.
Before making system.php allowing empty domain and creating /etc/hosts with static or dynamic IP address and hostname, to fix ProFTPd startup failure, create /etc/hosts right before starting it. Insert the following line into /etc/rc.d/proftpd at the beginning of the mkconf function:
echo `ifconfig vge0 inet | tail -1 | awk '{ print $2 }'` `hostname` >>/etc/hosts
(replace vge0 with your network interface name, or better fetch it from configuration)

User avatar
Lee Sharp
Advanced User
Advanced User
Posts: 251
Joined: 13 May 2013 21:12
Contact:
Status: Offline

Re: make domain name optional in general setup

Post by Lee Sharp »

Not using .local is your choice, but it is the official standard for networks without a domain name. http://en.wikipedia.org/wiki/.local However, you can use a your dynamic dns domain (no-ip.com) or just make something up. But networking assumes a fully qualified domain name.

Post Reply

Return to “Suggestions & Requests”