Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2007 18:25:40 -0400
From:      Sten Daniel Soersdal <netslists@gmail.com>
To:        Amir Shrestha <itguy.nepal@hotmail.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: different dns view
Message-ID:  <47226964.7060507@gmail.com>
In-Reply-To: <BLU121-W431821F4613116EAA34F13E1A50@phx.gbl>
References:  <BLU121-W431821F4613116EAA34F13E1A50@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Amir Shrestha wrote:
> hi all,
> I have a domain abc.com hosting in US. Now i have setup abc.com.xx hosted in a particular country. Can i setup dns such a way that it could redirect all the request from that particular country to abc.com.xx when request is make to abc.com.
> Please advice.
> IT guy
> 

This is relatively painlessly done in BIND ('named' in base system).
The tricky part is figuring out what country the addresses come from.
RIPE (at least) have an attribute called "country" for inetnum records 
but i don't think it is mandatory.
Different ranges belong to different registrars except for a few.
Be careful not to "spam" the whois services.

-- 
Sten Daniel Soersdal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47226964.7060507>