Forum Discussion
delegate _xmpp-client._tcp.domain.com to GTM and let the GTM to resolve to (A) record hosted on BIND.
I am trying to get iRule to work for servicing SRV records for _sipinternaltls._tcp.domain.com and _xmpp-client._tcp.domain.com, which are delegated to the GTM from the dns server running BIND. ERROR: 01070151:3: Rule [/Common/srvtest1_irule] error: /Common/srvtest1_irule:9: error: [undefined procedure: DNS::answer][DNS::answer insert "[DNS::question name]. $ttl IN [DNS::question type] 1 0 5223 xmpp1.domain.net."] /Common/srvtest1_irule:14: error: [undefined procedure: DNS::additional][DNS::additional insert "xmpp1.domain.net. $ttl IN A 1.1.1.1"] /Common/srvtest1_irule:17: error: [undefined procedure: DNS::return][DNS::return]
- Mehrdad59_31135Nimbostratus
Additional information: when DNS_REQUEST { log local0. "[DNS::question name]: [DNS::question name], [DNS::question class]: \ [DNS::question class], [DNS::question type]: [DNS::question type]" set ttl 120
if { [string tolower [DNS::question name]] starts_with "_xmpp-client._tcp.domain.com" } then { if { [DNS::question type] equals "SRV" } then { SRV response DNS::answer insert "[DNS::question name]. $ttl IN [DNS::question type] 1 0 5223 xmpp1.domain.net." DNS::answer insert "[DNS::question name]. $ttl IN [DNS::question type] 1 0 5223 xmpp2.domain.net." DNS::answer insert "[DNS::question name]. $ttl IN [DNS::question type] 1 0 5223 xmpp3.domain.net." Additional records DNS::additional insert "xmpp1.domain.net. $ttl IN A 1.1.1.1" DNS::additional insert "xmpp2.domain.net. $ttl IN A 1.1.1.2" DNS::additional insert "xmpp3.domain.net. $ttl IN A 1.1.1.3" DNS::return
} } }
Recent Discussions
Related Content
* 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