Solved

ODBC connection fails without fully qualified DNS name

Posted on 2010-11-18
6
683 Views
Last Modified: 2012-05-10
Hi,

I have a Database server (DBserver) that hosts an application (sql 2005 sp3) We have disabled named pipes as part of the requirements.
All the application servers are able to connect to it using TCPIP to the DBserver\instance with no problem except one
One server is unable to connect via odbc unless we do it with the IP address or the fully qualified hostname. (If we enable named pipes on the DB it works as well)
When we ping the DB server it does return the fully qualified name with the suffix, and comparig the network settings on the server we dont see any diffrence.

The application does not allow us to put in th full name....
Seems to be something wrong with the TCPIP
Anyone come across something similar?
0
Comment
Question by:neoptoent
6 Comments
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34163932
This sounds like a IP lookup problem to be honest. From the box that is trying to connect try doing..

ping DBHOSTNAME

Open in new window


If it resolves its the client not the host.
0
 
LVL 37

Accepted Solution

by:
Bing CISM / CISSP earned 250 total points
ID: 34164530
does that application server use WINS, rather than DNS, to resolve host names in a higher priority??
0
 

Author Comment

by:neoptoent
ID: 34164745
They are both setup to use DNS first
If I ping -a  the dbserver it resolves the correct dns suffix

I also tried removing WINs to see if that helped
0
 
LVL 20

Assisted Solution

by:Marten Rune
Marten Rune earned 250 total points
ID: 34171061
How many networks do you have, whats the subnet of the source and target servers (i e the server that cant connect and the sql server)?

Is DNS Suffix added in network settings for the malfunctioning server?

//Regards Marten
0
 

Author Closing Comment

by:neoptoent
ID: 34187827
Really needed cliconfg to change to get rid of named pipes
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Resolve DNS query failed errors for Exchange
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

920 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

19 Experts available now in Live!

Get 1:1 Help Now