<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">On 8/2/21 11:45 AM, Bruce Labitt wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANf=cDgF=XRjrPck-Jte0Ay+2WwUuw1a_Yd1LQ0=-=QScQ2aMg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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 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>