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, 2012Here is the dig output. It shows the cname was sent so i'm not sure why nslookup doesn't, other than as Hamish said that it's depreciated....One thing does look off though. The response doesn't show the resolution of the cname response. The second output below shows a query to a cname created through ZoneRunner, there are obvious differences.
H:\>dig @10.226.133.194 test1.test.com. a
; <<>> DiG 9.9.2 <<>> @10.226.133.194 test1.test.com. a
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7526
;; flags: qr aa rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;test1.test.com. IN A
;; ANSWER SECTION:
test1.test.com. 0 IN CNAME test.test.com.
H:\>dig @10.226.133.194 test2.test.com. a
; <<>> DiG 9.9.2 <<>> @10.226.133.194 test2.test.com. a
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6554
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;test2.test.com. IN A
;; ANSWER SECTION:
test2.test.com. 300 IN CNAME test.test.com.
test.test.com. 300 IN A 10.10.10.10
;; AUTHORITY SECTION:
test.com. 300 IN NS ns1.lab.company.com.
;; ADDITIONAL SECTION:
ns1.lab.company.com. 300 IN A 10.226.133.194
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
