Skip to content

TuuuNya/rapiddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rapiddns

A unofficial Java library for rapiddns.io

Thanks to RapidDNS

Usage

Maven引入

<dependency>
    <groupId>com.secforfun</groupId>
    <artifactId>rapiddns</artifactId>
    <version>1.0.0</version>
</dependency>

示例

package com.test;

import com.secforfun.Rapiddns;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        List<String> domains = Rapiddns.getSubdomains("qunar.com");
        System.out.println("Subdomains size of qunar.com: " + domains.size());

        List<String> domainsByIp = Rapiddns.getSameIpDomains("52.74.223.119");
        System.out.println("Domains size of IP: " + domainsByIp.size());
    }
}

About

A unofficial Java library for rapiddns.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages