On 10/30/23 15:50, Timothy M Butterworth wrote:
On Mon, Oct 30, 2023 at 1:18 PM Pocket <poc...@columbus.rr.com> wrote:
On 10/30/23 09:04, Timothy M Butterworth wrote:
Hello All,
I have been following the recent emails regarding resolv.conf. I
almost have my system running perfectly. The only thing I am
missing is the population of IPv6 DNS addresses.
sudo less /etc/dhcp/dhclient.conf
supersede domain-name "home.arpa";
supersede dhcp6.domain-search "home.arpa";
supersede dhcp6.name-servers 2001:4860:4860::8888,
2001:4860:4860::8844;
supersede domain-name-servers 8.8.8.8, 8.8.4.4;
sudo less /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[global-dns]
searches=home.arpa
sudo less /etc/NetworkManager/system-connections/Pixel5.nmconnection
[ipv4]
dns=8.8.4.4,8.8.8.8;
dns-search=home.arpa;
ignore-auto-dns=true #I tried with this on, commented out and set
to false
may-fail=false
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns=2001:4860:4860::8888,2001:4860:4860::8844;
dns-search=home.arpa;
ignore-auto-dns=true #I tried with this on, commented out and set
to false
may-fail=false
method=auto
sudo less /etc/resolv.conf
domain home.arpa
search home.arpa
nameserver 8.8.8.8
nameserver 8.8.4.4
For some reason I am not getting any IPv6 Name Servers populated.
Any thoughts are appreciated.
Tim
Why not use NetworkManagers internal DHCP client.
That is what I have done and then I don't need dhclient or dhcpcd.
I am not sure that you are really using dhclient as NetworkManager
has not been set to use dhclient from the configuration that you
have posted.
I know it is using dhclient because I typod the domain name supersede
domain-name "home.apra"; and it populated .apra in resolv.conf.
What is the output from:
NetworkManager --print-config
Notice in the following dhcp=internal in my configuration
NetworkManager --print-config
sudo NetworkManager --print-config
# NetworkManager configuration:
/etc/NetworkManager/NetworkManager.conf (lib: no-mac-addr-change.conf)
[main]
# rc-manager=
# auth-polkit=true
# dhcp=internal
^^^^^^^^^^^^^^^^^^
This states that you are running two DHCP clients as I suspected.
That is probably why you have the results you have.
From the docs page:
https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html
||
This key sets up what DHCP client NetworkManager will use. Allowed
values are |dhclient|, |dhcpcd|, and |internal|. The |dhclient| and
|dhcpcd| options require the indicated clients to be installed. The
|internal| option uses a built-in DHCP client which is not currently as
featureful as the external clients.
If this key is missing, it defaults to |internal|. If the chosen plugin
is not available, clients are looked for in this order: |dhclient|,
|dhcpcd|, |internal|.
The commented entries are the defaults if not explicitly set
--
It's not easy to be me