[MaraDNS list] Deadwood timing out on lookup
Sam Trenholme
strenholme.usenet at gmail.com
Sat Aug 6 03:05:46 EDT 2011
[Messages sent to me by accident are forwarded to the list]
What messages do you get if you add the following to your dwood3rc:
verbose_level = 1000
To add this line, use an editor:
nano -w /etc/dwood3rc
Or, more simply:
echo verbose_level=1000 >> /etc/dwood3rc
You can then either run Deadwood via Duende and see all the messages
in /var/log/messages, or just run Deadwood directly from the shell and
see all of the messages on stdout.
Both the yahoo example works for me, as well as the TXT record for
84.211.52.72.list.dnswl.org. Again, I am not, repeat not seeing this
problem, even on a nearly identical OpenVZ system. Unfortunately,
until I can reproduce it on my setup, I will have to mark this bug as
"works for me, unreproducible" Everything works fine even when using
Deadwood as a fully recursive resolver:
[set at cartomancy ~]$ dig @127.0.0.1 -t txt 84.211.52.72.list.dnswl.org
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @127.0.0.1 -t txt
84.211.52.72.list.dnswl.org
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33156
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;84.211.52.72.list.dnswl.org. IN TXT
;; AUTHORITY SECTION:
list.dnswl.org. 43200 IN SOA ns0.dnswl.org.
admins.dnswl.org. 1312582870 3600 300 432000 43200
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug 6 01:59:31 2011
;; MSG SIZE rcvd: 92
- Sam
2011/8/6 Steve Fatula <compconsultant at yahoo.com>:
> Mine worked fine for yahoo.com, I had tried to say that as far as I know, the problem was something with dnswl in the example quoted. I do not control this machine, I am just in a container. Yes, it was Deadwood 3.0.03, which I upgraded today since it was not working on the previous version, thought it might fix the issue.
>
> Steve
>
>
> ----- Original Message -----
> From: Sam Trenholme <strenholme.usenet at gmail.com>
> To: Steve Fatula <compconsultant at yahoo.com>
> Cc:
> Sent: Saturday, August 6, 2011 1:30 AM
> Subject: Re: [MaraDNS list] Deadwood timing out on lookup
>
> Your exact same configuration, on a nearly identical system (a 32-bit
> CentOS 5 OpenVZ container with a 64-bit Scientific Linux 6 host using
> a custom kernel based off of 042test013) works for me. e.g.:
>
> [set at cartomancy ~]$ ls -l /proc/user_beancounters
> -r-------- 1 root root 0 Aug 6 01:18 /proc/user_beancounters
> [set at cartomancy ~]$ cat /etc/redhat-release
> CentOS release 5.6 (Final)
> [set at cartomancy ~]$ su
> Password:
> [root at cartomancy set]# cat > /etc/dwood3rc.steve
> ipv4_bind_addresses = "127.0.0.1"
> chroot_dir = "/etc/maradns"
> recursive_acl = "127.0.0.1"
> timeout_seconds = 10
> maximum_cache_elements=1024
> reject_mx=0
> filter_rfc1918=0
> upstream_servers = {}
> upstream_servers["."] = "8.8.8.8, 4.2.2.2"
> [root at cartomancy set]# cat /etc/resolv.conf
> nameserver 127.0.0.1
> [root at cartomancy set]# Deadwood -f /etc/dwood3rc.steve
> Deadwood version 3.0.03
> Deadwood: A DNS UDP non-recursive cache (IPv4-only)
> We bound to 1 addresses
>
> And then, in another window:
>
> [set at cartomancy ~]$ ping www.yahoo.com
> PING any-fp3-real.wa1.b.yahoo.com (209.191.122.70) 56(84) bytes of data.
> 64 bytes from ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=1
> ttl=50 time=35.5 ms
> 64 bytes from ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=2
> ttl=50 time=38.3 ms
> 64 bytes from ir1.fp.vip.mud.yahoo.com (209.191.122.70): icmp_seq=3
> ttl=50 time=34.0 ms
> ^C
> --- any-fp3-real.wa1.b.yahoo.com ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
> rtt min/avg/max/mdev = 34.041/35.986/38.370/1.800 ms
> [set at cartomancy ~]$ dig @127.0.0.1 www.yahoo.com
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @127.0.0.1 www.yahoo.com
> ; (1 server found)
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52289
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;www.yahoo.com. IN A
>
> ;; ANSWER SECTION:
> www.yahoo.com. 49 IN CNAME fp3.wg1.b.yahoo.com.
> fp3.wg1.b.yahoo.com. 49 IN CNAME any-fp3-lfb.wa1.b.yahoo.com.
> any-fp3-lfb.wa1.b.yahoo.com. 49 IN CNAME any-fp3-real.wa1.b.yahoo.com.
> any-fp3-real.wa1.b.yahoo.com. 49 IN A 67.195.160.76
> any-fp3-real.wa1.b.yahoo.com. 49 IN A 69.147.125.65
> any-fp3-real.wa1.b.yahoo.com. 49 IN A 209.191.122.70
>
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Sat Aug 6 01:20:19 2011
> ;; MSG SIZE rcvd: 160
>
> Is your OpenVZ account a hosting account with a SolusVM (or other)
> control panel, or do you control the server running OpenVZ? In other
> words, can you get at /etc/vz/conf/{container number}.conf on the
> host?
>
> What does "ifconfig" give you?
>
> What messages do you get if you add the following to your dwood3rc:
>
> verbose_level = 1000
>
> Are you using Deadwood 3.0.03?
>
> Here is what I get on my working system after adding the
> verbose_level=1000 line:
>
> [root at cartomancy set]# Deadwood -f /etc/dwood3rc.steve
> Deadwood version 3.0.03
> Deadwood: A DNS UDP non-recursive cache (IPv4-only)
> Verbose_level set to 1000
> We bound to 1 addresses
> add_constant is set to 0x3a548f35
> Got DNS query for \003www\005yahoo\003com\000\000\001
> Looking in cache for query \003www\005yahoo\003com\000\000\001
> Nothing found for \003www\005yahoo\003com\000\000\001
> Making connection to IP 8.8.8.8
> Caching a reply for query \003www\005yahoo\003com\000\000\001
> Caching direct answer at \003www\005yahoo\003com\000\000\001
> Looking in cache for query \003www\005yahoo\003com\000\000\001
> Fetching \003www\005yahoo\003com\000\000\001 from cache
>
> - Sam
>
More information about the list
mailing list