|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Error: Name service error for localhost: Host found but no data record of requested type
From: Tony Earnshaw (tonye
billy.demon.nl)
Date: Mon Nov 03 2003 - 09:21:35 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
kk ii wrote:
> ping localhost is doing fine, dig localhost give me
> (192.168.10.1 is the DNS):
>
> ; <<>> DiG 9.2.1 <<>> localhost
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
> 34921
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY:
> 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;localhost. IN A
>
> ;; ANSWER SECTION:
> localhost. 600 IN A
> 127.0.0.1
>
> ;; AUTHORITY SECTION:
> localhost. 600 IN NS
> localhost.
>
> ;; Query time: 3 msec
> ;; SERVER: 192.168.10.1#53(192.168.10.1)
> ;; WHEN: Mon Nov 3 22:21:42 2003
> ;; MSG SIZE rcvd: 57
>
>
> I don't understand why it can find localhost. Isn't
> it obvious that even if the machine is not connected,
> localhost is resolved to 127.0.0.1 anyways?
Try: 'dig -x 127.0.0.1' and report the result here.
What does /etc/hosts look like?
--Tonni
--
Tony Earnshaw
Do not CC me or your mail will probably be rejected.
I don't like this, either. Blame it on Swen and a slow
Internet connection.
http://www.billy.demon.nl
Mail: billy-at-billy.demon.nl
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]