You want to manipulate the "." zone. The config you have should be valid,
just point your "." zone in named.conf to the zone file.

/Jonathan

On Thu, Dec 11, 2008 at 1:08 AM, Chris Henderson <[EMAIL PROTECTED]>wrote:

> I am trying to setup a default DNS server for one of my restricted
> network segment so that no matter what people type in their browser,
> they will be redirected to a single IP address or the hostname. The
> zone file that I have setup is partially working - it resolves
> <anything>.mydomain.com to a single IP address but doesn't resolve
> <anything>.some-other-domain.com (eg. www.cnn.com) - it just gives up.
> Here is my zone file. Any help would be highly appreciated. Thanks.
>
> $TTL 1W
> @               IN SOA          nms.mydomain.com.
> hostmaster.mydomain.com. (
>                                42              ; serial
>                                2D              ; refresh
>                                4H              ; retry
>                                6W              ; expiry
>                                1W )            ; minimum
>
> @               ns              nms.mydomain.com.
> *               A               192.168.25.25
> _______________________________________________
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to