vanity: Files | Directories

Command vanity

Command vanity is a web server that serves go-import meta redirects for vanity domains. See "go help importpath" for details.

Vanity reads TXT records for the requested domain to determine the redirect target. For example, if you wish to use as the base of your import path, create an A record that points to a vanity server:	A

Then add a TXT record for each repository that you wish to map:	TXT	"go-import git"	TXT	"go-import hg"

(The author runs a public vanity instance at that you may use for your own redirects. It comes with no SLA, so use at your own risk.)

Written by Andrew Gerrand <>

Package Files



internal/dnsPackage dns implements a full featured interface to the Domain Name System.

Package main imports 16 packages (graph). Updated 2018-08-09. Refresh now. Tools for package owners.