ip-reverser

    1.0.0 • Public • Published

    ip-reverser

    Reverses IP address to format used by PTR/reverse records and DNSBL

    Usage

    const ipReverser = require("ip-reverser");
     
    function dnsNameGen(x) {
      return ipReverser(x, "ipv4", "ipv6");
    }
     
    console.log(dnsNameGen("1.1.1.1"));
    console.log(dnsNameGen("2606:4700:4700::1111"));

    See test.js for more details.

    Keywords

    none

    Install

    npm i ip-reverser

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    BSD-2-Clause

    Unpacked Size

    3.52 kB

    Total Files

    6

    Last publish

    Collaborators

    • theel0ja