![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
Not sure but I am able to open through IE
|
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Actually Windows' resolver is known to simply drop illegal characters off the end of a host name if it helps to resolve it.
|
|
#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. |
|
#11
|
|||
|
|||
|
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. |
|
#12
|
|||
|
|||
|
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? |
|
#13
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |