On 06/27/2012 07:07 PM, Ed Greshko wrote: > On 06/28/2012 05:34 AM, Lawrence Graves wrote: >> 192.168.1.84 israel.risingstar.local > > Ahhh.... That is in your /etc/hosts file.... And you said you were doing > > nslookup risingstar ?? > > If that is so, you have 2 problems. > > 1. nslookup doesn't reference data in the hosts file. It only does a DNS query. > > 192.168.0.18 nickel nickel.greshko.com > > [egreshko@meimei hidenet]$ nslookup nickel > Server: 192.168.0.55 > Address: 192.168.0.55#53 > > ** server can't find nickel: NXDOMAIN > > Is expected.... > > 2. You have israel.risingstar.local in your hosts file. Therefore the "host" name > is israel and the domain part is risingstar.local Programs such as ping and ssh > will consult the hosts file. Sooo...... > > [egreshko@meimei ~]$ ping israel.risingstar.local > PING israel.risingstar.local (192.168.0.18) 56(84) bytes of data. > 64 bytes from israel.risingstar.local (192.168.0.18): icmp_req=1 ttl=64 time=0.039 ms > 64 bytes from israel.risingstar.local (192.168.0.18): icmp_req=2 ttl=64 time=0.034 ms > 64 bytes from israel.risingstar.local (192.168.0.18): icmp_req=3 ttl=64 time=0.030 ms > > So.... change the line in you /etc/hosts if you want a hostname of risingstar. > > 192.168.1.84 risingstar > > > nslookup (or some versions of it) used to honor the /etc/nsswitch.conf file so if hosts was defined hosts: dns file in /etc/nsswitch.conf, "nslookup risingstar" would return the address (*if* /etc/hosts had "192.168.0.18 risingstar" in it). But Ed is correct, Lawrence, in that your /etc/hosts file is incorrect if you are trying to lookup a host named risingstar. If you change the /etc/hosts to look like the example entry I provided what does "nslookup risingstar" return? Kevin -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org