nameServers return output of "dig NS @8.8.8.8 -trace"
()
| 90 | |
| 91 | // nameServers return output of "dig NS @8.8.8.8 -trace" |
| 92 | func 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 |
| 98 | func digTarget() ([]byte, error) { |