host names and IPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux