different dns view
Sten Daniel Soersdal
netslists at gmail.com
Fri Oct 26 15:54:01 PDT 2007
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
More information about the freebsd-isp
mailing list