This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

DNS Manager - Can't create records with LAN IPs
#4
RE: DNS Manager - Can't create records with LAN IPs
Hi,

I think it is an herited "over secured" test on the IP, because Sentora was not intended to be setup on local network.

You can do a search in file panel/modules/dns_manager/code/controler.ext.php for FILTER_FLAG_NO_PRIV_RANGE and remove this option (and the "or" character "|" before or after) from the parameters of filter_var().
There are 3 instances of it in the file, in functions IsValidIP(), IsValidIPv4() and IsValidIPv6() to be changed according to what you need.

There are also 3 instances of same functions (!!!) in file panel/dryden/sys/monitoring.class.php. I have the feeling that all modules would have to use them, but that they do not. BTW, I hate the form of this library, using functions all static into classes ... only to enable automatic loading, without any OOP requirements.
Reply
Thanks given by:


Messages In This Thread
RE: DNS Manager - Can't create records with LAN IPs - by 5050 - 02-22-2016, 08:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
DNS Manager Error? rafaht 10 40 ,907 02-23-2018, 10:47 PM
Last Post: CMs222
DNS Manager Config + Nameserver Issue [Godaddy] Good One 21 81 ,086 06-02-2017, 02:37 AM
Last Post: TGates
SRV Records? Surf3rDud3 1 5 ,916 12-22-2016, 10:16 AM
Last Post: Surf3rDud3

Forum Jump:


Users browsing this thread: 1 Guest(s)