DNS inside container not working when DNS Server is another container

For people still coming here, i found an even easier way to solve the problem then provided in my initial answer post above: Docker container DNS not working with pihole - Unix Stackexchange