Actions
Feature #5219
closed[Suggestion]: $dns(N).reply to return the full reply from the DNS query
Start date:
01/29/2021
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Description
Hello,
I wanna suggest a new property .reply for $dns() that will return the full reply for a DNS queue item.
Example:
/dns 20.193.25.171.dnsbl.ahbl.org
/dns: 20.193.25.171.dnsbl.ahbl.org resolved to 20.193.25.171.dnsbl.ahbl.org (127.0.0.2,127.0.0.5,127.0.0.4,127.0.0.3)
So now the replies are 4 items (127.0.0.2,127.0.0.5,127.0.0.4,127.0.0.3)
So this code:
ON *:DNS: { echo -a IS: $dns(1) --> $dns(1).ip }
is going to reply only 1 reply
IS: 20.193.25.171.dnsbl.ahbl.org --> 127.0.0.2
What i suggesting with .reply is to get the full reply instead of only the 1
Code example:
ON *:DNS: { echo -a IS: $dns(1) --> $dns(1).reply }
IS: 20.193.25.171.dnsbl.ahbl.org --> 127.0.0.2 127.0.0.5 127.0.0.4 127.0.0.3
- Thanks!
Actions