How to enable DNS to resolve all domains to LOCAL IP
Barry Margolin
barmar at alum.mit.edu
Fri Feb 18 03:31:59 UTC 2005
In article <cv2lim$3064$1 at sf1.isc.org>,
"RouterSoftware" <pawanbhati at gmail.com> wrote:
> Is there any way to configure a webserver/ DNS server such that it
> resolves all domains to the local ip address.
> Request: resolve anydomain.in
> Response: the server resposne should be its own ip.
>
> Basically, I want to have a configuration whereby, if a nameserver
> points to my DNS, then my webserver should resolve it to itself and
> serve a default page.
This question must be asked at least once a week here, doesn't anyone
check the archives first?
Configure your server as authoritative for the root zone, and put a
wildcard A record in the zone that resolves to your IP.
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
More information about the bind-users
mailing list