Re: How to get Fedora 35 to use DNS name as hostname?

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

 



On Sun, 2022-01-16 at 15:53 -0600, Thomas Cameron wrote:
> All of a sudden with F35, no matter what the address of the VM is,
> its hostname is set to fedora. Just fedora. Not
> fedora.tc.camerontech.com.

I see your pain, that doesn't really work well when you have several
Fedora PCs, does it?  (I'm Spartacus, and I'm Spartacus, too.)

My quirky humour would have put into the install routine a "name your
computer" question.  And if you didn't, it'd randomly pick a name from
a list to each computer (George, Fred, Jenny, etc) for you.


> I want F35 to have the same behavior as previous versions of Fedora
> and RHEL and Ubuntu and so on. I don't want to manually set
> /etc/hostname and monkey with hostnamectl because if the VM gets a
> new address, I don't want to have to go and change /etc/hostname or
> anything.
> 
> I've been poking around with /etc/NetworkManager/NetworkManager.conf


What about customising the dhcp client config?  So it accepts the
hostname name supplied from your DHCP server, or derived from your
reverse DNS lookup, and passes it to whatever is setting the hostname
on Fedora these days.

Like you, that's what I expect to happen, *unless* the user specifies
otherwise.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure



[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