Heat 1 tablespoon olive oil in a large skillet over medium-high heat. Reserve 1 tablespoon yellow onion for the shrimp. Saute the remaining yellow and green onions until tender, 6-8 minutes.
Add the orzo, dill, half of the tomatoes and half of the sliced garlic to the pan. Toast the orzo until golden, stirring frequently.
Add the vegetable broth and bring to a boil. Reduce to a simmer and cook over medium heat for 15 minutes until the orzo is cooked through and a little liquid remains.
Once the orzo is cooked through, add the spinach, feta and lemon juice to the pot.
While the orzo cooks, prepare the shrimp. In a separate skillet, heat 1 tablespoon olive oil over medium-high heat. Saute the reserved onions and tomatoes until tender (6 minutes). Add the remaining garlic and shrimp to the skillet. Stir to combine.
Pour the wine into the skillet along with the ouzo and cook the shrimp until the liquid is mostly evaporated about 10 minutes.
Pour the shrimp mixture over the orzo and garnish with fresh dill and green onions.