Tony Earnshaw
2003-11-03 15:40:47 UTC
ping localhost is doing fine, dig localhost give me
; <<>> DiG 9.2.1 <<>> localhost
;; global options: printcmd
34921
1, ADDITIONAL: 0
;localhost. IN A
localhost. 600 IN A
127.0.0.1
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.; <<>> DiG 9.2.1 <<>> localhost
;; global options: printcmd
34921
1, ADDITIONAL: 0
;localhost. IN A
localhost. 600 IN A
127.0.0.1
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?
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
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