biz.neustar.wpm.api
Interface Dns.DnsLookupResponse

Enclosing interface:
Dns

public static interface Dns.DnsLookupResponse


Method Summary
 java.lang.String getDetails()
          Get the full dig style output for this lookup.
 long getQueryTime()
          The time taken to make the DNS query in milliseconds.
 Dns.DnsRecord[] getRecords()
          Gets the records returned for this lookup, can be null.
 boolean isAuthoritative()
          Returns true if the request was made to the authoritative name server
 

Method Detail

getQueryTime

long getQueryTime()
The time taken to make the DNS query in milliseconds.

Returns:
the query time in milliseconds

isAuthoritative

boolean isAuthoritative()
Returns true if the request was made to the authoritative name server

Returns:
true if the response from an authoritative source

getDetails

java.lang.String getDetails()
Get the full dig style output for this lookup.

Returns:
full dig details

getRecords

Dns.DnsRecord[] getRecords()
Gets the records returned for this lookup, can be null.

Returns:
list of DNS records

Copyright © 2020 Neustar, Inc. All Rights Reserved.