- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with DSN client
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 10:47 AM
01-23-2007 10:47 AM
Problems with DSN client
Debugging a tcpdump capture I noticed the following behaviour:
-1 The client submit a Standard DNS query looking for a particular domain. This query is directed to the IP address of the nameserver declared on /etc/hosts with Transaction ID 0x07f0, Src port 51687 & Dst port 53.
- 2 Exactly a second later the client submit the same query with the same Transaction ID but Src port is 51689. At this point I haven’t received any responses back from the DNS server
- 3 Three seconds later a query response is send from the dns server with Transaction 0x07f0, Src port 53 & Dst port 51687.
- 4 the client receives the response from the server and submit an ICMP Destination Unreachable (Port Unreachable) pdu for that particular response (the dns response bytes are embeeded)
What’s going on here? I’m suspect that the client is closing the socket too quick and is not waiting for the response, when the response arrives is too late. What can I do to workaround this problem?
Below the resolv.conf and nsswitch.conf files in the client.
# cat /etc/resolv.conf
domain mars.pluton.com
nameserver 10.162.47.52
nameserver 10.162.47.53
retrans 500
retry 2
# cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [NOTFOUND=return UNAVAIL=return]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 11:14 PM
01-23-2007 11:14 PM
Re: Problems with DSN client
This is probably the issue, try removing it or setting it higher.
The default is 5000 milliseconds/5 seconds.
See the man page for resolv.conf for details.
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 05:32 AM
01-24-2007 05:32 AM
Re: Problems with DSN client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 05:36 AM
01-24-2007 05:36 AM
Re: Problems with DSN client
retrans 500
retry 2
I have never used these parameters, the defaults were always good enough.
Suggestions:
Try reversing the order of the nameservers.
See if these two clients respond to pings and check response with the nslookup command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 05:47 AM
01-24-2007 05:47 AM
Re: Problems with DSN client
Can you test w/ another application, try to capture a tcpdump of a inbound telnet, telnet will query dns for the remote host's IP/Name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 06:25 AM
01-26-2007 06:25 AM
Re: Problems with DSN client
However another problem appears after this change ... when starting a telnet session to the client host it takes too long for the login prompt to be presented in my terminal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 06:59 AM
01-26-2007 06:59 AM
Re: Problems with DSN client
You can test with the nsquery command.
# nsquery hosts hostname_of_telnet_client
# nsquery hosts ip_of_telnet_client
The telnetd daemons uses this info to populate the wtmp files, you cant disable this feature you have to fix DNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 01:56 PM
01-26-2007 01:56 PM
Re: Problems with DSN client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2007 03:12 PM
01-26-2007 03:12 PM
Re: Problems with DSN client
I may need some more inputs to understand.
Have your checked the below.
#nslookup
Default Name Server:xxxxx.xxxxxxx.com
Address: xx.xxx.xx.xx
>anyhostname in your network
Doest it resolve the ip address of the host?.
If you dont get the Default name server and the name servers IP address after you enter the nslookup command, you have the difficulty of reaching the DNS server. Does the DNS server what you had used in your resolv.conf is behind a firewall/switch. Were those devices explicitly block the icmp echo requests, if so you may need to tune your ndd parameter ip_ire_gw_probe to '0'.
TQ
Perumal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2007 04:32 AM
01-27-2007 04:32 AM
Re: Problems with DSN client
The telnet server side is doing the reverse lookup so you test nsquery from the server you are telneting into and test for the hostnaem/ip of the telnet client you are coming in from.