Implementing a DNS server using Java RMI. Created two servers for different domains. One is an iterative approach while the other is a recursive approach.
Start Java RMI registry
$rmiregistry &
Running Servers :
$Java Server R Layer1.txt 1 8888 $Java Server R Layert.txt 2 8888
Running Client :
$java Client Server1_ip port input_file