# File lib/specinfra/command/freebsd/base/host.rb, line 10
    def get_ipaddress(name)
      # getent hosts will return both the ipv6 and ipv4 record.
      # this will only pick the first one. (Linux behavior)
      "getent hosts #{escape(name)} | awk '{print $1; exit}'"
    end