Linux Netfilter discussions
 help / color / mirror / Atom feed
* IP Vs DNS
@ 2005-10-11 21:04 Barry Fawthrop
  2005-10-11 23:10 ` IP Vs DNS (nfcan: addressed to exclusive sender for this address) Jim Laurino
  0 siblings, 1 reply; 8+ messages in thread
From: Barry Fawthrop @ 2005-10-11 21:04 UTC (permalink / raw)
  To: netfilter

Greetings all

with an IPTABLES ruleset you can specify an IP address to be allowed/blocked
iptables INPUT -s 12.12.12.12 -j ALLOW

But can this be done with a DNS name
iptables INPUT -s www.name.com -j ALLOW

since 12.12.12.12 may be www.name.com but it can also be
12.12.15.12 or 12.15.12.19
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
B


-- 
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



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <200510120054.j9C0sDZC013724@darkstar.sysinfo.com>]

end of thread, other threads:[~2005-10-12 23:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 21:04 IP Vs DNS Barry Fawthrop
2005-10-11 23:10 ` IP Vs DNS (nfcan: addressed to exclusive sender for this address) Jim Laurino
2005-10-12  0:00   ` IP Vs DNS Barry Fawthrop
2005-10-12  0:32     ` /dev/rob0
2005-10-12  0:46       ` R. DuFresne
2005-10-12  0:38     ` R. DuFresne
2005-10-12  0:48       ` Anthony Sadler
     [not found] <200510120054.j9C0sDZC013724@darkstar.sysinfo.com>
2005-10-12 23:09 ` R. DuFresne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox