Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostname should be FQDN #22

Open
jordantrizz opened this issue Sep 19, 2022 · 0 comments
Open

Hostname should be FQDN #22

jordantrizz opened this issue Sep 19, 2022 · 0 comments

Comments

@jordantrizz
Copy link

Thank you for outputting the hostname in your plugin. However, it seems only to be outputting the short name versus the FQDN (fully qualified domain name). The FQDN provides much more information; you can run hostname -f for the FQDN on a Linux server. The following stack overflow thread explains how to get the FQDN.

https://stackoverflow.com/questions/25621068/how-to-get-current-system-fqdn-in-php-cli

php -r "echo gethostbyaddr(gethostbyname(gethostname()));"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant