I want to implement traceroute/ping/dns lookup in the my application. For ping i use a ProcessBuilder:
ProcessBuilder processBuilder = new ProcessBuilder("ping", "-c 1", host);
Process process = processBuilder.start();
But how can i use a traceroute and dns lookup? Is it possible without root? Thx.