The first workaround will definitely solve the problem, but really this package path should just be added to the existing "sun.jdk" module. Note that the second workaround will not work under 7.1 as the "system" module is being eliminated for various technical reasons.
The suggested solution is to file an enhancement request to add the Sun JNDI DNS package to "sun.jdk".