DNS cache, Dynamic IP

Discussion in 'Server Operation' started by HTF1, Feb 27, 2011.

  1. HTF1

    HTF1 New Member

    Hello,

    I try to forward all the network traffic on specific port from my VPS to home PC.

    The problem is that I have dynamic IP at home so I've installed Dynamic Update Client (DUC) from no-ip.com.

    I also use 'redir' software on Centos VPS to redirect the traffic and everything works fine till my ISP change the IP of my home PC.

    Does Centos cache DNS queries by default (nscd is not running)?
    Is there a some way/software that will periodically check if the IP of particular domain has changed and update accordingly.

    Do you know some better way to achieve this?

    I also found something like this:
    http://ipupdate.sourceforge.net/index.html
     
  2. falko

    falko Super Moderator

    I guess it can take a few minutes until the IP change propagates, but not longer.
     
  3. HTF1

    HTF1 New Member

    I agree however redir, upon launch, check the DNS once and keep whatever value for IP address is returned. It probably wont check periodically to see if the value has changed so I need some process that checks if the IP address tied to your domain name has changed while redir was running, and restart redir so that it picks up the new IP address.
    The question is how?;)
     

Share This Page