Hi all,

couldn't find an answer in the archive, so maybe someone can answer
my question now.

I recognized the following behavior of IPTABLES (same with IPCHAINS)
when i add a rule using a HOSTNAME:

1) Hostname gets resolved to the IP
2) This IP, via reverse-lookup, gets resolved "back" to the hostname.

So: mydomain.com -> xxx.xxx.xxx.xxx -> mydomain.com

My question/problem is the following: I am using one of those free
dynamic DNS providers to get a hostname for my dialup-connection.
But when i use this hostname, this resolving/back resolving happens
and at the end not the dynamic hostname, but the "real" hostname
(assigned by my ISP) will be used for the rule.

        mydns.com -> xxx.xxx.xxx.xxx -> dialup-host-name.com

And when i reconnect i get a new IP (and a new dialup-hostname) and
the rule i added just before is for vain.

Now the question is: can i prevent this behavior somehow?
So that if i add this dynamic hostname exactly THIS ONE will be used.


                        regards, Chris


Reply via email to