|Think about Loose Coupling|
Re^2: Getting the FQDN using Net::Domainby nickolsen (Initiate)
|on Jan 26, 2012 at 09:30 UTC||Need Help??|
Thanks for your reply and especially for mentioning the bug report.
How exactly?As you can see in my example (and in the bugreport):
The "search" block contains only the local domain part by default, but it can be changed to whatever suits your needs. Therefor the module relies on information which might be right but don't have to be.
Sys::Hostname is not an option for me, as I need to know the FQDN and not only the host-part of the hostname. It calls "uname -n" , which does not have to know the domain-part.
Here's another example:
Anyways, the bug report completely describes my issue, so maybe things will get fixed soon.