Preferred and alternate DNS settings in esp32
Posted: Tue Sep 03, 2019 12:34 pm
Generally we use the command
network.ifconfig ('xxx.xxx.xxx.xxx', '255.255.255.0', 'xxx.xxx.xxx.xxx', '8.8.8.8')
to set the IP address configuration with network.ifconfig, passing a tuple of four values. Now I want to enter a alternate DNS setting into this command .
Is there any way to make provision for entering alternate DNS setting and also preferred DNS setting as generally done in laptops.
Thanks in advance..
network.ifconfig ('xxx.xxx.xxx.xxx', '255.255.255.0', 'xxx.xxx.xxx.xxx', '8.8.8.8')
to set the IP address configuration with network.ifconfig, passing a tuple of four values. Now I want to enter a alternate DNS setting into this command .
Is there any way to make provision for entering alternate DNS setting and also preferred DNS setting as generally done in laptops.
Thanks in advance..