All of lore.kernel.org
 help / color / mirror / Atom feed
From: Barry Fawthrop <barry@ttienterprises.org>
To: netfilter@lists.netfilter.org
Subject: IP Vs DNS
Date: Tue, 11 Oct 2005 17:04:59 -0400	[thread overview]
Message-ID: <434C28FB.3000805@ttienterprises.org> (raw)

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



             reply	other threads:[~2005-10-11 21:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11 21:04 Barry Fawthrop [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434C28FB.3000805@ttienterprises.org \
    --to=barry@ttienterprises.org \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.