| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <string> |
| 4 | |
| 5 | |
| 6 | /** Get the FQDN for the local server by resolving DNS hostname - similar to calling the 'hostname' tool with the -f flag. |
| 7 | * If it does not work, return hostname - similar to calling 'hostname' without flags or 'uname -n'. |
| 8 | */ |
| 9 | const std::string & getFQDNOrHostName(); |
| 10 |