
Am 22.10.12 schrieb Ralf Hildebrandt r@sys4.de:
Und auch nachsehen was in /etc/resolve.conf steht
was sagt
dig localhost
und sehe mal in der /etc/hosts nach
das sollte mind drinnstehen
127.0.0.1 localhost
vps47373:~ # cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 84.201.0.34 nameserver 194.187.164.20 vps47373:~ # dig localhost
; <<>> DiG 9.7.6-P3 <<>> localhost ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 1274 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION: ;localhost. IN A
;; AUTHORITY SECTION: . 1499 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2012102201 1800 900 604800 86400
;; Query time: 3 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Oct 22 21:43:29 2012 ;; MSG SIZE rcvd: 102
vps47373:~ # nslookup localhost Server: 8.8.8.8 Address: 8.8.8.8#53
** server can't find localhost: NXDOMAIN
vps47373:~ # cat /etc/hosts # # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname #
# special IPv6 addresses
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts
127.0.0.1 localhost.localdomain localhost # Auto-generated hostname. Please do not remove this comment. 84.200.20.137 vps47373.port-sadtec.de vps47373 ::1 localhost ipv6-localhost ipv6-loopback