Re: nslookup
On Mon, 10 Mar 1997, Craig Sanders wrote:
>
> this won't help nslookup at all. nslookup is specifically a DNS lookup
> tool, not a generic hostname resolver - it does a name-server lookup.
>
> it will however, help any program that uses the resolver library to
> resolve host names (i.e. just about every networking program). This is
> probably what Gith wants.
>
>
> However, to get it to work with nslookup, add one of the following lines
> to /var/named/named.local:
>
> mybox IN A 127.0.0.1
> or
> mybox CNAME localhost.
>
>
> if you're really fussy about DNS "correctness", you might want to also add
> another PTR record to /var/named/named.rev-local so that the reverse lookup
> for 127.0.0.1 will also mention "mybox":
>
> add the following line to /var/named/named.rev-local just after the
> "1.0.0 " line:
>
> IN PTR mybox
>
>
> remember to update (increment) the serial number in both files, and get
> named to reload its database with 'ndc reload'.
>
Ok, I tried this and it didn't work either.
I even remembered to update the serial numbers. :)
Any other ideas? This bind/named thing seems tough....
---------------------------------------------------------------------
Willie Daniel
gith@quicklink.net
http://users.quicklink.net/~gith/
---------------------------------------------------------------------
Reply to: