I’ve changed my PiAware 3.5.3 card setup from using DHCP to having a static address and I’ve found two problems on which I’d welcome comment.
The default is to use DHCP. However I’ve now noticed that
/etc/resolv.confcontains only Google’s DNS servers. I had assumed, all this time I’ve been running it, that PiAware would be using the DNS servers supplied by my DHCP server. I am quite annoyed to find that all this time it’s been chattering away to Google as I actively avoid using Google’s DNS.
In setting a static address there doesn’t appear to be a way to specify the DNS in the Advanced Configuration. This is what led me to poke around in
resolv.confand discover the above. I’ve tried putting in my own server but it gets overwritten by the config from
resolvconf.conf. I’ve edited that file and put in my own server and commented out the package mirror defaults, and this creates a
resolv.confwith my server at the start but still adds Google’s entries as secondary and tertiary servers. Possibly by dhclient but now it’s getting into messing with services which are needed for the defaults.
I appreciate that this may be Debian default behaviour but I’d like to see it cleaned up in the PiAware image given that we have this lovely Advanced Config capability for handling networking. For PiAware package install then yes it should clearly defer to the OS.
For the card image:
I welcome advice on how I can specify my own DNS server and stop whatever is adding Google’s addresses.
Could PiAware get a couple of new Advanced Config entries to allow users to configure servers explicitly please
both of which default to the DHCP-provided server (expected behaviour) or
188.8.131.52 184.108.40.206 if not present. This would appear to solve all of these concerns in one fell swoop.