Question on DNS setup change not working.

Michael D. Setzer II mikes at kuentos.guam.net
Fri Sep 2 18:56:02 UTC 2011


Our MIS department just decided to not allow the use of the public 
IP addresses of system from local machines, so I made the 
additions to the hosts file with the private ip and the name.
restart named and restarted squid, and squid picked up the 
change, and would bring up pages using the name. Unfortunately, 
dig and other options would still be using the public IP instead.

Tried restarting the machine to see if something might not have 
been changed, but it remains the same.

In the past, I had done this same thing for local services I have.
redhatgcc.dyndns.org has a public ip of 202.128.73.24, but on the 
inside it has the private ip of 192.168.50.41. So, the hosts file has 
the link between the 192.168.50.41 and the 
redhatgcc.dyndns.org,  and it reports that.

But now the college web sever that has a public IP of 
202.128.72.2 is now mapped internally to 10.10.10.11, so I added 
the same mapping but dig still reports the 202.128.72.2 number, 
and that will no longer work from the inside?

Is there something that might be caching the old information even 
after a system restart?  

At this point to get it to work, I've had to point to there DNS server 
that using 172.16.0.4? We've got less than 1000 machine on 
campus, but they now have 10.x.x.x networks, and 172.16.x 
networks and a number of 192.168.x networks...


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
SETI        11189934.576302   |   EINSTEIN     6468781.769851
ROSETTA      3563786.501816   |   ABC          7853564.918328



More information about the users mailing list