Link to home
Start Free TrialLog in
Avatar of adnetwork
adnetworkFlag for United States of America

asked on

Must run ipconfig /flushdns in order to access subdomains of my main domain.. Why?

I run 5 computers on a home business network and access the internet using a DSL Router all networked together. We use MS live One care for our firewall/adware/virus protection. We have a leased server on the internet with several domains (30approx) all share the same ip. One particular domain will cause the "file cannot be found" error only when we access the subdomains of the main. We must run the ipconfig /fushdns under the command prompt in order for the sites to be accessable again .. This happens several times a day, only on one domain only on the subdomains. we have 3 of our machines running Vista and 2 running XP  both OSs have the same problem. The error does not occur network wide, some can access and some cant. It doesnt seem to happen  on other the domains on our server with subdomains but it might, we dont access the other subdomains as often as we do these
Avatar of dfxdeimos
dfxdeimos
Flag of United States of America image

So let me understand what you are saying:

You have a web server that exists somewhere on the internet. It hosts a bunch of websites. They all use the same IP with different host headers.

You have several computer at home. You are in a WORKGROUP setup at home.

One one of the domains that is hosted on the web server you have intermittant trouble accessing a subdomain. Running "ipconfig /flushdns" resolves the issue when you are unable to access it. No other domains have this issue. The issue affects all workstations.

Is that correct?

Are all your computers set to DHCP? If so, what device is serving DHCP? Also, are they pointing to the ISP's server for DNS?
Avatar of mtneagle
mtneagle

That's a likely scenario - your DHCP is probably pointing your DNS to the MS gateway which is maybe doing the wrong thing like rewriting the TTL (time to live) of your DNS entry. But you probably need to do some testing.

It's also a common thing for hosting providers to have an extremely short TTL for domains. But we're assuming the IP is actually changing between DNS queries. You should compare a
'nslookup whateverdomain' when it's not working, then do the flushdns to fix it, and the again
'nslookup whateverdomain' to see if it changes.
Avatar of adnetwork

ASKER

My DHCP server is the Netropia 2247-02 router for the DSL ..
-------
 I did a nslookup for the subdomain while it was working and I attached the response .
It hasnt stopped working yet today but I will post that nslookup response when it does
-------
Our LAN address set in the router is 192.168.1.254  mask 255.255.255.0
DHCP is set at Starting IP is 192.168.1.1   -   ending IP is 192.168.1.253
Our Novell 5 Server is set to IP 192.168.1.5  mask 255.255.255.0  

I dont have any other settings configured in the Netopia router and perhaps I need to.. but I dont understand the setup well enough to know what needs to be done
nslookupconfig-working.gif
netopiaconfig.gif
Can you show us your DHCP Server options page in your Netopia device?
Here are the screens under the DHCP Setup
DHCPip.gif
IPSubnet.gif
LanIP.gif
SerialNumbersDNS.gif
You said that your Novell server is at a .5 address, yet you also have that address included in your DHCP range. I am not sure if that is causing this particular issue, but I want you to change the scope of your DHCP server to something like:

192.168.1.25 - 192.168.1.50

It seems like 25 addresses are more than enough (since you are only using 4 currently).
Also, to rule out the possiblity that it is an issue with your DNS server, you can modify the DNS settings on your Netopia device to:

208.67.222.222
208.67.220.220

These are free DNS server ran by "Open DNS"

Once you make these change then run an "ipconfig /release && ipconfig /renew" from the command prompt of each machine.
Obviously make a note of any settings you change so you can revert back if there are any issues.
I have set the ip scope to the 25 ips and am hesitant about the dns settings.. they have a notation with in the configuration screen not to change the dns if your internet provider dynamically serves your dns to the router.. how would I test for this ?

I have not had an incident where the sub domain has been inaccessible yet today good sign..
ASKER CERTIFIED SOLUTION
Avatar of dfxdeimos
dfxdeimos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for walking me thru the solution .. quickly and easily.. I appreciate the help.. I have switched everything and it has been working without incident for a few days now.. If I have any other problems I will re-post..

thanks, again