title: how to add nameserver in resolv.conf
body: <p>I researched about how to add a name server in the file <code>resolv.conf</code>, I found this command on <a href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.cmds/doc/aixcmds4/namerslv.htm" rel="nofollow noreferrer">this site</a>:</p>
  
  <pre><code>namerslv -a -i ip address
  </code></pre>
  
  <p>I'm also confused with the example in that site, this one:</p>
  
  <pre><code>namerslv -a { -i IPAddress | -D DomainName| -S SearchList}
  </code></pre>
  
  <p>so which one I should use if I want to add just the name server?</p>
  
  <pre><code>-i
  -D or
  -S (I have doubts about this)
  </code></pre>
  
  <p>When I try to use it, it's not supported on my Linux.</p>
  
  <p>Also, why is it important to list at least two name servers in the file <code>resolv.conf</code>?</p>