<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Then you may want to do</p>
    <p>[main]</p>
    <p>dns=none</p>
    <p>in /etc/NetworkManager/NetworkManager.conf</p>
    <p>--Bruce<br>
    </p>
    <div class="moz-cite-prefix">On 8/2/21 1:43 PM, Bruce Labitt wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANf=cDhUdyaU0S-h5WWdETG_B4pShg9waH3RvYGwydLBcqawuQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Think it is being overridden in
        /etc/network/interfaces as well.  Tried enabling prepend
        domain-name-servers in dhclient.conf, but that didn't work.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Aug 2, 2021 at 1:37 PM
          Bruce Dawson &lt;<a href="mailto:jbd@codemeta.com"
            moz-do-not-send="true">jbd@codemeta.com</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <p>This is being set by dhclient when it gets the DHCP info.</p>
            <p>I believe you can "fix" this by removing the
              'domain-name-servers' from the 'request' stanza in
              /etc/dhcp/dhclient.conf. You probably want to do this ONLY
              on the machines that you don't want to get the DNS servers
              from DHCP.<br>
            </p>
            <p>--Bruce<br>
            </p>
            <div>On 8/2/21 11:45 AM, Bruce Labitt wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Due to some ISP snafus, and network
                reconfiguration, some of my RPI's are pointing to the
                wrong nameserver.  I use a pihole for DNS.  Anyways, I
                have a single RPI2 as a print server and it is
                stubbornly pointing to the wrong IP address.  The RPI2
                is running on Raspberry Pi Debian Stretch.  I only use
                this node as the cups printer.
                <div><br>
                </div>
                <div>If I do cat /etc/resolve.conf I get, # generated by
                  resolvconf  nameserver  192.168.1.xxx</div>
                <div>I want to have it permanently point to 192.168.1.1,
                  ie the gateway so that I let the router redirect DNS
                  traffic to pihole.  Looking at resolvconf info, it
                  says NOT to use it directly.  So how does one do this?</div>
                <div><br>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
gnhlug-discuss mailing list
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank" moz-do-not-send="true">gnhlug-discuss@mail.gnhlug.org</a>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" moz-do-not-send="true">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          gnhlug-discuss mailing list<br>
          <a href="mailto:gnhlug-discuss@mail.gnhlug.org"
            target="_blank" moz-do-not-send="true">gnhlug-discuss@mail.gnhlug.org</a><br>
          <a
            href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gnhlug-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org">gnhlug-discuss@mail.gnhlug.org</a>
<a class="moz-txt-link-freetext" href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
    </blockquote>
  </body>
</html>