Portál AbcLinuxu, 17. dubna 2024 20:45
/etc/hosts
, /etc/{host,nssswitch,resolv}.conf
-- jinymi slovy neni problem s DNS?
root@slon ~ # chroot chroot/ I have no name!@slon / # ls / /bin /etc /: bin etc lib usr /bin: bash cat ls nc strace /etc: host.conf hosts nsswitch.conf resolv.conf I have no name!@slon / # nc www.abclinuxu.cz 80 GET / HTTP/1.1 Host: www.abclinuxu.cz HTTP/1.1 302 Moved Temporarily Date: Sat, 28 Feb 2004 20:22:00 GMT Server: Jetty/4.2.17 (Linux/2.4.22 i386 java/1.4.2_02) Location: http://www.abclinuxu.cz/Index Transfer-Encoding: chunked 0 I have no name!@slon / #
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.