com.eurotech.framework.net.dns
Interface DnsServerConfig

All Superinterfaces:
NetConfig
All Known Subinterfaces:
DnsServerConfig4, DnsServerConfig6
All Known Implementing Classes:
DnsServerConfigIP, DnsServerConfigIP4, DnsServerConfigIP6

public interface DnsServerConfig
extends NetConfig

The placeholder for all DNS proxy servers

Author:
eurotech

Method Summary
 List<? extends NetworkPair<? extends IPAddress>> getAllowedNetworks()
          returns the allowed networks for resolving DNS queries
 List<? extends IPAddress> getForwarders()
          returns the DNS forwarders associated with this DnsServerConfig
 
Methods inherited from interface com.eurotech.framework.net.NetConfig
isValid
 

Method Detail

getForwarders

List<? extends IPAddress> getForwarders()
returns the DNS forwarders associated with this DnsServerConfig

Returns:
a List of DNS forwarders

getAllowedNetworks

List<? extends NetworkPair<? extends IPAddress>> getAllowedNetworks()
returns the allowed networks for resolving DNS queries

Returns:
a List of NetworkPair representing the networks that are allowed to perform DNS queries


Copyright © 2013. All Rights Reserved.