|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.net.dns.DnsServerConfigIP<T>
T
- public abstract class DnsServerConfigIP<T extends IPAddress>
Base class for DNS proxy configurations
Constructor Summary | |
---|---|
DnsServerConfigIP(List<T> forwarders,
List<NetworkPair<T>> allowedNetworks)
Creates a DNS configuration with a default set of forwarders and a set of allowed networks |
Method Summary | |
---|---|
List<NetworkPair<T>> |
getAllowedNetworks()
Gets a List of networks that are allowed to make DNS queries |
List<T> |
getForwarders()
Gets the current recursive domain name servers to use to resolve queries |
void |
setAllowedNetworks(List<NetworkPair<T>> allowedNetworks)
Sets a List of networks that are allowed to make DNS queries |
void |
setForwarders(List<T> forwarders)
Sets the current recursive domain name servers to use to resolve queries |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.eurotech.framework.net.NetConfig |
---|
isValid |
Constructor Detail |
---|
public DnsServerConfigIP(List<T> forwarders, List<NetworkPair<T>> allowedNetworks)
forwarders
- The recursive DNS servers to useallowedNetworks
- The LAN networks that are allowed to make queriesMethod Detail |
---|
public List<T> getForwarders()
getForwarders
in interface DnsServerConfig
List
of DNS forwarderspublic void setForwarders(List<T> forwarders)
forwarders
- The recursive DNS servers to usepublic List<NetworkPair<T>> getAllowedNetworks()
getAllowedNetworks
in interface DnsServerConfig
List
of NetworkPair
representing the networks that are allowed to
perform DNS queriespublic void setAllowedNetworks(List<NetworkPair<T>> allowedNetworks)
allowedNetworks
- The LAN networks that are allowed to make queriespublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |