Solved

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

Posted on 2004-10-12
6
3,213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 50 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
Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

 

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
QoS on Cisco router 10 60
VLAN's by IP 10 69
patch status tool - free 9 61
redirect certain certain urls to a subdomain on a different server 4 42
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

739 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