Class jnamed

java.lang.Object
  extended byjnamed

public class jnamed
extends Object

Author:
Brian Wellington <[email protected]>

Constructor Summary
jnamed(String conffile)
           
 
Method Summary
 void addPrimaryZone(String zname, String zonefile)
           
 void addSecondaryZone(String zone, String remote)
           
 void addTCP(InetAddress addr, int port)
           
 void addTSIG(String algstr, String namestr, String key)
           
 void addUDP(InetAddress addr, int port)
           
 byte[] errorMessage(Message query, int rcode)
           
 Zone findBestZone(Name name)
           
 RRset findExactMatch(Name name, int type, int dclass, boolean glue)
           
 byte[] formerrMessage(byte[] in)
           
 Cache getCache(int dclass)
           
static void main(String[] args)
           
 void serveTCP(InetAddress addr, int port)
           
 void serveUDP(InetAddress addr, int port)
           
 void TCPclient(Socket s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

jnamed

public jnamed(String conffile)
       throws IOException,
              ZoneTransferException
Method Detail

addPrimaryZone

public void addPrimaryZone(String zname,
                           String zonefile)
                    throws IOException
Throws:
IOException

addSecondaryZone

public void addSecondaryZone(String zone,
                             String remote)
                      throws IOException,
                             ZoneTransferException
Throws:
IOException
ZoneTransferException

addTSIG

public void addTSIG(String algstr,
                    String namestr,
                    String key)
             throws IOException
Throws:
IOException

getCache

public Cache getCache(int dclass)

findBestZone

public Zone findBestZone(Name name)

findExactMatch

public RRset findExactMatch(Name name,
                            int type,
                            int dclass,
                            boolean glue)

formerrMessage

public byte[] formerrMessage(byte[] in)

errorMessage

public byte[] errorMessage(Message query,
                           int rcode)

TCPclient

public void TCPclient(Socket s)

serveTCP

public void serveTCP(InetAddress addr,
                     int port)

serveUDP

public void serveUDP(InetAddress addr,
                     int port)

addTCP

public void addTCP(InetAddress addr,
                   int port)

addUDP

public void addUDP(InetAddress addr,
                   int port)

main

public static void main(String[] args)


Copyright © 2011. All Rights Reserved.