June 17, 201115 yr Excellent identity crisis example. The source is kind of a mess. Dangerously unclear intent, as if different people kept finding it and adding things, fitting it to their own purpose. But that doesn't happen.
June 20, 201115 yr After a fresh restart, I ran hostname smtp.gmail.com -i , and it still loops back to 127.0.0.1. I don't think hostname is really the best tool to use here. unRAID should really include dig or nslookup at a minimum. DNS Resolution appears to be working in unRAID (demonstrated by the fact that the NTP daemon etc can resolve domains), so why SOCAT isn't resolving DNS, I'm not sure. I think easiest way to sort this is to move the unraid_notify script to send via SSMTP. I should say that unRAID needs a search domain field in DNS settings as well. "hostname" is definitely a bit weird... +!1 on unRAID should really include dig or nslookup at a minimum. I think easiest way to sort this is to move the unraid_notify script to send via SSMTP. Moving to SSMTP would be a pretty good idea, as we all use that for health status/UPS/Preclear, etc. emails. I should say that unRAID needs a search domain field in DNS settings as well. BIG +1 on this, Tom should definitley add this.
June 20, 201115 yr After a fresh restart, I ran hostname smtp.gmail.com -i , and it still loops back to 127.0.0.1. I don't think hostname is really the best tool to use here. unRAID should really include dig or nslookup at a minimum. DNS Resolution appears to be working in unRAID (demonstrated by the fact that the NTP daemon etc can resolve domains), so why SOCAT isn't resolving DNS, I'm not sure. I think easiest way to sort this is to move the unraid_notify script to send via SSMTP. I should say that unRAID needs a search domain field in DNS settings as well. I always use "net lookup" It always returns the external IP if a DNS server and gateway are defined. root@Tower2:~# net lookup smtp.gmail.com 74.125.113.109 I've never use the -i option to hostname, I only ever remember it being used to return the name of the current host. "hostname" is definitely a bit weird... +!1 on unRAID should really include dig or nslookup at a minimum. I think easiest way to sort this is to move the unraid_notify script to send via SSMTP. Moving to SSMTP would be a pretty good idea, as we all use that for health status/UPS/Preclear, etc. emails. I should say that unRAID needs a search domain field in DNS settings as well. BIG +1 on this, Tom should definitley add this.
Archived
This topic is now archived and is closed to further replies.