Package org.minidns.minidnsrepl
Class MiniDnsRepl
- java.lang.Object
-
- org.minidns.minidnsrepl.MiniDnsRepl
-
public class MiniDnsRepl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static LruCache
DEFAULT_CACHE
static DnsClient
DNSCLIENT
static DnssecClient
DNSSECCLIENT
static IterativeDnsClient
ITERATIVEDNSCLIENT
-
Constructor Summary
Constructors Constructor Description MiniDnsRepl()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearCache()
static void
init()
static void
main(java.lang.String[] args)
static void
writeToFile(DnsMessage dnsMessage, java.lang.String path)
-
-
-
Field Detail
-
ITERATIVEDNSCLIENT
public static final IterativeDnsClient ITERATIVEDNSCLIENT
-
DNSSECCLIENT
public static final DnssecClient DNSSECCLIENT
-
DEFAULT_CACHE
public static final LruCache DEFAULT_CACHE
-
-
Constructor Detail
-
MiniDnsRepl
public MiniDnsRepl()
-
-
Method Detail
-
init
public static void init()
-
clearCache
public static void clearCache() throws java.lang.SecurityException, java.lang.IllegalArgumentException
- Throws:
java.lang.SecurityException
java.lang.IllegalArgumentException
-
main
public static void main(java.lang.String[] args) throws java.io.IOException, java.lang.SecurityException, java.lang.IllegalArgumentException
- Throws:
java.io.IOException
java.lang.SecurityException
java.lang.IllegalArgumentException
-
writeToFile
public static void writeToFile(DnsMessage dnsMessage, java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
-