Code Monkey home page Code Monkey logo

poshdig's Introduction

PoshDig

A wrapper for the command line tool - dig.

Requirements

This module is dependent on dig for Windows. Dig can be downloaded for free from the ISC. Under the Bind section you can download the latest stable version of Bind for Windows. In the zip file there will be a dig.exe

Dig Path

This module requires the path to your dig executable. This can be achieved in one of 2 ways.

The first way is to modify PoshDig.psm1. On line 7 there is a DigPath variable which should be the path to your dig executable.

The second way is to provide the path when you run the Import-Module command. For example you could run Import-Module PoshDig -ArgumentList 'C:\dig\dig.exe'.

Cmdlet

There is only one cmdlet exported on this module and it's Get-DNSRecord. Only one of it's parameters is required which is the hostname. The other parameters allow you to specify which record types to return. By default it will return all of them. You can also specify a specific DNS server, otherwise it will use the one on the local adapter.

poshdig's People

Contributors

ixianpixel avatar

Stargazers

Kristian Thy avatar

Watchers

James Cloos avatar  avatar

Forkers

0xc0re

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.