LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2006, 10:29 PM   #1
quartslove
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Rep: Reputation: 0
Unhappy problem with nslookup


when I use nslookup my IP address, it respond my hostname that 53.50.168.192.in-addr.arpa name = e1db6296bb57494.

Now I want to use nslookup with my hostname. Example: #nslookup quartslove. And others can khow me as quartslove, not my IP address. I've used hostname to change my hostname, and I also change in /etc/host, but there's nothing change.
 
Old 11-10-2006, 12:16 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
First, nslookup is a horrible tool to query DNS servers. If you want to know what is actually going on, you have to use dig.

2nd, you can't control what name your nameserver gives for your computer from your computer. The nameserver needs to know your name to reply with it. You would need to create a forward and reverse lookup for quartslove, and most home routers don't allow you to do that. You would have to be running a proper nameserver, not just the caching server build into home networking devices.

3rd, why? The only people who can find your computer on the private 192.168.50.0 subnet are those on your LAN. Just give yourself a static mapped IP address, and let them connect to you that way.

Peace,
JimBass
 
Old 11-10-2006, 02:20 AM   #3
quartslove
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
They can connect to me, but not my hostname also. Is there any trouble with my computer and my network files ?
Thanks all .
 
Old 11-10-2006, 07:53 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
There we go, it isn't a DNS issue, it is Samba. Samba is the service used to share files with the windows world. Your name under samba is usually your hostname, which can be configured as root. Use "man hostname" for more details on setting your computer's name.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nslookup redhatlover Red Hat 3 05-08-2004 08:25 AM
DNS nslookup problem from peers notorious_guy Linux - Networking 2 08-05-2003 09:18 AM
Nslookup cannot resolve DNS..what is the problem??? cpinyit Linux - Networking 1 03-01-2002 10:00 PM
problem with nslookup iquadri1 Linux - Networking 1 10-01-2001 07:46 AM
NSlookup Nezar Linux - Networking 1 08-05-2001 04:43 AM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration