# File lib/ohai/plugins/hostname.rb, line 59 def collect_domain # Domain is everything after the first dot if fqdn fqdn =~ /.+?\.(.*)/ domain $1 end end