Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I have a Windows service with a config file that points to web services it needs to call, is it more secure to put a fake DNS name for the server being connected to, then update the HOSTS file to redirect outbound calls to the right IP address?

share|improve this question
1  
What are you attempting to secure ? –  Iain Aug 17 '12 at 7:10
    
I was just wondering about hiding the identity of the other servers within the network. –  ck. Aug 17 '12 at 7:30
2  
What's wrong with real DNS? –  SmallClanger Aug 17 '12 at 8:51

1 Answer 1

up vote 4 down vote accepted

No, basically. Why would it be? If someone can read the DNS name from the config, then they can simply do a Ping or check the hosts file anyway.

Regardless, though, obscuring names and IP addresses is definitely not a way to do security and will simply make maintenance and management difficult for you.

share|improve this answer
    
Thanks for this. Was just a random thought I had in the shower this morning... –  ck. Aug 17 '12 at 12:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.