Solve Windows 2000 DNS server problems

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

DNS logs
You can configure DNS to write logs, and I recommend that you do so. DNS logs can be an invaluable source of information on what went wrong, when it went wrong, and sometimes even why it went wrong. To set up logging, start the DNS MMC by clicking Start | Programs | Administrative Tools | DNS. Right-click your DNS server, choose Properties, and then go to the Logging tab. You can then select the types of DNS actions you'd like to log. By default, Windows 2000 locates the DNS log in the %systemroot%\system32\dns\dns.log file. If you want to change the path to the DNS log, you can do so in the registry. Open the server's registry and change the value of:HKLM\System\CurrentControlSet\Services\DNS\Parameters\LogFilePath. The DNS log file is limited by default to 4MB. Like the log file location, you can change the size of the DNS log file by making changes in the registry. To do so, you need to add a REG_DWORD entry called . Be careful in the registry
Remember to use caution any time you edit the registry. It's wise to perform a full backup before you change anything in the registry.
Check your cache
DNS stores its name resolution information in files called zone files. There are four types of zone files in Windows 2000: Primary, Secondary, Reverse, and Active Directory Integrated (ADI). DNS includes another important file called CACHE.DNS. CACHE.DNS is not really a zone file, but it holds the same kind of information as a zone file. One of the most common problems encountered when working with DNS servers is corruption of the CACHE.DNS file. If your users can resolve everything on the local private network but can't connect to any Web sites on the Internet, this may point to a problem in the CACHE.DNS file. To remedy this situation, first ensure that the DNS Server service is stopped. Then just pop in your Windows 2000 Server CD, find the CACHE.DNS file on the CD, and copy it into the %systemroot%\system32\dns directory on your server, overwriting the other file. Then restart the DNS Server service and check to see if name resolution is working again. Breaking down the problem
After you've eliminated all other potential causes of name resolution failure, you're left with the DNS server itself. A Windows 2000 DNS server is most likely to fail on startup, so the most important thing at this stage is to understand what files and processes are involved in starting or booting a DNS server. The files involved, in order of use, are:

  • BOOT: The BOOT file does two things: It tells the DNS server if it's a root server, and also if it's a primary and/or secondary DNS server for any DNS naming zones.
  • CACHE.DNS: This file lists so-called root hints relevant to your DNS installation's top-level servers. By default, the file contains the names and IP addresses of all 13 Internet root servers. This is because DNS is most often used for Internet name resolution; but if your network is disconnected from the Internet, your DNS servers act as root servers.
  • Zone files: There is one zone file for each zone hosted on a particular DNS server. The zone file contains all machine names and IP addresses relevant to the domain whose information is stored in the zone file.


You can initiate the startup process for a DNS server from three sources: the BOOT file itself, Active Directory, or the registry. By default, a Windows 2000 DNS server stores all startup information in Active Directory or the registry, or a combination of both. Normally this is fine, but you may want to consider changing the way DNS starts by having it start from the ASCII BOOT file in the %systemroot%\system32\dns directory. Starting DNS from the BOOT file simplifies troubleshooting and repair because you can manually edit the BOOT file using any text editor, should you need to. To change the way your DNS server starts, open the DNS MMC, right-click your server's icon, and select Properties. When the Properties window appears, click the Advanced tab. Finally, select Boot From File from the Load Zone Data drop-down list box. You can accomplish the same thing from the registry by finding: HKLM\System\CurrentControlSet\Services\DNS\Parameters. Check to see if it contains a BootMethod entry. If BootMethod doesn't exist, you can create it as a REG_DWORD, setting its value to 1. Values 2 and 3 cause DNS to start from the registry and Active Directory, respectively.

Talkback

"Cannot find server or DNS Error
Internet Explorer ..."

Hello Can any one help please.. I am having problems viewing my web site.. when I type my web address in the address bar I am getting the following message " Cannot find server or DNS Error Internet Explorer ". What very strange is that some people can see the site for there location and others can't, like myself.
If I type in my IP address( i.e 123.76.890.9) it will bring up the site...

Has this happen to anyone before? Do you know if there is a way it can be fixed?

I would like you help with this one please because it's driving me mad..

Regards
Richard

via Facebook 15 August, 2003 00:07
Reply

Hi Rechard

I understood u r problem but more than that i want to know what kind of setup u r having at ur end. bkz, if u r having firewall and ur site ( 123.76.890.9) on DMZ, from LAN u can can access the site with IP address by routing it, at the same time if you want to use ur domain name u should have http access to ur system. plz verify that.

This is one case, If u can give me picture i can help u


waht is this IP Address ( 123.76.890.9)?
--
Raman

via Facebook 22 May, 2004 09:37
Reply

I to have the same problem and got the same error, but only after I uninstalled Trend Micro PC-Cillin Internet Security for SMB. Now, IE is pointed to my server address, trying to bring up the monitor manager it used to be pointed to.

Have you installed any software lately that uses advanced security settings?

takers

via Facebook 29 September, 2004 20:00
Reply

dns problem

via Facebook 29 October, 2005 12:12
Reply

"Cannot find server or DNS Error"
This message only appears for me when I am trying to access a password protected site, such as hotmail or internet banking (once I have typed my password in).

Does anyone have any idea of what is causing this and how I can solve it? I have tried restoring my settings to a previous date, and deleting temporary cookies and files, but still to no avail.

I did have Norton installed on PC for its free period, but have not got AVG and messages keep on coming up from Norton saying PC is not protected (when it is - by AVG). Could this be the issue? (I can't seem to uninstall Norton).

If anyone could help would be most grateful as really want to read e-mails! Sorry Peter for piggybacking onto your query!

via Facebook 24 November, 2005 10:02
Reply

Hi
I'm having the same problem wth DNS Server Error. My provider Wanadoo broadband cannot help me and I am really stuck. I can access websites but when I try to enter internet banking, checkouts, bidding sites I get the error message. I would be really grateful if anybody could help me out with this - it's driving me nuts!

via Facebook 29 November, 2005 15:51
Reply

Try using ethereal to capture your packets (its easier than it sounds). Then compare a good DNS request with a bad. Voilla you have something to go on.

You can make ethereal filter so that only the DNS requests are captured, so this will prevent any confusion finding the correct packets. If that doesn't turn anything up; turn off the filter and see if there is anything obvious.

Ethereal will decide the packets for you _ I don't know how well you understand protocols but usually and passing interest ios enough to get you through

via Facebook 17 February, 2006 10:43
Reply

hi i have fixed this problem many times...
actually if you try to ping ur web site name with www.name.com it will say unknown host and if u try to ping by ip it gives u results.

well 2 issues.....problem with tcp stack...
or a winsock issues...

rebuild/reinstall tcp/ip stack....
or do a winsock fix...
hklm/system/current control set/services/winsock
hklm/system/current control set/services//winsock2
delete both keys .. makse sure u take backup 1st ...
restart the computer..
windows will make a fresh stack of tcp ip....default( c:\windows\inf)
and these keys,,,
u shld be good to go ...lemme knw
dhimanvishal@gmail.com

vishu 21 December, 2006 00:49
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

7 hours ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

15 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

17 hours ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

17 hours ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

19 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

21 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

22 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

23 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

23 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

1 day ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany
GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

1 day ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

1 day ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

1 day ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

1 day ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

1 day ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

1 day ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

2 days ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

2 days ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

2 days ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

2 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint