Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to detect ip change

    I'm doing some kernel module programming. What I am considering is how to detect if the ip of the host is changed. I would prefer not to try the stupid way like keep checking the ip. Anybody know about it? Any free source code available?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    St. Petersburg, FL
    If you could give me a bit more context, I might be able to write you some sample code. What is the overall goal you are trying to achieve? There might be a better route.

  3. #3

    About detect of IP of host changed

    1) find IP of domain
    2) as usual domain pointing on some NS record
    3) After IP change NS record will return other IP for domain
    How it's working you can find here info about custom domain (include NS)

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts