Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a simple concept question regarding to the hostname configuration on DNS server.

I am trying to set-up a webserver where there is an internal address and external address.

Example: Server name: External address: Internal address:

Does that mean I to have to give the external DNS server with to point to and internal DNS server with to point to

In order to get both address resolvable by the DNS server? (both internal and externally)

share|improve this question
If your server is itself the gateway from to the exterior and some internal client tries to make a TCP connection to, the OS should route the packet to itself. – Nowhere man Sep 4 '12 at 22:30
This is not a routing issue. He needs to resolve to different addresses for internal and external clients. Therefore he needs to configure different addresses in internal and external DNS. So, basically, the answer to the question is: yes, that's exactly what you need to do. – Ansgar Wiechers Sep 4 '12 at 22:47

1 Answer 1

Yes. This is called split horizon DNS, and is implemented in Bind with its views feature.

share|improve this answer
Thank you folks for answering!! I will give it a try :) Greatly appreciated it!! – Cute Puppy Sep 5 '12 at 18:47

Your Answer


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.