OneLogicalMyth / PowerShell-DNSQuery

Performs an A record DNS query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send-DNSQuery

Performs an A record DNS query, using System.Net.Sockets.Socket and building a UDP packet.

Why?:

In PowerShell 2 there was no way to direct your DNS query to a custom server. In PowerShell 3 and higher this was resolved when Resolve-DNSName was introduced.

NOTE:

This currently only sends the packet to the DNS server and does not retrieve a result. Will add in the support for retriving the result later.

About

Performs an A record DNS query

License:GNU General Public License v3.0


Languages

Language:PowerShell 100.0%