Shared IP for a number of ns addresses.

Turkoloco

Registered
Oct 5, 2006
2
0
151
Hi there, im new to Cpanel and WHM, and I have small question to ask.

Here's my problem, i want to give my reseller customers their own nameserver, without giving them a seperate IP. So basicly I want the IP to be shared by a number of ns addresses.

Here's an example of what I want to do.
Say i have 5 resellers.

Each having a separate NS.
E.g.
  • ns1.reseller1.com
  • ns2.reseller1.com

  • ns1.reseller2.com
  • ns2.reseller2.com

  • ns1.reseller3.com
  • ns2.reseller3.com

  • ns1.reseller4.com
  • ns2.reseller4.com
  • ns1.reseller5.com
  • ns2.reseller5.com

But what I want to do is have the same two ips
1.0.0.1
1.0.0.2 for example, and let all 5 use this IP.

Can anyone tell me if this would be possible, and if it is possible please explain how I can acheive this. Thanks
 

levelsupport

Well-Known Member
Oct 7, 2006
47
0
156
Say you have your main namservers are
ns1.xyz.com with ip 1.1.1.1
ns2.xyz.com with ip 1.1.1.2


now to give the same ips for your reseller nameservers.
Supposing your reseller domain name is abc.com

In WHM
open DNS Functions > Edit DNS Zone
Edit DNS Zone of abc.com
Add the following records
ns1 86400 A 1.1.1.1
ns2 86400 A 1.1.1.2

and click save

here
A represents Record Type &
86400 represents TTL
 

levelsupport

Well-Known Member
Oct 7, 2006
47
0
156
he is setting it up for his resellers and hence A records are more than enough + setting up the nameservers with registrar of domains

/etc/nameserverips are for main nameserver ip's

Also please make sure you have this option ticked under WHM >> Tweak Settings
Allow Sharing Nameserver Ips
 

designeru

Well-Known Member
Nov 2, 2005
83
0
156
basically...

My idea is:
- ns1.domain1.com - 1.0.0.1
- ns2.domain1.com - 1.0.0.2

- ns1.domain2.com - 1.0.0.1
- ns2.domain2.com - 1.0.0.2

These are just A records (ns1.domain1.com -> 1.0.0.1)... so you can add those to /etc/nameserverips as the ones you already have there. Don't forget the step at your registrar/WHM setup.
 

Turkoloco

Registered
Oct 5, 2006
2
0
151
Thank you very much, ill be trying it now, ill report back to tell you if it has worked out