dns-client

Compact DNS client library intended primary for network utilities and testing applications

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

com.kendamasoft
Идентификатор

Идентификатор

dns-client
Последняя версия

Последняя версия

1.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

dns-client
Compact DNS client library intended primary for network utilities and testing applications
Ссылка на сайт

Ссылка на сайт

https://github.com/stariy95/dns-client
Система контроля версий

Система контроля версий

https://github.com/stariy95/dns-client

Скачать dns-client

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.kendamasoft/dns-client/ -->
<dependency>
    <groupId>com.kendamasoft</groupId>
    <artifactId>dns-client</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.kendamasoft/dns-client/
implementation 'com.kendamasoft:dns-client:1.1.0'
// https://jarcasting.com/artifacts/com.kendamasoft/dns-client/
implementation ("com.kendamasoft:dns-client:1.1.0")
'com.kendamasoft:dns-client:jar:1.1.0'
<dependency org="com.kendamasoft" name="dns-client" rev="1.1.0">
  <artifact name="dns-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.kendamasoft', module='dns-client', version='1.1.0')
)
libraryDependencies += "com.kendamasoft" % "dns-client" % "1.1.0"
[com.kendamasoft/dns-client "1.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

DNS Client

Verify build Maven Central

Compact DNS client library intended primary for network utilities and testing applications. It is fully compatible with Android 2.3 and newer and with standalone JRE 7 and newer.

Release Notes

1.1.0

  • Initial support for DNS-over-HTTPS protocol
  • Support additional records types

1.0.0

  • Initial release

Installation:

Gradle

dependencies {
    compile 'com.kendamasoft:dns-client:1.1.0'
}

Maven

<dependency>
   <groupId>com.kendamasoft</groupId>
   <artifactId>dns-client</artifactId>
   <version>1.1.0</version>
</dependency>

Usage:

import java.io.IOException;
import com.kendamasoft.dns.protocol.*;

public class DnsTest {

    static public void main(String... args) throws IOException {
        Message request = new MessageBuilder()
                .setName("example.com")
                .setType(RecordType.ANY)
                .build();

        Message response = new DnsConnectionAuto().doRequest(request);
        for (ResourceRecord record : response.getAllRecords()) {
            System.out.println(record);
        }
    }
}

Версии библиотеки

Версия
1.1.0
1.0.0
0.9.5
0.9.4