LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2005, 12:21 AM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
name server


I am running a caching nameserver on my linux machine but when i do a nslookup from linux machine the name is resolved very fast and when I do nslookup form a windows machine whose primary name server is my linux machine then the name is resolved to slow and some time it does not resolves from my linux machine and is resolved from my isp name server. here is the output of some important command and configs

windows machine
Code:
C:\Documents and Settings\Asif>nslookup hotmail.com
*** Can't find server name for address 192.168.0.3: Non-existent domain
Server:  pathfinder.nexlinx.net.pk
Address:  202.59.80.10

Non-authoritative answer:
Name:    hotmail.com
Addresses:  64.4.33.7, 64.4.32.7
ipconfig on windows machine
Code:
Ethernet adapter LAN:

        Connection-specific DNS Suffix  . : lakecityserver.redirectme.net
        Description . . . . . . . . . . . : Compaq NC3121 Fast Ethernet NIC
        Physical Address. . . . . . . . . : 00-50-8B-05-01-AC
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.30
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.3
        DHCP Server . . . . . . . . . . . : 192.168.0.3
        DNS Servers . . . . . . . . . . . : 192.168.0.3
                                            202.59.80.10
        Lease Obtained. . . . . . . . . . : Monday, November 07, 2005 9:13:21 AM

        Lease Expires . . . . . . . . . . : Monday, November 07, 2005 3:13:21 PM
linux machine
Code:
root@thelakecity# nslookup hotmail.com
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   hotmail.com
Address: 64.4.33.7
Name:   hotmail.com
Address: 64.4.32.7

root@thelakecity#
and why on my windows machine the following error occurs
Code:
*** Can't find server name for address 192.168.0.3: Non-existent domain
 
Old 11-07-2005, 02:44 AM   #2
ashamril
Member
 
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
from your linux machine, do u able to nslookup if u change your nameserver from 127.0.0.1 to 192.168.0.3
 
Old 11-07-2005, 03:52 AM   #3
Draygo
Member
 
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73

Rep: Reputation: 15
The reason it's probably taking so long and spitting out that error is it's trying to do a reverse lookup of the ip address 192.168.0.3. Have you setup your reverse dns for that ip? Since 192.168.x.x is private ip space you will have to setup a local one on your dns server. It should eliminate that error.
 
Old 11-07-2005, 05:58 AM   #4
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
no I haven't done the reverse lookup right now
 
Old 11-07-2005, 10:18 PM   #5
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
thanks everyone my problem has been solved by adding a reverse entry for my lan ip
 
  


Reply



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
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:53 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
Open Source Consulting | Domain Registration