dig like simple CLI DNS Lookup tool, implemented with .NET Core
scoop install https://raw.githubusercontent.com/guneysus/ndig/master/ndig.jsonCurrently only A, CNAME, TXT and MX records supported.
> ndig -d google.com -t A
Showing A records for google.com
172.217.169.174> ndig -d google.com -t TXT
Showing TXT records for google.com
v=spf1 include:_spf.google.com ~all
facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95
docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e
docusign=1b0a6754-49b1-4db5-8540-d2c12664b289
globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=> ndig -d blog.guneysu.xyz -t CNAME
Showing CNAME records for blog.guneysu.xyz
blog.guneysu.xyz.s3-website.eu-central-1.amazonaws.comNow only plain output implemented. JSON and CSV formatting would be implemented if required.
This is tool developed with .NET Core 3.1.
Since the runtime included in as a consequence the executable became so big.
Without the runtime, it is under 1MB.
This tool born spontaneously while learning the Windows APIs with .NET. Then converted to CLI tool and implemented a simple scoop application manifest to distribute.
NO and should not be. Who needs this tool while dig tool exists on linux repositories?
