MCPcopy Create free account
hub / github.com/codingo/bbr / nameServers

Function nameServers

bbr.go:92–95  ·  view source on GitHub ↗

nameServers return output of "dig NS @8.8.8.8 -trace"

()

Source from the content-addressed store, hash-verified

90
91// nameServers return output of "dig NS @8.8.8.8 -trace"
92func nameServers() ([]byte, error) {
93 out, err := exec.Command("dig", "NS", "@8.8.8.8", "trace").Output()
94 return out, err
95}
96
97// digTarget return the output of the dig command for target
98func digTarget() ([]byte, error) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected