mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 12:20:12 +01:00
If the interface who's IP configuration is being captured has the default route, then read DNS servers from resolv.conf into the NMIP[4|6]Config. This allows NetworkManager to repopulate resolv.conf if anything changes. For example, if the system does not define a persistent hostname, then when a device which has generated a connection activates, a hostname lookup will be performed. The results of that lookup may change resolv.conf, and thus NetworkManager must rewrite resolv.conf. Without capturing DNS information at startup when generating connections, an empty resolv.conf would be written. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| test-dcb.c | ||
| test-dhcp-options.c | ||
| test-ip4-config.c | ||
| test-ip6-config.c | ||
| test-policy-hosts.c | ||
| test-resolvconf-capture.c | ||
| test-secret-agent.py | ||
| test-wifi-ap-utils.c | ||