Skip to main content

I'm stuck. Nameservers, DNS and IONOS Oh my!

Comments

12 comments

  • cPRex Jurassic Moderator
    Hey there! I removed a chunk of your post as we can't share public domains or IP addresses on the Forum. I'm happy to speak for cPanel, but I can't say what IONOS may limit. Some providers do enforce the rule of requiring a unique IP for each nameserver. cPanel doesn't, but hosts and registrars can make their own rules. In WHM >> Basic WebHost Manager Setup, the nameservers you enter there are simply what gets added to each DNS zone you create on your server. This does not affect DNS in any way. You would still need to have the nameservers registered at the registrar and your domains changed to use those nameservers at the registrar for each domain. Does that help with that configuration? As far as the VPN, you'd have to do some testing to see what the root cause may be. Is it possible your default/home network doesn't have the correct ports allowed? From a non-VPN connection, you could try a simple telnet test to port 2087, which would confirm if that is the case. If that test fails from the home network, but works on the VPN, that would indicate a port or firewall issue with the home network.
    0
  • Kenyon Hopkins
    My apologies for posting the domains and public IPs. They are public so I didn't consider there would be an issue. Thank you for the response. So, the nameservers I have in WHM should match the nameservers at the registrar. Since IONOS does not allow me to configure nameservers with identical IP addresses, I imagine that I could use Microsoft's 365 nameservers (I have my email through them) and then match those in WHM, or use some other 3rd party like CloudFlare? Or did I miss your point?
    0
  • cPRex Jurassic Moderator
    No worries - you don't know until you know! It's not a huge deal in most cases, but as we are international there is GDPR to worry about. It's also possible that bots scan the site for data frequently as well. You basically have two options with your current situation: -The ideal option: you get an additional IP address from host added to your server and create the local nameservers. This will be much easier in the long run because option 2 is... -The less ideal option: you can certainly use the 365 nameservers, but that means every time you do anything related to DNS in cPanel - create a domain, add a subdomain, update an MX record, etc. - you will need to manually setup the DNS in 365. There is no way to link your server to the external DNS system and have those changes automatically happen there. So if at all possible, I always recommend hosting your own nameservers locally.
    0
  • Kenyon Hopkins
    Now you are speaking my language! I appreciate the suggestion and pointing me in a specific direction.
    0
  • cPRex Jurassic Moderator
    Sure thing!
    0
  • mtindor
    Depending upon your budget, another option might be to grab a $10 cloud server at NDCHost (or somewhere else i suppose -- but NDCHost does this regularly) and install a supported operating system for cPanel DNSOnly. Run the DNSOnly server as your secondary server. The plus side to that is that if your hosting server is down for some reason, DNS resolution for the hosted domains will still work because the other nameserver would be the DNSOnly server. Just throwing it out there. Depending upon how many or few accounts you have, and what you charge, doing this may not fit your budget. Mike
    0
  • Kenyon Hopkins
    Depending upon your budget, another option might be to grab a $10 cloud server at NDCHost (or somewhere else i suppose -- but NDCHost does this regularly) and install a supported operating system for cPanel DNSOnly. Run the DNSOnly server as your secondary server. The plus side to that is that if your hosting server is down for some reason, DNS resolution for the hosted domains will still work because the other nameserver would be the DNSOnly server. Just throwing it out there. Depending upon how many or few accounts you have, and what you charge, doing this may not fit your budget. Mike

    Great idea! I was actually looking to do this with my home lab. But IONOS only charges $5 per month for a 2nd Public IP so I was investigating how I would set up either for my ns2. This is all a bit new for me, coming from a managed server. Once I get this all set up, I should be fine but getting setup I need some hand holding apparently.
    0
  • mtindor
    Great idea! I was actually looking to do this with my home lab. But IONOS only charges $5 per month for a 2nd Public IP so I was investigating how I would set up either for my ns2. This is all a bit new for me, coming from a managed server. Once I get this all set up, I should be fine but getting setup I need some hand holding apparently.

    Well, if that is the case, then to get you going it is probably best that you get the additional IP added to your Cloud server so that you can use it. But down the road you still may want to give thought to a separate DNSOnly server. There is a learning curve in all of this for sure. Rarely is anything so straightforward that no questions need to be asked/answered. If you are going to get the second IP from IONOS to use on your current server, it should be as simple as having them add it to the server (or add it yourself via WHM). Then make sure it routable (reachable from the outside world). And I'm sure you know this, but you need to make sure that your DNS zone that handles the nameserver hostnames has both hostnames in there with the correct IPs, and that you have your nameservers actually registered through your registrar. You don't want to forget that part of it. Mike
    0
  • quietFinn
    If you are going to get the second IP from IONOS to use on your current server, it should be as simple as having them add it to the server (or add it yourself via WHM).

    Those are 2 separate things: host must add the IP to the server, and then it can be added in WHM-> IP Functions-> Add a New IP Address.
    0
  • mtindor
    Those are 2 separate things: host must add the IP to the server, and then it can be added in WHM-> IP Functions-> Add a New IP Address.

    Yeah I guess so. I am so used to managing my own IPs that I look at it as all one task. But you're right. What I said was confusing -- and it's never good to try and just add IP addresses to a server on somebody else's network. They [IONOS] add the IP to the server, and he will add it in WHM to make it available for usage. - Mike
    0
  • Kenyon Hopkins
    Yeah I guess so. I am so used to managing my own IPs that I look at it as all one task. But you're right. What I said was confusing -- and it's never good to try and just add IP addresses to a server on somebody else's network. They [IONOS] add the IP to the server, and he will add it in WHM to make it available for usage. - Mike

    It looks like I can do this without support from IONOS. I just need to figure out the next steps. Is there any guides that you're aware of that do a great job covering this? I'm great at following instructions and learning as I do. I don't often reach out for assistance because it's all been asked and answered 1000 time before and I hate being "That Guy". But I've only found bits and pieces that may or may not be applicaple to my use case and I'm having a hard time seeing the Big Picture to put this puzzle together myself.
    0
  • mtindor
    I'm assuming that is the IONOS interface, and yes it does look like you can assign that IP, once you purchase it, to an asset of yours. And I would assume (but can't say for sure) that it if you assigned it to bluecords01 and bluecords01 was your server, that it would assign it as an additional IP (and not replace the existing IP). But you better make sure what is going to happen before assigning it to bluecords01, if that is your server. Once it is assigned to the server by IONOS (or their API), you should be able to see it listed as an additional IP address when you type "ip addr" from shell. I believe you will then want to go into WHM --> Service Manager and make sure that IP Aliases is checkmarked to both be enabled and to be monitored. I can guarantee that you aren't the first person wanting an additional IP address. You should just reach out to IONOS and ask them if you have any doubts.
    0

Please sign in to leave a comment.