That's on a non-routable subnet. Considering that nslookup is a program
to query Internet domain name servers, there's no way in the world that
they'd know its address. (And a good thing, too! Do you have any idea
how many hundreds of thousands of machines around the world have that
exact same address?) And, I have no idea how it could ever have worked
correctly, unless (maybe) you used to have it in /etc/hosts and it was
getting it from there.
--
users mailing list
users@lists.fedoraproject.org
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
06-27-2012, 09:54 PM
Steve Searle
Gnome-rdp
Around 10:45pm on Wednesday, June 27, 2012 (UK time), Joe Zeff scrawled:
> On 06/27/2012 02:34 PM, Lawrence Graves wrote:
> >192.168.1.84 israel.risingstar.local
>
> That's on a non-routable subnet. Considering that nslookup is a program
> to query Internet domain name servers, there's no way in the world that
> they'd know its address. (And a good thing, too! Do you have any idea
I didn't see the start of this thread but couldn't he be running his own
DNS? I do, and nsloolup will find my own machines.
Play Champions - my free football predictions game at:
http://www.stevesearle.com/champs/about.html
22:52:20 up 13 days, 11:56, 1 user, load average: 0.00, 0.01, 0.00
--
users mailing list
users@lists.fedoraproject.org
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
06-27-2012, 09:59 PM
Joe Zeff
Gnome-rdp
On 06/27/2012 02:54 PM, Steve Searle wrote:
I didn't see the start of this thread but couldn't he be running his own
DNS? I do, and nsloolup will find my own machines.
That, of course, would be different. However, if he were doing that,
he'd probably know enough not to put the arguments for nslookup into
brackets, so I doubt he's got his own DNS server working.
--
users mailing list
users@lists.fedoraproject.org
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
06-28-2012, 12:07 AM
Ed Greshko
Gnome-rdp
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.
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
--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
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
06-28-2012, 01:50 AM
Kevin Martin
Gnome-rdp
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@lists.fedoraproject.org
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
06-28-2012, 02:52 AM
Ed Greshko
Gnome-rdp
On 06/28/2012 09:50 AM, Kevin Martin wrote:
> 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
I could find no version of nslookup on my systems which do as you suggest.
All of my nsswitch.conf files have "hosts: files dns"
This includes nslookup on RHELv4.8 as well as ubuntu.
In all my years I can't recall ever coming across that behavior....and it doesn't
make much sense to me that a utility/tool meant to query the DNS would do this. dig
also doesn't.
If you can recall what version did this I'd be interested to know.
--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
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
06-28-2012, 07:52 AM
Tim
Gnome-rdp
On Thu, 2012-06-28 at 10:52 +0800, Ed Greshko wrote:
> In all my years I can't recall ever coming across that behavior....and
> it doesn't make much sense to me that a utility/tool meant to query
> the DNS would do this. dig also doesn't.
>
> If you can recall what version did this I'd be interested to know.
I could only see that working if you had one of those simple local DNS
servers that gets its records from your hosts file, and you were
querying your own DNS server.
Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.
--
users mailing list
users@lists.fedoraproject.org
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
06-28-2012, 12:45 PM
Kevin Martin
Gnome-rdp
On 06/27/2012 09:52 PM, Ed Greshko wrote:
> On 06/28/2012 09:50 AM, Kevin Martin wrote:
>> 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
>
> I could find no version of nslookup on my systems which do as you suggest.
>
> All of my nsswitch.conf files have "hosts: files dns"
>
> This includes nslookup on RHELv4.8 as well as ubuntu.
>
> In all my years I can't recall ever coming across that behavior....and it doesn't
> make much sense to me that a utility/tool meant to query the DNS would do this. dig
> also doesn't.
>
> If you can recall what version did this I'd be interested to know.
>
Hmm, perhaps I'm mistaken. I know for a fact that nslookup on Solaris 6 and 8 and on HP/UX honored the /etc/nsswitch.conf file. I
*don't* know that that is the case on any Linux system but made the (probably stupid) assumption that this behaviour would be
consistent on all OSes. My bad.
Kevin
--
users mailing list
users@lists.fedoraproject.org
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
06-29-2012, 01:30 PM
"Darryl L. Pierce"
Gnome-rdp
On Wed, Jun 27, 2012 at 02:44:04PM -0600, Lawrence Graves wrote:
> >Dude, replace "[hostname]" with the hostname for the machine you're
> >trying to access.
>
> Thanks for the help. I don't care what I put in the brackets it
> still comes back to what you see in this post.
Go back and read what I said originally as well as what I posted above.
I never said to leave the brackets.
--
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
--
users mailing list
users@lists.fedoraproject.org
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
06-29-2012, 01:31 PM
"Darryl L. Pierce"
Gnome-rdp
On Wed, Jun 27, 2012 at 03:31:15PM -0600, Lawrence Graves wrote:
> >What hostname are you trying to find? Maybe there's something
> >wrong with the name, or the way you're specifying it. Is it fully
> >qualified, as mine is?
>
> server can't find risingstar: NXDOMAIN This the results of nslookup.
> Yes it is fully qualified. This problem only came when I went from
> Fedora 16 to 17.
That error message says that you're NOT using a full qualified hostname
but just the hostname portion; i.e. risingstar. The FQHN would include
the domain name as well:
--
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
--
users mailing list
users@lists.fedoraproject.org
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