setup default DNS server with only one record
jpetersson at garnser.se
Thu Dec 11 17:26:01 UTC 2008
You want to manipulate the "." zone. The config you have should be valid,
just point your "." zone in named.conf to the zone file.
On Thu, Dec 11, 2008 at 1:08 AM, Chris Henderson <henders254 at gmail.com>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 at lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bind-users