Re: open ssh

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

 



On 10/12/19 2:50 PM, Ed Greshko wrote:
On 10/13/19 2:48 AM, Samuel Sieb wrote:
Summary:
In a default setup, host name resolution is, in order of priority: /etc/hosts/, mdns, and dns.

The order is controlled by the contents of /etc/nsswitch.conf.  The defaults are as discribed.

I was trying to reduce the complication a bit so I didn't mention that.

You probably don't want to maintain a hosts file for all the computers on your network, especially if you are using DHCP.
DNS is generally way overkill and more work to manage.
The easiest method is to use mdns, otherwise known as Bonjour on Macs and probably some other names.  Use "hostnamectl set-hostname myname" to set a unique name on each computer.  Make sure "avahi-daemon" is running (should be).  Make sure you have "nss-mdns" installed (should be by default).  Then you should be able to do "ping myname" (using whatever name you set earlier).

I'm not well versed in the use of mdns since some  devices on my networks don't utilized it.  So, I tend to setup a DNS server in the routers I use.  This leads me to wonder if it is possible to actually "ping myname".
I thought one needed "ping myname.local".

That is correct. I was confused by the DNS before when I thought this was working. If you set your DNS domain to .local then I think it would work.
_______________________________________________
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