thank you for your help
it is working however I notice that lookups that are contained in my irule take longer to process than ones that are not altered in my script, why would processing the irule slow it down or is this normal?
when DNS_REQUEST {
if ([IP::addr [IP::remote_addr] equals 10.10.10.0/24]) {
set ttl 1800
set A "[DNS::question name]. [DNS::question class] [DNS::question type]"
if { [string tolower [DNS::question name]] equals "host.domain.com" } {
DNS::answer insert "$A 20.20.20.20"
DNS::return }
}
}