pansen24 0 Newbie Poster

I want to write a program for DNS query.but i want to specify the DNS server from which i want to get response.Is it possible using java?
please help