Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: ejsolutions on March 09, 2020, 12:16:20 AM

Title: Nameservers Coding
Post by: ejsolutions on March 09, 2020, 12:16:20 AM
MINOR BUG

I have looked at the CWP database and notice that there is a table for nameservers.
I've added a further column pair for a third nameserver.
It appears that both the entry and display of nameservers, in the GUI, is hardcoded for only 2 entries. This should really be extendable.

Also, if you intend to restrict the use of nameservers to IPv4, then VARCHAR(15) will suffice, rather than the current VARCHAR(50). Unless, of course, you have future plans to allow IPv6.