Hello, what about /etc/resolv.conf on your OpenBSD System. Have you configured which DNS to use?
guido Linyin schrieb: > Installed openbsd,configure network.When I try ping ip address its > ok,but use the doname is looks down. > The dns server is ok,i try ping doname under winxp: > > C:\Documents and Settings\linyin>ping www.openbsd.org > Pinging www.openbsd.org [129.128.5.191] with 32 bytes of data: > Reply from 129.128.5.191: bytes=32 time=251ms TTL=238 > Reply from 129.128.5.191: bytes=32 time=281ms TTL=238 > Reply from 129.128.5.191: bytes=32 time=280ms TTL=238 > Reply from 129.128.5.191: bytes=32 time=280ms TTL=238 > Ping statistics for 129.128.5.191: > Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), > Approximate round trip times in milli-seconds: > Minimum = 251ms, Maximum = 281ms, Average = 273ms > > But under OpenBSD,it's not any reponse. > > # uname -a > OpenBSD linyin.8800.org 4.4 GENERIC#1021 i386 > > # ping www.openbsd.org > ping: unknown host: www.openbsd.org > > # more /etc/hosts > # $OpenBSD: hosts,v 1.11 2002/09/26 23:35:51 krw Exp $ > # > # Host Database > # > # RFC 1918 specifies that these networks are "internal". > # 10.0.0.0 10.255.255.255 > # 172.16.0.0 172.31.255.255 > # 192.168.0.0 192.168.255.255 > # > ::1 localhost.8800.org localhost > 127.0.0.1 localhost.8800.org localhost > ::1 linyin.8800.org linyin > 127.0.0.1 linyin.8800.org linyin > > # more /etc/hostname.rl0 > inet 192.168.1.5 255.255.255.0 NONE > > # ping 129.128.5.191 > PING 129.128.5.191 (129.128.5.191): 56 data bytes > 64 bytes from 129.128.5.191: icmp_seq=1 ttl=238 time=1350.464 ms > 64 bytes from 129.128.5.191: icmp_seq=2 ttl=238 time=1201.868 ms > --- 129.128.5.191 ping statistics --- > 4 packets transmitted, 2 packets received, 50.0% packet loss > round-trip min/avg/max/std-dev = 1201.868/1276.166/1350.464/74.298 ms > > Im not using PF,and other firewall.Dose anyone can give me some advise?THANKS!