Ticket #6 (closed task: fixed)
DNS and Reverse DNS Lookups
| Reported by: | tobias382 | Owned by: | tobias382 |
|---|---|---|---|
| Priority: | normal | Component: | plugins |
| Version: | 1.5 | Severity: | normal |
| Keywords: | Cc: |
Description
When a user sends a message of the format 'dns %' where % is a domain name, the bot executes gethostbyname() and sends a message back to the channel with its return value (the corresponding IP address or 'DNS lookup failed' if one could not be found).
When a user sends a message of the format 'revdns %' where % is an IP address, the bot executes gethostbyaddr() and sends a message back to the channel with its return value (the corresponding host name or 'DNS lookup failed' if one could not be found).
Change History
Note: See
TracTickets for help on using
tickets.