Hello i am trying to setup a DNS to resolve to two different servers using ip addresses.
we currently have the following set up
*.domain.com A record -> Server A IP
example.domain.com A record -> Server B IP
This works fine however we want to be able to do the following but are unable to get it to resolve correctly
*.domain.com A record -> Server A IP (any other request ending in domain.com)
*.example.domain.com A record -> Server B IP (any request ending in example.domain.com)
in this example if i ping test.example.domain.com i get server A's Ip. Where as i would like to get server B's IP
Is what im trying to do possible? and if it is can someone please offer some guidance on how it should be set up.
Thanks