mirror of
https://github.com/elisspace/core.git
synced 2026-10-05 00:36:19 +00:00
* Resolve hosts for fritzbox_callmonitor If the configuration supplied "host" is not an IP address, try resolving it * always use gethostbyname Instead of just checking whether it is an IP and if it isn't try to resolve; just resolve it; IPs will be returned unchanged, and hostnames will be resolved. * Catch error if the hostname cannot be resolved * Don't fallback to default host If the hostname cannot be resolved; don't try to fallback; just print the error message. * Fail setup if hostname cannot be resolved If the hostname cannot be resolved, log an error and stop the setup; no entities will be then created.