# get PTR and A record for every IP in network
# modify to your needs

dns_server=139.18.25.3
ip_range=$(seq 65 126)
net_prefix=141.57.252.

for i in $ip_range
do
  dig +short @"$dns_server" -x "$net_prefix$i" |
  tee /dev/tty |
  xargs -i dig +short @"$dns_server" {}
done