Michael,
What you are experiencing is correct when it comes to the external dns
resolving. The firewall is preforming the translation from your public ip
to your internal ip. There may need a change in the firewall to make this
work correctly with new ip address. I've seen this exact thing happen when
the firewall was missing a translation configuration or a host lookup
record. I would contact the network support and have them check the
firewall settings to see if they have forgot to change any settings from old
ip to the new ip.
My 8 servers do exact same thing as your server is doing resolving to public
ip and I had to setup an internal dns server to allow my servers to resolve
the computer names correctly instead of modifying my lmhost and host files
on each server.
Good luck.
Dan
-----Original Message-----
From: Patti, Michael
Sent: Friday, July 01, 2011 5:27 PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?
When I run 'ipconfig /flushdns' from the web server, it reports back:
---
Windows IP Configuration
Could not flush the DNS Resolver Cache: Function failed during execution.
---
I did 'ipconfig /all' to check whether the web server has WINS proxy
enabled. It does not. It might be that the DNS servers used by web server
are caching, but the server itself does not have the 'DNS server' service
enabled. The web server is located at a data center, so it's entirely
possible that the external DNS servers have cached settings, but would that
affect communications between to services running on the same machine? That
seems to be what's happening here, because the publishing service and
Coldfusion are running on the same machine, and the problem occurs when the
publishing service tries to contact CF on the (wrong) IP address.
Dan Blickensdorfer asked what happened if I removed the server from the
hosts file and then did an nslookup for {servername}. The hosts file
doesn't have an entry for {servername}, just '127.0.0.1 localhost' and
the entries I added to correct the problem. When I do an nslookup for
{servername}, it points to the external DNS server, and then reports back:
---
C:\Documents and Settings\user>nslookup [myservername]
Server: cache01.theplanet.com
Address: 67.19.0.10
*** cache01.theplanet.com can't find [myservername]: Non-existent domain
---
Note that I'm omitting the actual name of my server in this e-mail, so
[myservername] is not the literal value I'm doing the nslookup against.
When I ping [myservername], it does report back the correct primary internal
IP address of the server (192.168.31.2).
The entries added to the hosts file force the server to look to the new
internal IP addresses assigned to the server, but when I comment out those
entries and ping again, it's resolving to the *external* ip addresses for
those sites, which might suggest that the publishing service is using the
domain name to establish the connection (it's a web service, after all) and
when it has to reach out beyond the boundaries of the server, it's going
through the external DNS server to find the domain, receives a bad response
(10.0.0.x) and fails at that point? Something like this:
With host entries in place:
Publishing service ---> www.[domain].com ---> 192.168.31.x ---> found it,
good, call CF ---> publish the record
Without the host entries in place:
Publishing service ---> www.[domain].com ---> external DNS server
(67.19.0.10) --- > www.[mydomain].com ---> 10.0.0.x ---> can't find it,
bad, kablooie.
Does that seem to make any sense?
-----Original Message-----
From: Bobby Hartsfield [mailto:[email protected]]
Sent: Friday, July 01, 2011 3:12 PM
To: cf-talk
Subject: RE: Changed internal IP addresses on server - cffile breaks?
Have you flushed DNS on the two machines?
ipconfig /flushdns
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-----Original Message-----
From: Patti, Michael [mailto:[email protected]]
Sent: Friday, July 01, 2011 11:36 AM
To: cf-talk
Subject: Changed internal IP addresses on server - cffile breaks?
I recently had to change the internal IP addresses of my Windows 2003 (32
bit) server that is running CF8 standard. The IPs were changed from a
10.0.0.x format to 192.168.31.x format.
After the change was made, CF appeared to be running fine; but I'm running
into a problem with <cffile> not writing .htm files to the file system.
When I add entries to the server's hosts file to hardcode the mapping to the
new internal IP addresses, it works fine, so somewhere in the server's
internals, some file isn't picking up on the change.
Is there anything that needs to be done in Coldfusion to register the change
of the internal IP addresses?
Thanks,
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346047
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm