[SOLVED] My IP Address changed! But...

Discussion in 'Server Operation' started by Xase, Jan 17, 2019.

  1. Xase

    Xase Member

    ISPConfig 3.1.13
    Ubuntu 18.04
    Latest Updates installed.
    Followed the standard Perfect Server setup.

    Hey everyone... Weird guy Xase here again. My server is Remote... so I can only identify some problems.
    My friend who hosts our server had his IP change, and we went through the rigamarole of updating all the IPs in GoDaddy, as well as in the DNS Zones for each domain we have attached to the server...

    However, our server is still silent to the outside world.

    I read a couple of the previous help topics for it... but none were quite too clear.

    What steps may I be missing that I overlooked? Like, specifics may help... but I'm really just looking for what I overlooked.
    I read one thread that said I may have to manipulate the database directly.
     
  2. Xase

    Xase Member

  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    This tutorial shows how to check name service info:
    https://www.howtoforge.com/tutorial/setting-up-your-own-name-service-with-ispconfig/
    Is the server itself configured with the correct IP number and gateway?
    Code:
    ip a
    
    ip r
    Direct database modification is useful when the domains are so numerous you dont want to do the change in ISPConfig panel.
    If DNS info is wrong, you can use hosts file in your workstation to access the name based virtual hosts.
     
    Xase likes this.
  4. Xase

    Xase Member

    Well, indeed... those are the values I expect. I'm actually talking about updating my external IP for Bind... that's what it seems like I should do.
     
  5. Xase

    Xase Member

    All internal IPs are the same... this is hosted in home... so we have to deal with Dynamic IP changes every now and then... I'm familiar with them, but not how to solve them in regards to webhosting.
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I have not implemented these, so just some ideas.
    For that dynamic IP, you could use a client for dynamic DNS service to update the IP-number every time it changes. However, this means using a FQDN that can be used with the service you choose, so what I think would work for web hosting is to use CNAME for the host and domain names you want to use to that dynamic service name. For Ubuntu there is for example ez-ipupdate package. If you must use DNS A-record for some service this is a problem.
    Another hack requiring some amount of coding is to change the IP-numbers in you DNS service when ez-ipupdate detects the change. This requires some programming API to the DNS-service you use. Also I don't know how short TTL is allowed in you DNS provider, but anyway the change will not be immediately available so some downtime is expected when IP changes.
    I have found but not used really cheap hosting providers, cheapest is 2 euro per month. That inclused fixed IP-number.
    This may be useful to you if you want to check the websites work, when DNS is not up to date: https://www.faqforge.com/linux/cont...ess-a-namebased-website-without-a-dns-record/
     
    Xase likes this.
  7. Xase

    Xase Member

    I think I'm just going to reformat, this is going nowhere although you've been helpful. My IP has already been updated everywhere except the ubuntu machine itself... that is why I referenced those commands... bind is wrong.
     
  8. Xase

    Xase Member

    I tried to run update dns_rr set data = 'new-ip' where data = 'old-ip';

    But... apparently that has to be run on the database... but no related data is found.
     
  9. Xase

    Xase Member

    So I had success :O doing what I needed.
    Just had to update bind and some other things.
    Went away for mental health Vacay... but this thread is solved!
     

Share This Page