Andreas Philipp wrote:
Ken:
El Sáb 02 Jul 2005 16:00, ken escribió:
So I'm still having the same problem, i.e., not in gzip format.
I experienced similar problems which I found out were related to failed DNS server queries. If, for example, I run 'dig Linux.z.zoy.org', I get the following error:
; <<>> DiG 9.2.2 <<>> Linux.z.zoy.org ;; global options: printcmd ;; connection timed out; no servers could be reached
This is true for every host name but 'and'; this last one returns the authoritative name servers for zoy.org, which helps to adjust the script:
==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc for DVDs in Linux screw the MPAA and; do dig @ns1.zoy.org $DVDs.z.zoy.org; done \
| perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' \ | gunzip
==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
I'm not having the same issue... or didn't. Maybe more people are hitting the servers now, causing the timeouts (?). I save each dig output in the loop separately. The first three all start: ;; Warning: Message parser reports malformed message packet. ;; Truncated, retrying in TCP mode. ; <<>> DiG 9.2.1 <<>> the.z.zoy.org ;; global options: printcmd ;; Got answer: Then below ";; ANSWER SECTION:" have multiple lines of mostly unreadable letters and numbers. The fourth time through the dig look-- looking up and.z.zoy.org-- the output is significantly (?) different: There I just get this: ; <<>> DiG 9.2.1 <<>> and.z.zoy.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9099 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;and.z.zoy.org. IN A ;; ANSWER SECTION: and.z.zoy.org. 86400 IN A 80.65.228.129 ;; Query time: 262 msec ;; SERVER: 64.81.159.2#53(64.81.159.2) ;; WHEN: Sat Jul 2 17:09:51 2005 ;; MSG SIZE rcvd: 47 What's the perl part of the command/script supposed to do with this? -- A lot of us are working harder than we want, at things we don't like to do. Why? ...In order to afford the sort of existence we don't care to live. -- Bradford Angier