Re: How do I tell dhcp-client to use my DNS?

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

 



On 4/23/23 19:38, ToddAndMargo via users wrote:
On 4/23/23 19:34, Samuel Sieb wrote:
On 4/23/23 19:17, ToddAndMargo via users wrote:
How do I tell dhcp-client to use a DNS server of
my choosing and not what comes from the dhcp server?

You set it in the networkmanager connection config.
In the IPV4 section, turn off automatic DNS and enter your DNS server address.

How about if I am, not running networkmanager?

# networkmanager
bash: networkmanager: command not found


Found how to add an "addition" dns but not how to get rid of the one from dhcp-client


# nmcli device mod eno2 ipv4.dns "127.0.0.1"

upping and downing the connection still gives me


# cat /etc/resolv.conf

# Generated by NetworkManager
search netgear.com acme.local
nameserver 127.0.0.1
nameserver 192.168.250.1


I need now to get rid of the 192 dns
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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