Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have setup a BIND named server and I am trying to figure out how to get it to return a local IP, rather than a public IP, for a handful of servers that we have.

Here's an example of what the name server currently returns: -> (public IP)

What I would like for it to return: -> (internal IP)

How would I go about configuring this?


share|improve this question

You have to use views in bind. Look down in the split DNS section

It allows you to create a view based on IP subnets where you can say this view should resolve using this file and this other view should resolve with this file.

share|improve this answer

You need to use views, you create ACLs based on networks, that list who should receive replies of private or public IPs.

share|improve this answer

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.