Forum Discussion
dstogsdill_2492
Nimbostratus
Nov 04, 2012GTM iRule - cname
Hi all,
I'm trying to test a simple iRule to return a cname for a wide IP. I looked at the cname Wiiki on dev central and my syntax looks correct, however, it is not returning the cname respons...
dstogsdill_2492
Nimbostratus
Nov 05, 2012Thanks 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!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
