A D visa allows you to transit through one or more Schengen States to go to Germany.
Once you are in Germany, your visa does not allow you to travel in other Schengen states. You need to apply first for a residence permit. Once you have a resident permit, you are allowed to travel in any other Schengen state.
Could you confirm that your internship will not last more than 3 months?