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.

How can I configure DNS so that a domain is resolved into a local LAN address while in premise, and use the default DNS resolution elsewhere?

Thanks...

share|improve this question

2 Answers 2

Create an internal zone and records corresponding to the external zone. When clients are on the LAN, using the internal DNS server, they'll get DNS resolution for the internal zone. When clients are not on the LAN, using their ISP (or whichever) DNS server, they'll get DNS resolution for the external zone.

share|improve this answer

You also may want to look into split-dns. This allows you to determine how DNS requests are handled and routed for internal and external users in your org. sharing the same DNS namespace.

Can you provide a scenario to clarify your question? The above suggestion may be overkill depending on what you are really trying to accomplish

share|improve this answer

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.