Example usage for io.netty.handler.codec.dns DnsRecordType MX

List of usage examples for io.netty.handler.codec.dns DnsRecordType MX

Introduction

In this page you can find the example usage for io.netty.handler.codec.dns DnsRecordType MX.

Prototype

DnsRecordType MX

To view the source code for io.netty.handler.codec.dns DnsRecordType MX.

Click Source Link

Document

Mail exchange record RFC 1035 Maps a domain name to a list of message transfer agents for that domain.

Usage

From source file:io.vertx.core.dns.impl.DnsClientImpl.java

License:Open Source License

@Override
public DnsClient resolveMX(String name, Handler<AsyncResult<List<MxRecord>>> handler) {
    lookupList(name, handler, DnsRecordType.MX);
    return this;
}