Closed mariaa144 closed 1 year ago
Yes it should.
Either you are using DHCP where it should "just work".
Or you are using a wireless network, in that case you need to configure the built-in DNS client, systemd-resolved.
In any case, you can override the DNS server configuration by directly replacing the contents of /etc/resolv.conf. An example would be the following:
cat /etc/resolv.conf nameserver 1.1.1.1
which sends all resolution requests to CloudFlare server.
I was using a wired connection and it didn't "just work". I didn't try overriding the nameserver. I was using my own nameserver from my pfSense router which was configured by default when installing.
Maybe check how the DHCP server is configured on your router. During my last testing there was no such problem with DNS and a DHCP setup.
As described in #149, this is exclusively your problem, either your hardware or your DHCP server configuration. There is nothing I can do on my side.
Close this as WONTFIX.
I think so, too, that this is out of scope for the zfs guide.
I think so, too, that this is out of scope for the zfs guide.
NetworkManager is already removed.
When I installed my system without NetworkManager enabled as is default with the guide, my system wasn't able to get DNS. I wasn't able to easily remedy the situation because I couldn't just enable NetworkManager. The packages were missing and couldn't be downloaded.
nixos-rebuild
couldn't find the servers it needed because of no DNS. I ended up reinstalled with NetworkManager enabled.Should DNS work by default if NetworkManager is disabled?