Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Florian Effenberger" <floeff@arcor.de>
To: netfilter@lists.netfilter.org
Subject: host names and IPs
Date: Fri, 18 Apr 2003 13:57:53 +0200	[thread overview]
Message-ID: <003301c305a1$c04ab1a0$0500a8c0@effenberger> (raw)

Hi,

I have a question to the gurus on this list ;-)

I'm on Linux 2.4.20 with iptables 1.2.7a. I have a syntax as follows:

===
iptables -A INPUT -p tcp -s www.myhostname.com --dport 53 -j ACCEPT
===

Now it seems that www.myhostname.com is resolved only the first time the
rule is set and that a fixed IP address is stored.

However, www.myhostname.com has a dynamically assigned address and I would
like to have iptables resolve the IP address everytime.

Is that possible? If yes, how? Or will it produce too much load?

Thanks
Florian



             reply	other threads:[~2003-04-18 11:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 11:57 Florian Effenberger [this message]
2003-04-18 15:41 ` host names and IPs Joel Newkirk
2003-04-22 16:05 ` bill davidsen
2003-04-22 20:11   ` Michael K

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='003301c305a1$c04ab1a0$0500a8c0@effenberger' \
    --to=floeff@arcor.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox