move entrypoint out of the Dockerfile
Add domain recursions support