I've never heard of dill being used to repel any insects, but I do know that nasturtium will help keep away cucumber beetles away.
Here's a list of companion plants and plants that help to repel insects from
Countrybrook Farms Nursery & Garden Center in New Hampshire
Fran
Allium ~ repels aphids, carrot flies, moles, tree borers, weevils, companions with almost all vegetables *dislikes beans, peas
Angelica ~ attracts beneficial lacewings, ladybugs & papasitic wasps *dislikes being near dill
Anise ~ repel aphids cabbageworm, attracts beneficial wasps, companions with coriander, *dislikes carrot
Apple ~ companions with chive *dislikes being near black walnut, hawthorn
Asparagus ~ companions with basil, carrot, parsley, tomato
Basil ~ repel flies, mosquitoes, tomato hornworm, asparagus beetles, companions with asparagus, beans, broccoli, Brussels sprouts, cabbage, cauliflower, collard, kale, marigold, parsley, pepper, tomato, *dislikes rue
Bay Leaves ~ plant containers and bring in the house for preventing invasions of ladybugs in fall
Beans ~ companions with basil, borage, broccoli, cabbage, carrot, celery, corn, collard, cucumber, eggplant, potato, larkspur, lettuce, marigold, mint, peas, radish, rosemary, savory, strawberry, sunflower, tansy *dislikes beet, chive, garlic, onion, pepper
Bee Balm ~ attracts beneficial insects, improves growth and flavor of tomatoes
Beets ~ companions with cabbage, onion, lettuce, sage
Borage ~ repels tomato worms, attracts honeybees, adds calcium and potassium to the soil, companions with beans, squash, strawberry, tomato, fruit trees
Blackberry ~ companions with tansy
Broccoli ~ companions with basil, beans, cucumber, dill, garlic, hyssop, marigold, mint, nasturtium, onion, potato, radish, rosemary, sage, thyme, tomato, *dislikes grapes, lettuce, rue
Cabbage ~ companions with all strong scented herbs, basil, beets, beans, chamomile, celery, chard, dill, garlic, hyssop, larkspur, lettuce, marigold, mint, nasturtium, onion, rosemary, sage, spinach, thyme, tomato *dislikes being near strawberry, grapes, rue
Caraway ~ attracts beneficial insects, can be planted all throughout the garden to loosen soil *dislikes carrot, dill
Carrot ~ companions with beans, chive, delphinium, pea, lettuce, pepper, radish, rosemary, onion, sage, tomato *dislikes caraway, dill
Catmint ~ attracts beneficial insects, companions with eggplant, repels flea beetles, squash bugs, cucumber beetles
Cauliflower ~ companions with basil, bean, garlic, hyssop, lettuce, marigold, mint, onion, rosemary, sage, thyme *dislikes growing near grapes, rue
Celery ~ repels white cabbage flies, companions with beans, cabbage, leek, nasturtium, onion, spinach, tomato,
Chive ~ companions with carrot, fruit trees, grapes, potato, rose *dislikes beans, peas
Coriander ~ companions with anise, potato, repels aphids, attracts beneficial insects *dislikes bean, peas
Chamomile ~ companions with cabbage, cucumber, onion, improves flavor
Collard ~ companions with basil, bean, cucumber, dill, garlic, hyssop, lettuce, marigold, mint, nasturtium, onion, potato, radish, rosemary, sage, thyme *dislikes grapes, rue, tansy
Corn ~ companions with beans, cucumber, dill, pea, potato, melon, pumpkin, squash, sunflower
Cucumber ~ companions with beans, broccoli, cabbage, carrot, cauliflower, chamomile, collard, corn, kale, lettuce, marigold, nasturtium, onion, peas, radish, savory, sunflowers, tomato *dislikes all aromatic herbs, potato, sage
Delphinium (larkspur) ~ companions with beans, cabbage, oats *dislikes carrot, chard, parsnip, turnip
Dill ~ attracts beneficial insects most especially predators of aphids, companions with broccoli, cabbage, collard, cauliflower, lettuce, onion, improves flavor of cabbage *dislikes angelica, caraway, carrot, lavender, tomato
Eggplant ~ companions with beans, garlic, marigold, peas, spinach, tarragon, thyme *dislikes apricot
Fennel ~ companions with basil, dill *dislikes bean, coriander, pepper, tomato
Garlic ~ companions with most vegetables especially collard, raspberry, rose, repels aphids, beetles, weevil, borer, spider mites *dislikes beans, peas
Geranium ~ repels cabbage worm, Japanese beetles, companions with cabbage, corn, grapes, roses
Grapes ~ companions with horseradish *dislikes beans, cabbage, Brussels sprouts, broccoli, cauliflower, chives collard, kale, radish, peas, blackberry, peach
Horseradish ~ companions with potato
Hyssop ~ companions with broccoli, Brussels sprouts, cabbage, cauliflower, collard, grape, kale *dislikes radish
Kale ~ companions with basil, beans, dill, garlic, hyssop, lettuce marigold, mint, onion, radish rosemary, sage, thyme, tomato * dislikes grapes, rue
Leek ~ companions with carrot, celery, onion, repels carrot flies
Lettuce ~ companions with beans, carrot, cauliflower, chrysanthemum, collard, cucumber, onion, radish, strawberry *dislikes broccoli, barley, fava bean, rye, wheat
Marjoram ~ companions with pepper, sage
Marigold ~ many insects are confused or repelled by the smell, like the Mexican bean beetle and harmful soil nematodes and Colorado potato beetles, companions with most vegetables especially beans, broccoli, cabbage, kale, pepper, rose, strawberry, tomato, use freely throughout vegetable garden
Melons ~ companions with corn, nasturtium, radish
Mint ~ improves flavor, repels many insects, do not plant directly into garden, this is perennial and invasive, plant in containers and place near companions with beans, broccoli, cabbage, cauliflower, cabbage, collards, tomato,
Mustard ~ use as a trap crop to attract pest insects away from other plants, pick and destroy the harmful insects, attracts beneficial predator insects, companions with Brussels sprouts, cabbage, cauliflower, radish, turnips
Nasturtium ~ repels aphids, cucumber beetles, squash bugs, white flies, borers, companions with beans, broccoli, cabbage, collard, cucumber, radish, squash, fruit trees
Onion ~ repels cabbage moth, aphids, weevils, carrot flies, spider mites, moles and some nematodes in soil, companions with beets, broccoli, Brussels Sprouts, cabbage, carrot, cauliflower, celery, chamomile, collard, cucumber, dill, kale, lettuce, pepper, potato, radish, rose, savory, squash, strawberry, tomato *dislikes beans, peas, rue, sage
Oregano ~ companions with broccoli, cabbage, pepper
Parsley ~ repels carrot flies, asparagus beetles, companions with asparagus, carrot, tomato, rose
Parsnip ~ *dislikes delphinium
Peas ~ provides extra nitrogen into the soil especially with corn, companions with beans, carrots, chives, corn, cucumber, eggplant, lettuce, radish, spinach, tomato, turnip *dislikes black walnut tree, chives, garlic, grapes, onion, gladiola, potato
Peach ~ companions with grape, garlic, onion, asparagus * dislikes potato, tomato, raspberry
Pennyroyal ~ repel ants, aphids, ticks, fleas, cabbage maggot, companions with broccoli, Brussels sprouts, cabbage
Pepper ~ companions with beans, carrot, fennel, horehound, marigold, marjoram, onion, tansy *dislikes black walnut tree
Petunia ~ companions with beans, potato *dislikes apricot trees
Plum ~ *dislikes apricot trees
Potato ~ companions with beans, broccoli, cabbage, cauliflower, cabbage, collard, coriander, dead nettle, horehound, horseradish, lettuce, marigold, onion, petunia, squash, sunflower, tansy *dislikes apple, apricot, black walnut, pear
Radish ~ repels cucumber beetles, companions with beans, broccoli, cabbage, carrot, cauliflower, chervil, collard, cucumber, grapes, lettuce, melon, onion, peas, squash *dislikes hyssop
Raspberry ~ companions with tansy
Rose ~ companions with chive, feverfew, garlic, geranium, marigold, onion, parsley
Rosemary ~ repels cabbage moth, beetles, mosquitoes, slugs, companions with beans broccoli, cabbage, carrot, cauliflower, collard, sage
Rue ~ repels Japanese beetle, companions with broccoli, rose, raspberry *dislikes basil, cabbage, cauliflower, sage
Sage ~ repels cabbage moth, carrot flies, ticks, companions with broccoli, cabbage, carrot, cauliflower, collards, marjoram, rosemary, strawberry *dislikes onion, rue
Savory ~ improves growth and deters bean beetles, companions with beans, onions
Soybeans ~ repels chinch bug, Japanese beetles, adds nitrogen to soil companion with corn
Spinach ~ companions with celery, cauliflower, eggplant, peas, strawberry
Squash ~ companions with beans, corn, mint, nasturtium, onion, radish, sunflower, tansy *dislikes potato
Strawberry ~ companions with borage, beans, lettuce, onion, sage, spinach *dislikes cabbage
Sunflower ~ attracts beneficial lacewings and parasitic wasps, companions with beans, corn, squash *dislikes potato
Tansy ~ repels ants, cucumber beetle, flies, Japanese beetle, squash bugs, peach aphids, colorado potato beetles, companions with blackberry, cucumber, fruit trees, grapes, pepper, raspberry, rose *dislikes collard
Tarragon ~ is reported to enhance most vegetables
Thyme ~ repels cabbage worm, flea beetles, cabbage maggot, companions with broccoli, cabbage, cauliflower, collard
Tomato ~ companions with borage, broccoli, cabbage, carrot, cauliflower, celery, chive, horehound, marigold, onion, parsley, peas, petunia, mint, sage *dislikes apricot, dill, black walnut, corn, fennel
Turnip ~ *dislikes delphinium, mustard
Q
Handrail
Q