Preheat your oven to 350°F (180°C), or 160°C if using a fan oven, and line a baking sheet with parchment paper.
In a large bowl, mix together the flour, baking powder, baking soda, ground anise, fennel seeds, nigella seeds, and sesame seeds. Set aside.
In a separate bowl, whisk together the egg and sugar until combined. Gradually add the melted butter, milk, and vinegar, whisking until well combined.
Slowly mix the dry ingredients into the wet mixture. Stir until a soft dough forms.
Scoop 1 ½ tablespoons (25 g) of dough to form balls, then roll each into a rope about 5 inches (12 cm) long. Bring the ends together to form a ring, slightly overlapping them to close the circle, and place on the prepared baking sheet.
If desired lightly press a more sesame seeds onto the top of each cookie.
Bake in the preheated oven for 15 minutes, or until golden brown.
Allow the cookies to cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.