Re: NetworkManager and PEERDNS=no

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 16, 2020 at 8:37 PM Tom Horsley <horsley1953@xxxxxxxxx> wrote:
>
> I keep seeing signs that "network" will someday disappear
> entirely and I'll be forced to use NetworkManager, so the
> first question I haven't been able to find an answer
> for:
>
> What is the "proper" way to setup a network connection
> using nmcli which will get an IP via DHCP, but will ignore
> the DHCP provided DNS and use a different DNS server specified
> manually? (I can do it using techniques like chattr +i on
> /etc/resolv.conf, but that isn't exactly "proper" :-).

I have no idea how to use nmcli, but I connect my laptop to my phone
hotspot with dhcp and unbound.

I have

[main]
dns=default
rc-manager=symlink
...

in "/etc/NetworkManager/NetworkManager.conf"

and

[ipv4]
dns=127.0.0.1
...

in "/etc/NetworkManager/system-connections/android.nmconnection"
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux