Java - Strange nslookup issue via DNS

view full story

http://www.unix.com – Hello All, I have a strange issue where by 'nslookup webservices.extcompany.com' will resolve name to IP correctly. However when I run the below code (java) it returns an exception basically complaining it's not able to resolve name to ip. Oddly enough if I then issue another 'nslookup webservices.extcompany.com' I receive the following output for a duration of exactly ten minutes after which nslookup commences successfully. ** server can't find webservices.specificdomain.com: NXDOMAIN The lookups are to an external DNS server are hosted by extcompany in. The nslookup returns one of two ip (HowTos)