com.eurotech.framework.linux.net.dns
Class LinuxDns

java.lang.Object
  extended by com.eurotech.framework.linux.net.dns.LinuxDns

public class LinuxDns
extends Object


Method Summary
 void addDnsServer(IPAddress serverIpAddress)
           
 List<IPAddress> getDhcpDnsServers(String interfaceName, IPAddress address)
           
 List<IPAddress> getDnServers()
           
static LinuxDns getInstance()
           
 String[] getPppDnServers()
           
 boolean isPppDnsSet()
           
 void removeDnsServer(IPAddress serverIpAddress)
           
 void setPppDns()
           
 void unsetPppDns()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LinuxDns getInstance()

getDnServers

public List<IPAddress> getDnServers()

getPppDnServers

public String[] getPppDnServers()

getDhcpDnsServers

public List<IPAddress> getDhcpDnsServers(String interfaceName,
                                         IPAddress address)
                                  throws EsfException
Throws:
EsfException

removeDnsServer

public void removeDnsServer(IPAddress serverIpAddress)

addDnsServer

public void addDnsServer(IPAddress serverIpAddress)

setPppDns

public void setPppDns()
               throws Exception
Throws:
Exception

unsetPppDns

public void unsetPppDns()
                 throws Exception
Throws:
Exception

isPppDnsSet

public boolean isPppDnsSet()
                    throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.