# dnsx — receta Go (Etapa G frente Go). main en ./cmd/dnsx.
name    = "dnsx"
version = "1.2.3"
license = "MIT"

[source]
repo   = "https://github.com/projectdiscovery/dnsx"
commit = "fa3b1876a3b20f93b06fc76a0beaa11a9075e80b"

[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "static"

[deps]
build = ["go"]

[build.phases]
configure = "true"
compile   = "export GOCACHE=/tmp/gocache GOPATH=/tmp/gopath GOTOOLCHAIN=local CGO_ENABLED=0 GOFLAGS=-mod=vendor GOPROXY=off; go build -trimpath -ldflags=-buildid= -o /out/usr/bin/dnsx ./cmd/dnsx"
install   = "true"
