Fetch unable to resolve.
X-Istence
xistence at x-istence.com
Wed Feb 25 16:10:36 PST 2004
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 at 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> 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
More information about the freebsd-questions
mailing list