Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Why do I need to flushdns and re-registerdns on startup

Posted on 2004-10-12
6
Medium Priority
?
3,233 Views
Last Modified: 2008-01-09
This is probably a stupid question- nothing that a nice re-format wouldn't fix-

but on my workstation, i have to run ipconfig /flushdns and then run ipconfig /registerdns before I can access my own website.

It is a wierd DNS issue- one that probably will be fixed just by formatting this machine.  But, I wanted to throw this question out there, in the case that this has happened to somebody else before, and was able to address it.

Any thoughts?
0
Comment
Question by:recruz
6 Comments
 
LVL 3

Expert Comment

by:_Jochen_
ID: 12289807
is the website running on your computer?
If yes, maybe the IP you get from your ISP has changed, so you have to reinit the DNS entry.
0
 

Author Comment

by:recruz
ID: 12289835
oh no- we have a windows 2000 active directory domain- i'm using the provided DNS services on our domain controller- and we have a web server serving the website-

on my workstation, in the morning whenever I come in to work, I cannot access my own website until I flush the dns and re-register it.  After that, it works great til the days' end.

It's so odd ...

0
 
LVL 57

Accepted Solution

by:
Pete Long earned 150 total points
ID: 12289859
whats the url?

put an entry in your host file (under system32/drivers/etc)

<ip address>    <your domainname>

then you wont need to use DNS to connect to it :)
0
New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

 

Author Comment

by:recruz
ID: 12289977
ahhh yes- that is a working solution- not necessarily the answer I want, but technically I can live with that-

I can credit you the answer, but to anybody else out there ... any thoughts on why DNS isn't resolving automatically?

 (i like the idea of it dynamically finding the correct address- means it's working its magic-- hehe)
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12290041
ThanQ

Is the IP address of the web server static? it sounds like an internal site yes?

for instance if the server is called server1 and the site is called http://mysite then you need to create an A record in your DNS forward lookup zone that has mysite pointing to the correct IP address
0
 

Expert Comment

by:razed117
ID: 12557690
Verify your web server is not set up to use DHCP. It sounds like your client DNS cache is providing information that is no longer accurate which would occur if your web server is getting a new IP address via DHCP each night so when you come to work the following morning its IP address and your workstations cached DNS information do not coincide with each other.
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Make the most of your online learning experience.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question