Description

AddDomain adds origin to s if s is not already a FQDN. Note that the result may not be a FQDN. If origin does not end with a ".", the result won't either. This implements the zonefile convention (specified in RFC 1035, Section "5.1. Format") that "@" represents the apex (bare) domain. i.e. AddOrigin("@", "foo.com.") returns "foo.com.".

AddOrigin is referenced in 1 repository

github.com/miekg/dns