Am 07.10.2014 um 07:42 schrieb Andy Bradford:
> Thus said Oliver Welter on Mon, 06 Oct 2014 12:24:53 +0200:
>
>>> http://marc.info/?l=qmail&m=134062672511072&w=2
>>>
>> You ruined my day =(
>
> Sorry, that was not my intention. :-)
Glad to hear.
>> I setup dnscache on the localhost and now get tons of
>> "I_couldn't_find_any_host_named_". When I do a "dig" against the local
>> dns cache for a new domain, I immediately get an empty answer.
>
> Perhaps you have an unintelligent firewall that is blocking ports that
> it doesn't like or something. I really cannot say why this would occur,
> but it isn't strictly necessary to run dnscache---I run it without
> problems, and with the patch above have never run into any CNAME errors.
No firewall, dns itself works and as said after some time I get answers
(might be when a different upstream server is queried?).
> It would be interesting to know what some of the domains are that your
> qmail is having trouble sending email to.
Reaches from google.com (large DNS responses) to john-doe domains with a
single record.
>> Waiting for some seconds and querying the cache again returns the
>> correct data.
>
> What do the dnscache logs have to say about it? Restart dnscache and
> then query a single domain which fails. Then send the logs.
>
dig -t mx google.com @127.0.0.1
; <<>> DiG 9.9.5 <<>> -t mx google.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41726
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN MX
;; Query time: 1035 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 07 09:17:42 CEST 2014
;; MSG SIZE rcvd: 28
@400000005433937322894154 starting
@400000005433937f32241cec query 1
00000000000000000000ffff7f000001:8a7b:d48f 15 google.com.
@400000005433937f322424bc tx 0 15 google.com. .
00000000000000000000ffffd4120305 00000000000000000000ffffd4120005
00000000000000000000ffff08080808 00000000000000000000ffffd5a04040
@400000005433938136ba1be4 stats 1 0 1 0
@400000005433938136ba1fcc sent 1 28
With google.com it looks like I NEVER get an answer back, even on
repeated queries.
Running against my personal domain shows what I said:
listsrv dnscache # dig -t mx oliwel.de @127.0.0.1
; <<>> DiG 9.9.5 <<>> -t mx oliwel.de @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51751
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;oliwel.de. IN MX
;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 07 09:20:48 CEST 2014
;; MSG SIZE rcvd: 27
listsrv dnscache # dig -t mx oliwel.de @127.0.0.1
; <<>> DiG 9.9.5 <<>> -t mx oliwel.de @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54205
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;oliwel.de. IN MX
;; ANSWER SECTION:
oliwel.de. 86400 IN MX 10 mx.serverpilot.net.
oliwel.de. 86400 IN MX 5 mx2.serverpilot.net.
oliwel.de. 86400 IN MX 20 mx2.serverpilot.net.
;; Query time: 13 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 07 09:20:49 CEST 2014
;; MSG SIZE rcvd: 97
@400000005433945a294f4b64 query 8
00000000000000000000ffff7f000001:a830:ca27 15 oliwel.de.
@400000005433945a294f4f4c tx 0 15 oliwel.de. .
00000000000000000000ffff08080808 00000000000000000000ffffd5a04040
00000000000000000000ffffd4120305 00000000000000000000ffffd4120005
@400000005433945a2a62f99c stats 8 0 1 0
@400000005433945a2a62f99c sent 8 27
@400000005433945b37a32bf4 query 9
00000000000000000000ffff7f000001:8f1f:d3bd 15 oliwel.de.
@400000005433945b37a32fdc tx 0 15 oliwel.de. .
00000000000000000000ffffd5a04040 00000000000000000000ffff08080808
00000000000000000000ffffd4120305 00000000000000000000ffffd4120005
@400000005433945b38672fa4 rr 00000000000000000000ffffd5a04040 600 1
mx.serverpilot.net. 52873a23
@400000005433945b3867338c rr 00000000000000000000ffffd5a04040 600 1
mx2.serverpilot.net. 52873a31
@400000005433945b3867338c rr 00000000000000000000ffffd5a04040 86400 mx
oliwel.de. 10 mx.serverpilot.net.
@400000005433945b3867338c rr 00000000000000000000ffffd5a04040 86400 mx
oliwel.de. 5 mx2.serverpilot.net.
@400000005433945b38673774 rr 00000000000000000000ffffd5a04040 86400 mx
oliwel.de. 20 mx2.serverpilot.net.
@400000005433945b38673774 stats 9 194 1 0
@400000005433945b38677dc4 sent 9 97
regards
Oliver
--
Protect your environment - close windows and adopt a penguin!