From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 16:10:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D61A916A4CE for ; Wed, 25 Feb 2004 16:10:35 -0800 (PST) Received: from Breached.X-Istence.com (ool-435469d2.dyn.optonline.net [67.84.105.210]) by mx1.FreeBSD.org (Postfix) with SMTP id 5093F43D31 for ; Wed, 25 Feb 2004 16:10:35 -0800 (PST) (envelope-from xistence@x-istence.com) Received: (qmail 4057 invoked by uid 0); 26 Feb 2004 00:10:37 -0000 Received: from unknown (HELO x-istence.com) (10.10.10.55) by Breached.X-Istence.com with SMTP; 26 Feb 2004 00:10:37 -0000 Message-ID: <403D39A4.9080704@x-istence.com> Date: Wed, 25 Feb 2004 19:11:16 -0500 From: X-Istence User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040216 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-questions@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Fetch unable to resolve. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 00:10:36 -0000 Hello, I am having problems with fetch and ftp, being unable to resolve any DNS related matters. Like hostnames and stuff. However, nslookup, dig, and those tools still work just fine, i am wondering what the problem could be. See output below. If you need any other info, please let me know, the owner is thinking of having it reinstalled by the data center, but i would like to get to the bottom of this. Sequence of event in the last 4 days: 1. tinydns installed, setup, and totally ready 2. tinydns data copied to a new server, deamontools, tinydns and its stuff uninstalled 3. Nothing done for a day or two 4. Login to setup a mail server, fetch is unable to retrieve ports 5. Try to trouble shoot 6. No means available to get it to work, and here i am. uname -a: charon# uname -a FreeBSD charon.gamershell.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 It is a xeon p4 proc. with hyperthreading. Some stats about the IP's that are currently set: charon# ifconfig -a rl0: flags=8843 mtu 1500 inet 66.36.241.74 netmask 0xfffffe00 broadcast 66.36.241.255 inet6 fe80::20d:61ff:fe03:48f3%rl0 prefixlen 64 scopeid 0x1 ether 00:0d:61:03:48:f3 media: Ethernet autoselect (10baseT/UTP ) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 faith0: flags=8002 mtu 1500 Here is the output i mentioned above, this is what is going wrong.: charon# fetch -vvvvv http://google.com/ scheme: [http] user: [] password: [] host: [google.com] port: [0] document: [/] ---> google.com:80 looking up google.com fetch: http://google.com/: Host not found charon# nslookup google.com Server: 69-56-211-146.theplanet.com Address: 69.56.211.146 Non-authoritative answer: Name: google.com Addresses: 216.239.57.99, 216.239.37.99, 216.239.39.99 charon# dig google.com ; <<>> DiG 8.3 <<>> google.com ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30197 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 0 ;; QUERY SECTION: ;; google.com, type = A, class = IN ;; ANSWER SECTION: google.com. 4m57s IN A 216.239.39.99 google.com. 4m57s IN A 216.239.57.99 google.com. 4m57s IN A 216.239.37.99 ;; AUTHORITY SECTION: google.com. 3d23h59m57s IN NS ns1.google.com. google.com. 3d23h59m57s IN NS ns2.google.com. google.com. 3d23h59m57s IN NS ns3.google.com. google.com. 3d23h59m57s IN NS ns4.google.com. ;; Total query time: 34 msec ;; FROM: charon.gamershell.com to SERVER: 69.56.211.146 ;; WHEN: Thu Feb 26 01:01:44 2004 ;; MSG SIZE sent: 28 rcvd: 148 charon# ftp ftp> open ftp.uk.freebsd.org ftp: ftp.uk.freebsd.org: No address associated with hostname ftp> open ftp://ftp.uk.freebsd.org/ ftp: ftp://ftp.uk.freebsd.org/: No address associated with hostname ftp> exit charon# nslookup ftp.uk.freebsd.org Server: 69-56-211-146.theplanet.com Address: 69.56.211.146 Non-authoritative answer: Name: ftp.plig.net Addresses: 195.40.6.41, 195.40.6.46 Aliases: ftp.uk.freebsd.org charon# cat /etc/resolv.conf nameserver 69.56.211.146 charon# nslookup google.com Server: 69-56-211-146.theplanet.com Address: 69.56.211.146 Non-authoritative answer: Name: google.com Addresses: 216.239.37.99, 216.239.39.99, 216.239.57.99 charon# ping google.com ping: cannot resolve google.com: Unknown host charon# ping 216.239.37.99 PING 216.239.37.99 (216.239.37.99): 56 data bytes 64 bytes from 216.239.37.99: icmp_seq=0 ttl=245 time=2.384 ms 64 bytes from 216.239.37.99: icmp_seq=1 ttl=245 time=2.395 ms 64 bytes from 216.239.37.99: icmp_seq=2 ttl=245 time=2.040 ms 64 bytes from 216.239.37.99: icmp_seq=3 ttl=245 time=2.514 ms 64 bytes from 216.239.37.99: icmp_seq=4 ttl=245 time=1.985 ms ^C --- 216.239.37.99 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.985/2.264/2.514/0.211 ms Thank you, Jan-Willem Regeer