I'm adding this rule in iptables with the following IP address as destination:
iptables -A FOR_FILTER -d 66.235.138.59 -j ACCEPT
it added it successfully with the following result:
ACCEPT all -- anywhere *.d1.sc.omtrdc.net
The rule I wanted to apply to 66.235.138.59 won't work because of this DNS resolve. I would like to add the IP address as is, so iptables won't add the resolved domain.
something like this(but it doesn't work):
iptables -A FOR_FILTER -d "66.235.138.59" -j ACCEPT
iptables -A FOR_FILTER -d '66.235.138.59' -j ACCEPT