From owner-freebsd-isp@FreeBSD.ORG Fri Oct 26 22:54:01 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8AA016A468 for ; Fri, 26 Oct 2007 22:54:01 +0000 (UTC) (envelope-from netslists@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 8FEA713C480 for ; Fri, 26 Oct 2007 22:54:01 +0000 (UTC) (envelope-from netslists@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so168653ana for ; Fri, 26 Oct 2007 15:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=+VIpcMrFqtUVB0OVW14VDqM9ekLSoiopvSVoIW5ygiY=; b=CjP9PKvByChkorvduknjgUhwxMGF2DIyKIx24/RqJU6u9jiJzgZvzcXdJN24sWILumQ0J4OmXQ/RhEaF7ki+wq0TbI2vwf3xrpUqd3Rx1+564lHQNh9vwup5bRJXrdNUu1QAQ7WvJme8eBniF9Xc4VZk3jzIquiHBT2djR4SebA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=JDZJtq41Arp+EgwXp+KkBbWpzBrUjWBnsx7UvVnhzii0kuTLBUxdojk8CHrOYY0WWQttN5HTgX3KM76V9sQkajFRyit9Z9vGecVxhiJ36J4QywGYdO0hUZjOlCFDU4DreOILIGLyJq5qyCcgwIzIveGju3wEdq3DF4735MGe3Vs= Received: by 10.100.202.9 with SMTP id z9mr2168971anf.1193437548102; Fri, 26 Oct 2007 15:25:48 -0700 (PDT) Received: from ?97.101.40.241? ( [97.101.40.241]) by mx.google.com with ESMTPS id d34sm4210758and.2007.10.26.15.25.46 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Oct 2007 15:25:46 -0700 (PDT) Message-ID: <47226964.7060507@gmail.com> Date: Fri, 26 Oct 2007 18:25:40 -0400 From: Sten Daniel Soersdal User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Amir Shrestha References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org Subject: Re: different dns view X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 22:54:01 -0000 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