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.

On my Windows server, example.com resolves to 1.1.1.1. A software I use resolves example.com expecting 1.1.1.1, but I need to modify this for the domain to resolve to 2.2.2.2 instead.

Usually, I would use the hosts file, however the software checks the file and doesn't run if example.com is in the hosts file. So, I need another method to solve the problem.

I currently use Google's public DNS. If I must run my own DNS server modified to make example.com resolve to 2.2.2.2, that's not a problem, but I'd only use this as a last resort.

How can I solve my problem, preferably without a custom DNS server?

share|improve this question
add comment

1 Answer

If you do not have control of the domain example.com to make DNS changes, and you cannot edit the hosts file for reasons stated above...then your only other option would be to create a local nameserver to assist you.

share|improve this answer
    
It sounds pretty impractical, though, since I'd just be setting it up to resolve one domain. –  Anthony Apr 26 '13 at 7:34
1  
well the hosts file is designed exactly for this purpose. is there some configuration within your software so that it just runs independently from any changes in the hosts file? –  vlad Apr 26 '13 at 7:38
    
Smells like bypassing some copy protection - if the software CHECKS the host file for the specific entry, then obviously the provider of the software is protecting against "simple" redirects. –  TomTom Apr 26 '13 at 8:37
add comment

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.