Skip to main content

WHM assigning wrong IP addresses

Comments

14 comments

  • kernow
    How about trying this? let WHM put in the IPs it wants to, but then from a shell edit the file; nano /etc/nameserverips
    and put the correct ones in.
    0
  • cPanelMichael
    Hello :) Please keep in mind that name servers are created and configured at the domain registrar. On the cPanel server, all you have to do is change the "A" records for NS1 and NS2 using "WHM Home " DNS Functions " Edit DNS Zone". The rest of the data is cached, and will update eventually on it's own. Thank you.
    0
  • MalaysiaMel
    HI Kernow - the nameservers at etc/nameserverips are correct and the nameservers registered at my registrar are correct ( and have been for several days) but still a ping to either of my nameservers gives a totally wrong IP address
    0
  • cPanelMichael
    Have you configured the "A" records for NS1 and NS2 using "WHM Home " DNS Functions " Edit DNS Zone"? Thank you.
    0
  • MalaysiaMel
    yes the A records for both nameservers are configured and match the IP addresses at the Registrar
    0
  • cPanelPeter cPanel Staff
    Hello, Please open a support ticket and we can investigate that for you. Please post the ticket number here so that we can update this thread accordingly.
    0
  • RisenAngel
    Is your DNS managed at the data center level? Unless you are running your own DNS it's likely that you have a managed DNS since you are collocating now in which case you would need to contact your tech support at the data center and inform them to change the DNS records of xxx domains to reflect your new ip address. Run a trace route on your domain instead of a ping to see what happens to the request when it hits the data center level. That should guide you on which route to proceed with. I only say that because we had the same issue about a week ago and it turned out some knucklehead at the data center made a change to the DNS without permission and it threw everything out of whack. Even though the ping was showing the proper IP address, when I did further digging the 3rd subset of the ip address was 1 number off causing the request to get routed to another website.
    0
  • kaitux
    Hi, I have the same issue. My vps(ovz) is on my own dedicated server. I've noticed that domains for new accounts has assigned ip of dedic not vps. For the first time when I manualy edited domain.tld.db it works. Unfortunately I had no luck with second account on this server. This time even after changes in .db file and bind reload it still (nslookup domain.tld localhost) res olves to wrong ip. Sic :/ [COLOR="silver">- - - Updated - - - Ok, I forgot about serial ;) but it doesn't change the fact that cpanel assings wrong ip for newly added domains...
    0
  • cPanelMichael
    [quote="kaitux, post: 1723961">My vps(ovz) is on my own dedicated server. I've noticed that domains for new accounts has assigned ip of dedic not vps.
    This likely stems from a configuration issue with your VPS software. You should not see the IP address of the VPS hardware node on your individual VPS server unless you have configured your VPS to be setup with that IP address. Thank you.
    0
  • kaitux
    [quote="cPanelMichael, post: 1725392">This likely stems from a configuration issue with your VPS software. You should not see the IP address of the VPS hardware node on your individual VPS server unless you have configured your VPS to be setup with that IP address. Thank you.
    Don't think so, because VPS is configured with correct ip. Everywhere is correct ip: ifconfig, /etc/hosts /var/cpanel/mainip WHM ...and so on Besides please notice I have valid licence. When I'm cheking it using wget it's correct. Only "client part" of cPanel thinks it has hardware node ip. [COLOR="silver">- - - Updated - - - It was WHM :) Basics :) Anyway thank you. [COLOR="silver">- - - Updated - - - but can't save correct ip. It says "This system has no free IPs." [COLOR="silver">- - - Updated - - - Ok I have the solution :) Modifying "Public Ethernet Device" from "venet0" to "venet0:0". [COLOR="silver">- - - Updated - - - arghhhh, and after save it still shows ip of the hw node.
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature if you want us to take a closer look and determine which configuration file the node IP address is added to. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • kaitux
    Strange behavior, because when I want to modyfynig it once again to somthing abstract like 10.0.0.0 there it looks like this. in edit form it shows ip of hardware node, but when i change it and want to save it says "changing from CORRECT_IP!!! to 10.0.0.0 And that's why few steps before ^^^ it says only "This system has no free IPs." - nothing else. However when new accounts are created or new domains are added it still has wrong ip.
    0
  • kaitux
    Ticekt 5492381
    0
  • cPanelPeter cPanel Staff
    Hello, To update this thread, it looks like there was a NAT configured at one time and we received response from you stating that you solved the issue by making ad adjustment to the IP address. Glad to hear that this solved the problem.
    0

Please sign in to leave a comment.