文件名称:dnsutil:dns挖掘golang
文件大小:12KB
文件格式:ZIP
更新时间:2024-06-04 17:07:53
go dns golang golang-library golang-package
dnsutil Golang DNS dig功能库 go get github.com/lixiangzhong/dnsutil //Normal package main import ( "fmt" "github.com/lixiangzhong/dnsutil" ) func main () { var dig dnsutil. Dig dig . SetDNS ( "8.8.8.8" ) //or ns.xxx.com a , err := dig . A ( "google.com" ) // dig google.com @8.8.8.8 fmt . Println ( a , err ) } //msg package main import ( "fmt" "github.com/lixiangzhong/dnsutil"
【文件预览】:
dnsutil-master
----go.mod(144B)
----go.sum(2KB)
----LICENSE(11KB)
----nameserver.go(499B)
----README.md(3KB)
----dig.go(11KB)
----.gitignore(5B)
----nameserver_windows.go(1KB)
----dig_test.go(2KB)