bind named server - forward some requests to other servers

Posted by Pentium100 on Server Fault See other posts from Server Fault or by Pentium100
Published on 2013-10-21T12:36:55Z Indexed on 2013/10/21 15:56 UTC
Read the original article Hit count: 263

Filed under:
|
|
|

Is there a way to make bind answer some queries but forward all other queries (of the same domain) to another server, as in:

example.com A 127.0.0.1
www.example.com A 127.0.0.1

everything not on this list (example.com MX, ftp.example.com A etc) - ask 192.168.0.1 (another DNS server)

Essentially I want to intercept some (but not all) queries going to (in this example) 192.168.0.1 and answer for it.

example.com A- intercept
www.example.com - intercept
example.com MX - pass trough
ftp.example.com - pass trough

© Server Fault or respective owner

Related posts about linux

Related posts about Windows