DNS_PROBE_FINISHED_NXDOMAIN on Ubuntu code example

Example 1: dns_probe_finished_nxdomain linux ubuntu

sudo vim /etc/dhcp/dhclient.conf

# put on last line
supersede domain-name-servers 8.8.8.8;

# restart service
sudo service network-manager restart

Example 2: DNS_PROBE_FINISHED_NXDOMAIN node.js

// Change Your Port, Example :-
  
  const Port = '8000' // Change This To Something Else 433 / 8000 Maybe
app.listen(Port, (err) => {
    if (err) {
        console.log("Error Occured", err)
        return;
    } else {
        console.log("Listning To : ", Port)
    }
});