One IP in multiple zones

Warren Kumari warren at kumari.net
Wed Sep 21 20:18:20 UTC 2011


On Sep 21, 2011, at 3:56 PM, Adamiec, Lawrence wrote:

> Hi,
>  
> Is it possible to have one IP in multiple zone files for forward lookups?  
Yup, happens all the time:

example.com:
www.example.com.   600   IN A  192.0.2.1

example.net:
www.example.net.   600   IN A   192.0.2.1

foo:
www.foo.com.          600    IN A    192.0.2.1


> What type of troubles would be encountered?

That all depends on how you are trying to use it -- when an application looks up the label it is presumably going to so something like connect to it, and the server is going to have to know how to respond.

For example, if this is a web-server it will need to have virtual hosts configured to is can respond as example.com / example.net / foo.com, etc.

If a mail server, it will need to know what all domains it handles mail for (aliases file, etc)

W


> Larry
>  
> Lawrence Adamiec
> Unix Manager/Web Support Specialist
> Center for Law and Computers
> Chicago-Kent College of Law
> Illinois Institute of Technology
> Room 525B
> 565 W. Adams St.
> Chicago, Illinois
> 60661
>  
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users




More information about the bind-users mailing list