Giter VIP home page Giter VIP logo

pnotify's Introduction

NAME

pnotify - A simple, portable Perl script for sending DNS NOTIFY packets with TSIG support.

SYNOPSIS

pnotfy [options]

Options:

    --zone=ZONE             The DNS zone
    --class=CLASS           The class (default IN)
    --server=HOST           Host to send the packet to, OR
    --srv=DOMAIN            FQDN to use to construct _dns._udp SRV query
                            to determine which servers to send the 
                            NOTIFY to
    --port=PORT             Destination port to send the packet to (default 53)
    --timeout=TIMEOUT       Timeout in seconds (default 1)
    --tsig-name=NAME        Optional TSIG name
    --tsig-key=KEY          Optional TSIG KEY (only HMAC-MD5 is
                            supported)
    --source=ADDR           Use this source address (optional)
    --help                  Show this help

SENDING MULTIPLE PACKETS

You can send a NOTIFY to a single host using the --server argument. If you provide a value for the --server argumnet, then pnotify will perform a SRV lookup and retrieve a list of servers, and send a packet to each.

For example: if you used --srv=example.com, pnotify will perform a SRV query for _dns._udp.example.com. A NOTIFY packet will then be sent to each host in the response to the SRV query.

OUTPUT

pnotify will print the rcode of the response from each server or "TIMEOUT" to STDOUT.

EXIT CODE

The exit code will be equal to the number of errors observed.

RATIONALE

It is sometimes useful to be able to manually send a NOTIFY packet to a DNS server. There are other tools to do this (eg nsd-notify(8)) but they are not as portable as pnotify, which is a pure Perl script with only a limited range of prerequisites.

REQUIREMENTS

COPYRIGHT

Copyright 2011 CentralNic Ltd. This program is Free Software, you can use it and/or modify it under the same terms as Perl itself.

SEE ALSO

pnotify's People

Contributors

gbxyz avatar seb-at-nzrs avatar spinza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nzrs spinza

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.