com.eurotech.framework.linux.net.dns
Class LinuxDns
java.lang.Object
com.eurotech.framework.linux.net.dns.LinuxDns
public class LinuxDns
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.