public class jnamed extends Object
Modifier and Type | Method and Description |
---|---|
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) |
public jnamed(String conffile) throws IOException, ZoneTransferException
IOException
ZoneTransferException
public void addPrimaryZone(String zname, String zonefile) throws IOException
IOException
public void addSecondaryZone(String zone, String remote) throws IOException, ZoneTransferException
IOException
ZoneTransferException
public void addTSIG(String algstr, String namestr, String key) throws IOException
IOException
public Cache getCache(int dclass)
public byte[] formerrMessage(byte[] in)
public byte[] errorMessage(Message query, int rcode)
public void TCPclient(Socket s)
public void serveTCP(InetAddress addr, int port)
public void serveUDP(InetAddress addr, int port)
public void addTCP(InetAddress addr, int port)
public void addUDP(InetAddress addr, int port)
public static void main(String[] args)
Copyright © 2022 dnsjava.org. All rights reserved.