Hi Vinnie

I want to write a regression test so that

   Context ctx = NamingManager.getURLContext("dns", new Hashtable<>(0));
   Attributes attrs =((DirContext)ctx).getAttributes(
                     "_kerberos._udp.ASDF.COM.", SRV_RR_ATTR);

can return some entries without querying a real external server.

Is this possible by registering a local name server provider or else?

Thanks
Max

Reply via email to