2014-05-01 23:52 GMT+03:00 Robert Moskowitz <r...@htt-consult.com>: > F20 > > I put an IPv4 entry for a server in my /etc/hosts file. I can 'ping bob', > but 'host bob' comes back with: > > Host bob not found: 3(NXDOMAIN) > > I have this vague memory from years back about a file that set precedence > of hosts file and dns for fqdn lookup. Can't remember it of find it. > > Of course the problem might simply be the host command is incapable of > processing the /etc/hosts file? > > thanks for any help on this. > > Check your /etc/host.conf for line order hosts,bind and /etc/nsswitch.conf for correct order hosts: files dns However results may differ
> -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org >
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org