Trying to make NS resolve all requests to a certain ip
Kevin Darcy
kcd at daimlerchrysler.com
Wed May 1 01:14:34 UTC 2002
First of all, NS records take names, not IP addresses.
Your nameserver apparently knows something about the name "domain.com", or some
intermediate zone (e.g. "com") and this more-specific information is overriding
your wildcard entry.
- Kevin
Mike K wrote:
> I have a box setup w/ bind8. I want all requests to resolve to a certain
> ip. Here's how I currently have it setup. Any idea why it doesn't work?
>
> In my named.conf:
> zone "." {
> type master;
> file "named.root";
> };
>
> named.root:
>
> $TTL 3600
> @ IN SOA host.com. root.host.com. (
> 2002043000 ; Serial
> 3600 ; Refresh
> 900 ; Retry
> 3600000 ; Expire
> 3600 ) ; Minimum
> IN NS <box's ip>
> * IN A <ip i want all requests to resolve to>
>
> This works when I try "nslookup w <box's ip>" ..... but "nslookup domain.com
> <box's ip>", it shows Can't find domain.com: Non-existent host/domain
>
> Any ideas?
>
> ----------------------------------------------------------------------------
> -----
> This message has passed a Norton Anti-Virus scan.
More information about the bind-users
mailing list