Studies seem to suggest that Vitamin D3 plays an important role in production of Defensins, just is it apparently does with the more widely discussed antimicrobial peptides, Cathelicidins (LL-37):
Computational promotor analysis of mouse, rat and human antimicrobial peptide-coding genes
Cutting Edge: 1,25-Dihydroxyvitamin D3 Is a Direct Inducer of Antimicrobial Peptide Gene Expression
Convergence of IL-1beta and VDR activation pathways in human TLR2/1-induced antimicrobial responses
While less discussed than their antimicrobial "cousins", cathelicidins, studies suggest that Alpha and Beta Defensins also play an important role in host defense. Here are a few such studies:
Alpha Defensins (also knowns as Neutrophil Defensins):
The capsule sensitizes Streptococcus pneumoniae to alpha-defensins human neutrophil proteins 1 to 3
Susceptibility of Chlamydia trachomatis to protegrins and defensins
Beta Defensins:
Influences of human beta-defensin 1 on the replication and expression of HPV18 in Hela cell
Isolation and Characterization of Human
-Defensin-3, a Novel Human Inducible Peptide AntibioticHuman beta-defensin-3 promotes wound healing in infected diabetic wounds
Here's an excellent article on the various currently identified defensins and their molecular mechanisms of action:
Studies suggest that in addition to their antimicrobial effects, defensins may also play an important role in regulating immunei responses and inflammationi, as well as in wound repair:

-Defensins (-1, -2, -3, -4) and Cathelicidin LL-37 Induce IL-18 Secretion through p38 and ERK MAPK Activation in Primary Human Keratinocytes