Skip to main content

VPS ip addresses to set up nameservers

Comments

17 comments

  • dalem
    Most registrars will allow you to use the same IP for NS1 & NS2 there are some out there that do not and maybe its a rule with the ccTLD I would not know. As far as VPS's having only one IP that would depend on the provider?? You could check why its reserved ( if it has a reason ) It could be a Private IP? Which you cant use for DNS or websites for the public. Only your provider can tell you why they reserved it no one will be able to help you here.
    0
  • cPanelMichael
    Hello @brand_land, It's possible your VPS hosting provider reserved the additional IP address for a reason, so I recommend contacting them to see which IP addresses are available for use with your VPS. Thank you.
    0
  • brand_land
    Most registrars will allow you to use the same IP for NS1 & NS2 there are some out there that do not and maybe its a rule with the ccTLD I would not know. As far as VPS's having only one IP that would depend on the provider?? You could check why its reserved ( if it has a reason ) It could be a Private IP? Which you cant use for DNS or websites for the public. Only your provider can tell you why they reserved it no one will be able to help you here.

    I already asked Godaddy support and it's like they don't know what they're selling, I asked more than one agent and they kept telling what I already know. I tried to configure the VPS nameservers and when I got to the point to adding the A host name, I found an entry that already exist with the other ip address saying main ip address although the ip address that I use to login into WHM is the other one, that's why I'm confused. I asked the agent whether I can buy another IP address and he said know which I doubt know as he didn't even know what is the other IP address. Any way I tried entering the IP address that I use for WHM login in the A host but it wouldn't accept it with no messages, the page refreshes then I see no changes.
    0
  • brand_land
    Hello @brand_land, It's possible your VPS hosting provider reserved the additional IP address for a reason, so I recommend contacting them to see which IP addresses are available for use with your VPS. Thank you.

    I already did but apparently they know nothing more than I do. I contacted several agent but none of them gave an answer.
    0
  • dalem
    I already asked Godaddy support and it's like they don't know what they're selling, I asked more than one agent and they kept telling what I already know.

    short answer they probably don't the answer if you can access the ip publicly the use it your main IP likely will be the IP on eth0 (if that is how their network is set up) the secondary will be eth0:0 Edit you zones manually with the zone editor
    0
  • brand_land
    short answer they probably don't the answer if you can access the ip publicly the use it your main IP likely will be the IP on eth0 (if that is how their network is set up) the secondary will be eth0:0 Edit you zones manually with the zone editor

    It's on eth0 but I can't access it, I tried to access WHM through it but it didn't work. In order to set up my VPS nameservers, I have to add an A entry for my hostname and I can't do that, the only IP showing up is the reserved one. I used to configure nameservers for each account manually with ns1 and ns2 with the domain name of the account, then I knew that I can set a default nameservers to assign to accounts but all the accounts take ns1.defaultname.com and ns2.defaultname.com, isn't it supposed to increment for each account ? Thank you
    0
  • cPanelMichael
    In order to set up my VPS nameservers, I have to add an A entry for my hostname and I can't do that, the only IP showing up is the reserved one.

    You can setup the "A" record manually using WHM >> Edit DNS Zone. Edit the "A" record in the zone for server's hostname (if it exists) or in the zone for the parent domain name associated with the hostname if it exists.
    I used to configure nameservers for each account manually with ns1 and ns2 with the domain name of the account, then I knew that I can set a default nameservers to assign to accounts but all the accounts take ns1.defaultname.com and ns2.defaultname.com, isn't it supposed to increment for each account ?

    The default name servers used at domain creation time come from WHM >> Basic WebHost Manager Setup. The only way to define different name servers to the zone at domain creation time is to create the domain under a reseller account that's assigned it's own set of default name servers (WHM >> Edit Reseller Nameservers and Privileges). Let me know if this helps. Thank you.
    0
  • brand_land
    You can setup the "A" record manually using WHM >> Edit DNS Zone. Edit the "A" record in the zone for server's hostname (if it exists) or in the zone for the parent domain name associated with the hostname if it exists. The default name servers used at domain creation time come from WHM >> Basic WebHost Manager Setup. The only way to define different name servers to the zone at domain creation time is to create the domain under a reseller account that's assigned it's own set of default name servers (WHM >> Edit Reseller Nameservers and Privileges). Let me know if this helps. Thank you.

    Yeah there's a hostname, when I setup the new nameservers I was supposed to add an A entry for the hostname but as i said I couldn't, it says an entry already exist. I can see the server hostname in the zone editor, if I add an A entry, won't that affect any thing ? I'm afraid mail will stop or something. I found another issue which I assume is because of this other IP address: REVERSE DNS (PTR) The system sends this domain"s outgoing mail from a private IP address. I think it's because of the hostname pointing to the other IP address. When I first used the VPS, I didn't get the setup wizard or anything, maybe I was supposed to set everything up at the beginning and now that's why I have a problem. I hope you can help clarify things. Thank you
    0
  • cPanelMichael
    I can see the server hostname in the zone editor, if I add an A entry, won't that affect any thing ?

    You should edit the existing "A" record in the hostname's DNS zone instead of adding a new one. You'll also want to check the parent domain's DNS zone. For example, if the hostname is server.domain.tld, check the DNS zone for "domain.tld" as well to make sure no "A" entries exist for "server". Changing the "A" record associated with the server's hostname should not break any services, especially since you're modifying it to point to the correct IP address. Thank you.
    0
  • brand_land
    You should edit the existing "A" record in the hostname's DNS zone instead of adding a new one. You'll also want to check the parent domain's DNS zone. For example, if the hostname is server.domain.tld, check the DNS zone for "domain.tld" as well to make sure no "A" entries exist for "server". Changing the "A" record associated with the server's hostname should not break any services, especially since you're modifying it to point to the correct IP address. Thank you.

    I apologize for the late response as I didn't see the reply, So my existing host name is: s-ipaddress-.secureserver.net there's no A record in it, so I have to add one to point to the correct ip address right ?
    You'll also want to check the parent domain's DNS zone. For example, if the hostname is server.domain.tld, check the DNS zone for "domain.tld" as well to make sure no "A" entries exist for "server".

    I'm sorry but I didn't get this part, are we talking about the new nameservers that I set up ? or the hostname of the server ? Thank you
    0
  • cPanelMichael
    Hello @brand_land, Let's start with the name servers first. I recommend using the instructions on the following document to ensure you have configured your name servers correctly: How to Set Up Nameservers in a cPanel Environment - cPanel Knowledge Base - cPanel Documentation Can you let me know if you are unable to perform any of the steps listed on this page? Thank you.
    0
  • brand_land
    Hello @brand_land, Let's start with the name servers first. I recommend using the instructions on the following document to ensure you have configured your name servers correctly:
    0
  • cPanelMichael
    I was stuck at this step Create A entries for your hostname. I can't do it, because every time I try to enter the public IP address, I can't.

    Could you open a
    0
  • cPanelMichael
    Hello @brand_land, It looks like you were advised to report the concern to your provider to determine the specific steps to solve the issue. Can you confirm if you were able to solve the problem? Thank you.
    0
  • brand_land
    Hello @brand_land, It looks like you were advised to report the concern to your provider to determine the specific steps to solve the issue. Can you confirm if you were able to solve the problem? Thank you.

    Not yet, they opened a ticket and they said they might not be able to solve it because it might break the networking of the server. I'm waiting for their feedback now.
    0
  • cPanelMichael
    Hello @brand_land, Let us know how it turns out. Thank you.
    0

Please sign in to leave a comment.