[Ilugc] one host IP resolvable to two different hostname

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Sat, 22 Oct 2011 12:44:47 +0530

Can't you use CNAME? Or just add a separate A record?

This has nothing to do with split horizon.

Even 1000 domains can resolve to the same IP.

Only same domain resolving to two different IP is addressed in split horizon DNS

-Girish
On Sat, Oct 22, 2011 at 12:22 PM, Mohan Sundaram <mohan.tux at gmail.com> wrote:

On Fri, Oct 21, 2011 at 9:53 PM, Arun Khan <knura9 at gmail.com> wrote:
On Fri, Oct 21, 2011 at 7:34 PM, ?<smal at ccmb.res.in> wrote:

on WAN it should be resolvable to two same host name of peter.alex.com and 
xavier.alex.com using
same WAN IP of 127.242.116.226.

Two different FQDNs resolving to a single IP is allowed in BIND9.
How the FQDNs get resolved depends on your BIND configuration.

If it is achievable, kindly share your valuable thoughts with me.

Suggest you read up BIND docs, configure it and test all the perms and
combos of FQDNs before you start using the server in conjunction with
Apache.

+1. Read up BIND docs. There is a feature called split horizon
configuration where the zone lookup is done based on the
subnet/interface from where the query arrives.

However, for your need, I think just name based virtualhost would work
if you are just looking at hosting site. Why are you keen on resolving
the host names to specific IP addresses?

-- Mohan Sundaram
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




-- 
G3 Tech
Networking appliance company
web: http://g3tech.in ?mail: girish at g3tech.in

Other related posts: