Class 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