Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / April 2008

Tip: Looking for answers? Try searching our database.

catalog node and DNS lookup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dan van Ginhoven - 15 Apr 2008 19:25 GMT
Hi!

I had a node cataloged with an explict IP-address.
I tried to change to a fully qualified name but:

db2 catalog tcpip node mynode  remote db2server.mycompany.biz server 50001
The catalog command was acccepted, db2 was restarted,
but when I tried to connect to a database on that node:
SQL1042C  An unexpected system error occurred.  SQLSTATE=58004

I then uncataloged and issued
db2 catalog tcpip node mynode  remote db2server  server 50001
where db2server is registrered in /etc/hosts and it worked OK.

Does DB2 not perform DNS lookup?
The client db2 is V9.1 on Linux and DNS lookups are working for other applications

/dg
Dan van Ginhoven - 16 Apr 2008 18:16 GMT
Hi!

The RTFM says about hostname:
"The hostname is the name of the node that is known to the TCP/IP network. The maximum length of the hostname is 255 characters. "
None of the examples has a fully qualified hostname, only simple ones.
On the other hand hostname of maxumum 255 characters imply that a FQ hostname should be possible.
Anyone have it working?

/dg

> Hi!
>
[quoted text clipped - 14 lines]
>
> /dg
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.