Forum Discussion
Arnor_Arnason
May 23, 2011Altostratus
How to answer a DNS SRV request in a irule on GTM
Hi, I know how I could answer an A request directly with an host ip in an irule: when DNS_REQUEST {
if { [IP::addr [IP::client_addr]/24 equals "10.10.10.0] } {
use pool GTM_pool1
}...
May 12, 2016
Nice one +1 for Kai.
In case you like to return a SOA record with an up-to-date serial number (reflecting current day, i.e. "2016051201" for 01 of 05/12/2016 [mm/dd/yyyy]) you can use the following:DNS::authority insert [DNS::rr "gtm.lb-net.bit." SOA IN 60 "gtm1.lb-net.bit hostmaster.lb-net.bit [clock format [clock seconds] -format {%Y%m%d01}] 10800 3600 604800 60"]
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