The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
dash after ampersant csecnarf UNIX for Dummies Questions & Answers 2 03-12-2008 12:47 PM
Spicebird: Thunderbird, Lightning, and a dash of collaborative flavor iBot UNIX and Linux RSS News 0 03-07-2008 09:30 AM
Solaris - unknown hostname - how can I change hostname? XNOR UNIX for Dummies Questions & Answers 1 03-29-2007 07:52 PM
double-dash options dhinge Shell Programming and Scripting 1 01-10-2007 07:32 PM
How to remove a file with a leading dash '-' in it's name? GSalisbury UNIX for Advanced & Expert Users 3 05-05-2003 08:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 05-23-2008
Registered User
 

Join Date: May 2008
Posts: 10
Not sure but I am able to open through IE
Reply With Quote
Forum Sponsor
  #9  
Old 05-26-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Actually Windows' resolver is known to simply drop illegal characters off the end of a host name if it helps to resolve it.
Reply With Quote
  #10  
Old 05-30-2008
Registered User
 

Join Date: May 2008
Posts: 10
This is wired output but as Era stated I could believe it:

From Unix box:

11> telnet nyustern-.collegemailer.com 80
telnet: nyustern-.collegemailer.com: Name or service not known
nyustern-.collegemailer.com: Unknown host

12> telnet nyustern.collegemailer.com 80
Trying 209.200.118.155...
Connected to nyustern.collegemailer.com.

From DOS command window:

C:\>telnet nyustern-.collegemailer.com 80


GET / HTTP/1.0
Host: nyustern-.collegemailer.com

HTTP/1.1 302 Object moved
Connection: close

But my issue is how can I resolve this at code level - what I need to do in such a case?

Last edited by uunniixx; 06-01-2008 at 11:04 PM.
Reply With Quote
  #11  
Old 06-01-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
You can probably approximate what Microsoft is doing by simply dropping any illegal trailing characters.

By the by, the highlighted Server: header is a red herring; the issue is with how a Windows client would resolve the domain name.

If you can run tcpdump on the DNS traffic from the Windows box while it resolves and visits the site in IE (or simply opens a telnet session), you should see what host name the Windows box is actually resolving.
Reply With Quote
  #12  
Old 06-03-2008
Registered User
 

Join Date: May 2008
Posts: 10
I tried ways to dump tcp packets in windows and Unix but unfortunately unable to succeed cause I have a windows network login and ssh to unix development servers as developer.

Is there any other way I can do away with findings?
Reply With Quote
  #13  
Old 06-03-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
You don't have any way to get access to a local Windows box? Lucky bastard. (-:

I believe there are VMware Player images with preinstalled Windows images you could play around with. Install Ethereal and watch it resolve. DNS is UDP port 53.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0