Solved

dns problem?

Posted on 2004-10-23
178 Views
Last Modified: 2010-04-19
Hi,

Im after some advice about a client-server application thats taking too long to load on the client side.

Some background:
We have a switch (admittedly not a very nice one) and cat-5 network cabling throughout the building. The server is new, just set up last thursday - its a Pentium 3 tualatin 1.4ghz with SCSI RAID 5, a 1000/100/10 Gigabit Server network card etc etc etc, running Windows Server 2003 Enterprise Edition. The only application its hosting at the moment is a single Firebird database.

The database serves the client applications directly. Once the client has connected to the server the first time that session, the app runs smoothly & very fast. But to connect it takes about 30-40 sec. Ive watched network activity on both the server and a client at the same time and there is a spike in activity on both for a second or two then a long lapse of no activity followed at the end of the time by another burst for both.

My problem is people dont like sitting there waiting for the thing to load :/

Any ideas?
Thanks



0
Question by:eekj
    6 Comments
     
    LVL 15

    Accepted Solution

    by:
    Hi eekj,
    That could well be a DNS problem :-)

    Are other activities such as copying files working OK?

    I don't know anything about Firebird I'm afraid, but I can suggest a few things to diagnose.

    On the client:
    When the firebird client connects, it'll make a DNS request to find the server.  It will then attempt to connect to that.
    Check your firebird config and see what the name of the server it's looking for is.
    Go to a command prompt and run "nslookup servername" where servername is the name of the server you've just found
    You should get a fairly immediate response.

    Try pinging the server with "ping servername"
    You should get a response like:
    Reply from 192.168.0.4: bytes=32 time<1ms TTL=64
    Reply from 192.168.0.4: bytes=32 time<1ms TTL=64

    That establishes that the client can find the server OK.

    Looking at this, it sounds more likely that the server is trying to do a Reverse-DNS lookup to find out who the client is.
    On the server:
    Go to a command prompt and run "nslookup PCname" where PCname is the name of the PC that you're connecting from.
    What happens?

    I'm guessing that you're not getting a response here.
    When the client's connecting, the Firebird server is doing a Reverse-DNS lookup to find out who the client is.  After about 30 seconds, that times out and it lets you connect anyway.
    This is all just a guess though :-)
    0
     
    LVL 15

    Expert Comment

    by:scampgb
    If the reverse DNS lookup isn't working properly.  Run "ipconfig /all" on the client.  What's the DNS server that the client's using?
    Is this server running the MS DNS server, and is that configured to allow Dynamic updates?
    0
     
    LVL 3

    Author Comment

    by:eekj
    Thanks for your reply.

    >Are other activities such as copying files working OK?
    yep, fine

    >Go to a command prompt and run "nslookup PCname" where PCname is the name of the PC that you're connecting >from. What happens?
    *** Cant find server name for address 10.254.0.1: Non-existant domain
    *** default server is unknown
    Server: Unknown
    Address: 10.254.0.1

    >Run "ipconfig /all"
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : hf2
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Unknown
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible)
       Physical Address. . . . . . . . . : 00-01-03-19-DC-DA
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IP Address. . . . . . . . . . . . : 10.254.0.150
       Subnet Mask . . . . . . . . . . . : 255.255.0.0
       Default Gateway . . . . . . . . . : 10.254.0.1
       DHCP Server . . . . . . . . . . . : 10.254.0.1
       DNS Servers . . . . . . . . . . . : 10.254.0.1
       Lease Obtained. . . . . . . . . . : Friday, October 22, 2004 2:38:10 PM
       Lease Expires . . . . . . . . . . : Friday, October 29, 2004 2:38:10 PM

    >What's the DNS server that the client's using?
    >Is this server running the MS DNS server, and is that configured to allow Dynamic updates?
    How can I tell?
    0
     
    LVL 15

    Expert Comment

    by:scampgb
    eekj:
    It does look like I was right about the Reverse-DNS issue.

    Your PC is configured to use 10.254.0.1 as it's DNS server.
    Is that your Windows server?

    Assuming that it is, I suggest that you take a look at the instructions at http://www.petri.co.il/install_and_configure_windows_2003_dns_server.htm about installing and configuring the DNS server.
    0
     
    LVL 4

    Assisted Solution

    by:sriwi
    Run Dcdiag and Netdiag, and start troubleshoot from there, but one thing for sure is DNS is not set up correctly.
    0
     
    LVL 15

    Expert Comment

    by:scampgb
    Glad I could help :-)
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Anonabox PRO Tor & VPN Router

    PRO is the most advanced way to fortify your privacy and online anonymity by layering the Tor network with VPN services. Use both together or separately, and without needing to download software onto your devices.

    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    Learn about cloud computing and its benefits for small business owners.
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now