Permanently changing nameserver
Bruce Labitt
bdlabitt at gmail.com
Mon Aug 2 11:45:40 EDT 2021
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.
If I do cat /etc/resolve.conf I get, # generated by resolvconf nameserver
192.168.1.xxx
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/pipermail/gnhlug-discuss/attachments/20210802/31c206af/attachment.html
More information about the gnhlug-discuss
mailing list