IP Vs DNS
barry at ttienterprises.org
Tue Oct 11 23:04:59 CEST 2005
with an IPTABLES ruleset you can specify an IP address to be allowed/blocked
iptables INPUT -s 184.108.40.206 -j ALLOW
But can this be done with a DNS name
iptables INPUT -s www.name.com -j ALLOW
since 220.127.116.11 may be www.name.com but it can also be
18.104.22.168 or 22.214.171.124
eg www.nasa.gov this address does vary depending on location and
sometimes time of day
from a single point I can ping www.nasa.gov and get different IP
addresses for it.
Yet I would like to allow access but preferably not to a whole range.
Also by allowing a DNS name then if a single IP addresses hosts many
sites, I can be specific about the site?
Thanks in advance
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.14/129 - Release Date: 10/11/2005
More information about the netfilter