My domain is on one server and I wanted to put wildcard DNS settings for another server.
Basically I have two servers and I want all the wildcard to go on second server, how can I do that?
Assuming that you're using Bind, that your server has the ip 18.104.22.168, the other server has the ip 22.214.171.124 and that your main server is named my.domain.com, you just need to add the following lines to your configuration:
If you use tinydns, these are the config lines:
Both configurations will set a 300 seconds TTL to each record.
You can find more info about Wildcard DNS Records here.
Hope this helps!