Check according to rfc1035
Check according to rfc1035

Update doc string to match function

DavidS/puppetlabs-stdlib,jbondpdx/puppetlabs-stdlib,fuel-infra/puppetlabs-stdlib,yadavnikhil/puppetlabs-stdlib,puppetlabs/puppetlabs-stdlib,HelenCampbell/puppetlabs-stdlib