title: how can i set the dns of the node js server?
body: <p>I want to set the primary dns , secondary dns of node js server.</p>
  
  <p>But i use 'setup' module , there are only dns , not secondary dns.</p>
  
  <p>Like this </p>
  
  <pre><code>var setup = require('setup')();
  
  var config = setup.network.config({
      wlan0: {
          auto: true, // start at Boot
          dhcp: true, // Use DHCP
          wireless: {
              ssid: 'myWirelessName', // Wireless SSID
              psk: 'mySuperPassword', // Password
          }
      },
     eth0: {
          auto: true,
         ipv4: {
              address: '192.168.1.20',
              netmask: '255.255.255.0',
              gateway: '192.168.1.1',
              dns: '8.8.8.8'
         }
      }
  });
  </code></pre>
  
  <p>how can i set primary dns and secondary dns of the node js? </p>
  
  <p>I would appreciate your help.</p>