EDIT 2 uhm it should be working but says that i shouldnt use public IP maybe i'm doing something wrong?
this is by design, they decided that your DNS server should be in your local network, if you choose an internet DNS then your devices in your local network can't be found, it will make some problems.
it's better to set your router as the dns server of your local network and set the DNS in the wan interface in the
/etc/config/network.
config interface 'wan'
list dns '8.8.8.8'
list dns '8.8.4.4'
Anyway if you still want to insert an internet DNS you haveto edit the file
/www/docroot/modals/ethernet-modal.lpsearch for this :
if pIPV(value) then
return nil, T"Public IP Range should not be used"
endand comment it like this :
-- if pIPV(value) then
-- return nil, T"Public IP Range should not be used"
-- endSearch for this :
if not isNonPublicIPRange(ipAddr) then
return nil, T"Public IP Range should not be used"
endand comment it like this :
-- if not isNonPublicIPRange(ipAddr) then
-- return nil, T"Public IP Range should not be used"
-- end
then do a
/etc/init.d/transformer restart
/etc/init.d/nginx restart