Trivial to set up in principle, really hard to get it right.
Open DNS resolvers are a magnet for shenanigans like DDOS amplification attacks etc so best left up to the experts.