nslookup problem.
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Thu Nov 30 22:17:26 UTC 2000
> Dear all,
>
> if I check my machine with nslookup, it does not show localhost.
>
> % nslookup localhost
>
> Server: apt45.com
> Address: 208.30.28.31
>
> *** apt45.com can't find localhost: Non-existent host/domain
What is in your /etc/resolv.conf? Localhost is found using
the resolvers search mechanism by looking for
localhost.<domain> or localhost.<search-element> where
<domain> and search element come from /etc/resolv.conf.
This is why most forward zone files have
localhost IN A 127.0.0.1
>
> but my ifconfig is OK.
Nslookup is just performing database lookups. It has nothing to
do with ifconfig.
>
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:3924 Metric:1
> RX packets:302328 errors:0 dropped:0 overruns:0 frame:0
> TX packets:302328 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
>
> How can I solve this problem?
>
>
>
Ensure that there is appropriate A records in the relevent forward
zones as defined by /etc/resolv.conf. Ensure that there is
domain and seach entries in /etc/resolv.conf.
Mark
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list