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) |
<T extends Record> |
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
IOExceptionZoneTransferExceptionpublic void addPrimaryZone(String zname, String zonefile) throws IOException
IOExceptionpublic void addSecondaryZone(String zone, String remote) throws IOException, ZoneTransferException
IOExceptionZoneTransferExceptionpublic void addTSIG(String algstr, String namestr, String key) throws IOException
IOExceptionpublic Cache getCache(int dclass)
public <T extends Record> RRset findExactMatch(Name name, int type, int dclass, boolean glue)
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 © 2021 dnsjava.org. All rights reserved.