Recent Articles

Lawrence On Embedded Virtualization
VMware and XenSource are moving to hardware near you: Virtualization: A feature of the hardware, not the OS?. It's not clear to me how much cost this will add - VMware ESX runs from $1,000.00 on up, but assuming...

Securing A Wireless Network Connection With WEP...
I have just set up a wireless connection at home - whenever I log on it says that the connection is unsecure - how do I secure it? I have a new Toshiba Laptop and a Phillips Router. I saw something about a WEP...

Server Monitor Alerts In ColdFusion 8
So this isn't exactly old news, but while I've played quite a bit with the new Server Monitor in ColdFusion 8, I never really took a good look at the Alerts section. This week I finally took some time to play with alerts.

Linux Security: It's Importance in Today's World
In spite of several other operating systems gaining a huge monopoly in the market, Linux has always has its own fan following. Even today, many people are realizing the strategic important of Linux as an operating system. There are several reasons for this - the quality...

Server Monitor API In Coldfusion 8
In an earlier post I talked a bit about how the Admin API has been updated in ColdFusion 8. For folks who don't know what this is - it is a way to get into the internals of ColdFusion directly from CFML. It requires...

Criteria For Non-Windows, VMware & Network...
With the announcement of the purchase of Engyro, Maarten from Techlog.org confirmed that the Engyro MPs were in fact pulled from the market. This put a crimp in the non-WIndows story for more than one person...



Recent WebProNews Articles

Google, DoubleClick On Defense Against Senators
The main defense put forth by Google and supporters of its proposed acquisition of DoubleClick holds that the two companies do business differently when it comes to advertising. One company sells ads, one delivers...

Live Search Overhauled And Over-hyped?
Microsoft's Live Search overhaul is, to understate it, aggressive, and their presentation of it dazzling to the point of euphoric. Their aim: To reclaim territory thought by some to be irretrievably lost to Google.

Live Search More Relevant Than Google? No.
Microsoft has issued a major update to Live Search, and the Live Search Team claims that, compared to the old version, the new one is “relevant, faster and easier to use.” Fair enough, but the question remains: is it more relevant, faster, and easier to use than Google?

Study: Google Would Raise DoubleClick Prices
The Social Science Research Network (SSRN) released an antitrust analysis of the proposed Google and DoubleClick, and suggested the deal would harm DoubleClick's display ad clients. A Senate...

Small Biz Has An Attitude About Search
Though the small and medium business (SMB) market has a handle on the importance of a website, nearly six out of ten are not actively doing search or other types of online marketing. Those who follow the search...

Yahoo Moving On Up The Stock Charts
Can't see nothin' in front of me Can't see nothin' coming up behind I make my way through this darkness I can't feel nothing but this chain that binds me -- The Boss doing, what else, The Rising. It may be too soon...


09.28.07


A DNS Puzzler

By A.P. Lawrence

Here's an interesting puzzle involving DNS.

It's about Windows, Linux, and OS X, and I don't have a complete answer yet, but I thought I'd share what I've found so far.

The other day I was working on my Mac and wanted to access my.calendars.net. I couldn't, and my browser told me that "Firefox can't find the server at my.calendars.net". I assumed the site was down, but later in the day I happened to be working at my wife's computer for a few minutes, and while I was there I tried again and the site worked. OK, so it happened to be down when I tried it earlier..

Well no. Back at my Mac, Firefox still said it was down. Time to drop to the command line:



Hmmm.. that's the Verizon router, but my wife's machine uses the same thing, so it's not at fault. Or is it? Let's try something different. dig will let you specify a server to use. I gave it something I know is in Boston:



Download Now!

That tells me that this machine indeed can resolve the address; it just doesn't like something about the Verizon router. Let's try something else:



That "+ignore" tells dig to (from the man page) "Ignore truncation in UDP responses instead of retrying with TCP". If you look carefully, you'll notice that when I used the server in Boston, I got 37 addresses back, but with "+ignore", I only got 29. Is that the "truncation"? Looking at the "MSG SIZE rcvd" section, the Boston server has ";; MSG SIZE rcvd: 691", while the "+ignore" dig has ";; MSG SIZE rcvd: 498", making me very certain that there's a 512 byte packet involved.

Let's try Linux. I have a Linux server on the network, and several Linux machines inside Parallels. I tried all of them: they fail exactly as the Mac does..

Back to dig on the Mac again. You can tell dig not to use tcp with "dig +tcp". I tried that with a name dig could resolve, and the router refused me. Apparently this router doesn't want to give any tcp DNS replies.. I looked into that, but couldn't find any setting I could change. It did let me download a text config file, which told me that this router is actually an Actiontec model MI424WR, but I don't entirely understand the config file.. looks like it only accepts udp:



What do we know so far? The answer from UDP (the default) is larger than will fit in the UDP packet. My Verizon router apparently doesn't want to use TCP for DNS. Windows works.. does Windows use a different size? Let's try to find out..

My wife's machine wasn't available, but I have Windows XP running under Parallels, so I alt-tabbed over to that. Just to be compulsive, I tried it in a browser first - it works.

OK, so let's see what's really going on. In a command prompt, I ran "nslookup" and asked it to resolve my.calendars.net - it could not, though it took a long time trying. I did "set debug" and was able to observe that it tried twice, and got truncated answers both times. That's interesting: apparently "nslookup" doesn't use whatever dlls the rest of Windows uses.

That's as far as I've been able to get so far. It looks like Windows might use a different udp packet size (though not for nslookup). I found "dig" for Windows, but couldn't get it to work.. so I need better Windows tools to find out more..

*Originally published at APLawrence.com


About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com

About NetworkNewz
NetworkNewz editors, writers and contributors focus on both the big picture and the details of networking. At NetworkNewz our goal is to deliver to you The Key To Network Management.

NetworkNewz is brought to you by:

SecurityConfig.com NetworkingFiles.com
ITmanagementNews.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITmanagementNews.com


-- NetworkNewzis an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | newsletters | comments/feedback | submit article


The Keys To Network Management Ask Questions in the Networking Forum NetworkNewz News Archives About Us Feedback NetworkNewz Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact