Page 1 of 1

Whole DNS path & Internal Domain question

Posted: Fri May 09, 2014 7:54 am
by mnz
Hello,

I can't connect to my HDA using HDAconnect, again. I've tried these: https://wiki.amahi.org/index.php/Shares_troubleshooting

It could be unrelated to the DNS path, but I'd like to try to connect using the whole DNS path. E.g. \\hda.home.com

However -- and I'm sorry for this stupid question -- I can't find out what the internal domain name is. On the Linux server, dnsdomainname shows nothing. On my Windows machine, there's no internal domain showing either. Is this normal ? is something broken ?

Thanks.

Re: Whole DNS path & Internal Domain question

Posted: Fri May 09, 2014 9:38 am
by bigfoot65
However -- and I'm sorry for this stupid question -- I can't find out what the internal domain name is. On the Linux server, dnsdomainname shows nothing. On my Windows machine, there's no internal domain showing either. Is this normal ? is something broken ?
Thanks.
You can check the domain name by looking at your HDA profile on amahi.org. Whatever you set it at there is what you should use. If it's Amahi 7, by default it will be amahi.net unless you changed it.

The following two command line options are another way:

Code: Select all

cat /etc/resolv.conf | grep 'search' | awk '{ print $2 }'
or

Code: Select all

echo "SELECT value FROM settings WHERE name='domain'" | mysql hda_production -uroot -phda -s)