ip-reverser
v1.0.0
Published
Reverses IP address to format used by PTR/reverse records and DNSBL
Downloads
106
Readme
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.