The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bot::Cobalt::Plugin::Extras::DNS - Issue DNS queries from IRC

SYNOPSIS

 !dns www.cobaltirc.org

## Same as:
 !nslookup www.cobaltirc.org

## Optionally specify a type:
 !dns irc.cobaltirc.org aaaa

## Convert an IPv4 address to its hexadecimal representation:
 !iptohex 127.0.0.1

## Reverse of above:
 !hextoip 7f000001

DESCRIPTION

A Cobalt plugin providing DNS query results on IRC.

Uses POE::Component::Client::DNS for asynchronous lookups.

Also performs some rudimentary address manipulation.

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>