DNS split zone

D-CPA
D-CPA used Ask the Experts™
on
We have a problem, we use different DNS Servers (windows and bind).

We need to override only one R-record in one external Zone and the rest should be forwarded. Like a local HOSTS-file.

I think we need a local zone file, but with only one record in it. So we would like to change the result of only one DNS-Address to an internal IP. Everything else should be forwarded like normal.

A solution for windows or bind should be fine.

Thanks in advance.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
One solution is to create a zone with the Address.

e.g. Host www.xy.de
Zone www.xy.de
and assign the zone the desired IP

is there a different way?
PowerShell Developer
Top Expert 2010
Commented:

That's pretty much the best way. The host name inside the zone (www.xy.de) would be blank so it appears as "same as parent folder".

Chris
Chris DentPowerShell Developer
Top Expert 2010
Commented:

Er sorry, blank for MS DNS, @ for BIND. It doesn't matter which one you use, ofc.

Chris
If i understand your requirement correctly, you need to resolve the same thing to two different ips for external queries and internal queries.

Split horizon Configuration of Bind or Creating views is the best way to do so.

You can create External and Internal Views or you can create a different view for that network or group of ips that you want to be able to resolve a different record for that particular zone, and rest everyone else except the ones you list will see it as the regular one.

For complete reference on how to configure it , you can look at this link :

http://www.cyberciti.biz/faq/linux-unix-bind9-named-configure-views/

Author

Commented:
Thank you all.

@amitnepal
The DNS Server is used internally, and the real zone is not under our control so we don't know if there has been a change. So we need to redirect www to our internal Server, without any impact on our mail servers. All servers use the internal DNS and this forward to the provider.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial