Sorry, you are out of IPs to assign as nameservers

ne0shell

Well-Known Member
Oct 9, 2003
58
0
156
I have 32 IPs free, showing up in cPanel and in shell, all ping fine, etc. I added my primary nameservers (first two) just fine except I keep getting the "hostname resolves to . " error despite everything being set in my zone files just fine.

I'm trying to add a reseller account and assign the account it's own nameservers and I get the "out of IPs to assign" message. I looked at the /etc/nameserverips file to try the manual fix but it already lists every IP on the server with "=0" next to it, ie: 192.168.1.1=0

Any suggestions?
 

ne0shell

Well-Known Member
Oct 9, 2003
58
0
156
running "service ipaliases restart" threw some weird errors -

unrouting 9x.8x.2x.1xx SIOCDELRT: No such device

Shutting down eth0:4 SIOCSIFFLAGS: Cannot assign requested address

There's a bunch of these throughout the results.
 

ne0shell

Well-Known Member
Oct 9, 2003
58
0
156
I'm able to manually create nameservers using the trick of editing the /etc/nameserverips file and then going back to the reseller panel in WHM where they will then show up in the add nameservers, assign IPs and add A record section.

They seem to be working fine so far. (The nameservers are for reseller accounts and the records added to them today are resolving perfectly).

If I try to add a reseller nameserver via WHM's GUI without editing the /etc/nameserverips file first, however - I still get the "Sorry, you are out of IPs to assign as nameservers" error message even with 30 free IPs showing as available via WHM.

I've searched everywhere and cannot find a root cause for this issue nor a solution for it. I'm concerned there may be other symptoms I'm not aware of yet from this issue and would like to find a resolution.