Thanks for the reply Mohamed. here is the nslookup output. test1.test.com is the Wide IP with the CNAME irule applied. BTW, i am using a lab GTM hence the test.com domain.
> server 10.226.133.194
Default Server: [10.226.133.194]
Address: 10.226.133.194
> test1.test.com
Server: [10.226.133.194]
Address: 10.226.133.194
Name: test1.test.com
Here is the output when I change the iRule to return a host address rather than a cname.
> test1.test.com
Server: [10.226.133.194]
Address: 10.226.133.194
Name: test1.test.com
Addresses: 10.10.10.10
10.10.10.10
And here are the iRules:
when DNS_REQUEST {
cname "test.test.com"
}
when DNS_REQUEST {
host 10.10.10.10
}
Hamish, I will try out dig and see what info i get back. Thanks!