Package: pdnsd Version: 1.2.6-par-11 Severity: normal
I am useing opendns and pdnsd's reject statements to prevent it from redirecting me to its search engine or giving false information about google's ip address (reject_policy is set to fail with alternative servers used as a fallback) For unkown reasons if i do a dns serch from a program that checks both ipv6 and ipv4 (for example iceweasel) pdnsd will cache cname records despite them eventually pointing to a rejected ip address. It will not cache the final A record but when it checks with the fallback servers it uses the cached cname and returns the ip address that should have been rejected. I determined this behaviour by trial and error, without fallback servers pdnsd wouldn't return anything if an ip was rejected. I included a pdnsd.debug starting with an empty cache and a fresh reboot of pdnsd. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (600, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pdnsd depends on: ii adduser 3.110 add and remove users and groups ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy ii libc6 2.7-15 GNU C Library: Shared libraries Versions of packages pdnsd recommends: pn resolvconf <none> (no description available) pdnsd suggests no packages. -- debconf information: * pdnsd/conf: Manual *** /tmp/pdnsd.debug * 10/31 10:04:50| pdnsd: info: pdnsd-1.2.6-par starting. - 10/31 10:04:50| Debug messages activated - 10/31 10:04:50| Using IPv4. - 10/31 10:04:50| performing uptest (type=ping) for 208.67.222.222 - 10/31 10:04:50| All threads started successfully. - 10/31 10:04:50| result of uptest for 208.67.222.222: OK - 10/31 10:04:50| performing uptest (type=ping) for 208.67.220.220 - 10/31 10:04:50| result of uptest for 208.67.220.220: OK - 10/31 10:04:50| performing uptest (type=query) for 198.41.0.4 - 10/31 10:04:51| Server 198.41.0.4 returned error code: query format error - 10/31 10:04:51| result of uptest for 198.41.0.4: OK - 10/31 10:04:51| performing uptest (type=query) for 192.228.79.201 - 10/31 10:04:51| Status socket query pending. - 10/31 10:04:51| Received STATUS query. - 10/31 10:04:51| Status socket query pending. - 10/31 10:04:51| Received STATUS query. - 10/31 10:04:51| Server 192.228.79.201 returned error code: query format error - 10/31 10:04:51| result of uptest for 192.228.79.201: OK - 10/31 10:04:51| performing uptest (type=query) for 192.33.4.12 - 10/31 10:04:51| Server 192.33.4.12 returned error code: query format error - 10/31 10:04:51| result of uptest for 192.33.4.12: OK - 10/31 10:04:51| performing uptest (type=query) for 128.8.10.90 - 10/31 10:04:51| Server 128.8.10.90 returned error code: query format error - 10/31 10:04:51| result of uptest for 128.8.10.90: OK - 10/31 10:04:51| performing uptest (type=query) for 192.203.230.10 - 10/31 10:04:51| Server 192.203.230.10 returned error code: query format error - 10/31 10:04:51| result of uptest for 192.203.230.10: OK - 10/31 10:04:51| performing uptest (type=query) for 192.5.5.241 - 10/31 10:04:51| Server 192.5.5.241 returned error code: query format error - 10/31 10:04:51| result of uptest for 192.5.5.241: OK - 10/31 10:04:51| performing uptest (type=query) for 192.112.36.4 - 10/31 10:04:51| Server 192.112.36.4 returned error code: query format error - 10/31 10:04:51| result of uptest for 192.112.36.4: OK - 10/31 10:04:51| performing uptest (type=query) for 128.63.2.53 - 10/31 10:04:51| Server 128.63.2.53 returned error code: query format error - 10/31 10:04:51| result of uptest for 128.63.2.53: OK 1 10/31 10:04:56| Received query. 1 10/31 10:04:56| Questions are: 1 10/31 10:04:56| qc=IN (1), qt=AAAA (28), query="www.google.co.uk." 1 10/31 10:04:56| Starting cached resolve for: www.google.co.uk., query AAAA 1 10/31 10:04:56| Trying name servers. 1 10/31 10:04:56| Sending query to 208.67.222.222 1 10/31 10:04:56| Sending query to 208.67.220.220 1 10/31 10:04:56| Marked server 208.67.222.222 up. 1 10/31 10:04:56| Query to 208.67.222.222 succeeded. 1 10/31 10:04:56| Starting cached resolve for: www.google.com., query AAAA 1 10/31 10:04:56| Record found in cache for www.google.com. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=NOP, req=0, neg=0, timed=0, ttl=900 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: google.navigation.opendns.com., query AAAA 1 10/31 10:04:56| Trying name servers. 1 10/31 10:04:56| Sending query to 208.67.222.222 1 10/31 10:04:56| Sending query to 208.67.220.220 1 10/31 10:04:56| Marked server 208.67.222.222 up. 1 10/31 10:04:56| Query to 208.67.222.222 succeeded. 1 10/31 10:04:56| No remaining authoritative name servers to try in authority section from 208.67.222.222. 1 10/31 10:04:56| Marked server 208.67.220.220 up. 1 10/31 10:04:56| Query to 208.67.220.220 succeeded. 1 10/31 10:04:56| No remaining authoritative name servers to try in authority section from 208.67.220.220. 1 10/31 10:04:56| Sending query to 198.41.0.4 1 10/31 10:04:56| Sending query to 192.228.79.201 1 10/31 10:04:56| Marked server 198.41.0.4 up. 1 10/31 10:04:56| Query to 198.41.0.4 succeeded. 1 10/31 10:04:56| Starting cached resolve for: E.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for E.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: I.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for I.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: F.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for F.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: H.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for H.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: J.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for J.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: M.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Trying name servers. 1 10/31 10:04:56| Sending query to 208.67.222.222 1 10/31 10:04:56| Sending query to 208.67.220.220 1 10/31 10:04:56| Marked server 208.67.222.222 up. 1 10/31 10:04:56| Query to 208.67.222.222 succeeded. 1 10/31 10:04:56| Starting cached resolve for: C.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for C.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: B.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for B.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: K.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for K.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: D.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for D.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: A.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for A.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: L.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Trying name servers. 1 10/31 10:04:56| Sending query to 208.67.222.222 1 10/31 10:04:56| Sending query to 208.67.220.220 1 10/31 10:04:56| Marked server 208.67.222.222 up. 1 10/31 10:04:56| Query to 208.67.222.222 succeeded. 1 10/31 10:04:56| Starting cached resolve for: G.GTLD-SERVERS.NET., query A 1 10/31 10:04:56| Record found in cache for G.GTLD-SERVERS.NET. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP|RTS, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: google.navigation.opendns.com., query AAAA 1 10/31 10:04:56| Trying name servers. 1 10/31 10:04:56| Sending query to 192.12.94.30 1 10/31 10:04:56| Sending query to 192.43.172.30 1 10/31 10:04:56| Query to 192.12.94.30 succeeded. 1 10/31 10:04:56| Starting cached resolve for: auth1.opendns.com., query A 1 10/31 10:04:56| Record found in cache for auth1.opendns.com. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: auth2.opendns.com., query A 1 10/31 10:04:56| Record found in cache for auth2.opendns.com. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: auth3.opendns.com., query A 1 10/31 10:04:56| Record found in cache for auth3.opendns.com. 1 10/31 10:04:56| Requery decision: dflags=0, cflags=ADD|NOP, req=0, neg=0, timed=0, ttl=172800 1 10/31 10:04:56| Using cached record. 1 10/31 10:04:56| Starting cached resolve for: google.navigation.opendns.com., query AAAA 1 10/31 10:04:56| Trying name servers. 1 10/31 10:04:56| Sending query to 208.69.39.2 1 10/31 10:04:56| Sending query to 38.99.20.68 1 10/31 10:04:56| Caching type AAAA for domain google.navigation.opendns.com. negative with ttl 2560 1 10/31 10:04:56| Query to 208.69.39.2 succeeded. 1 10/31 10:04:56| Outbound msg len 155, tc=0, rc="no error" 1 10/31 10:04:56| Answering to: 127.0.0.1, source address: 127.0.0.1 2 10/31 10:04:56| Received query. 2 10/31 10:04:56| Questions are: 2 10/31 10:04:56| qc=IN (1), qt=AAAA (28), query="www.google.co.uk." 2 10/31 10:04:56| Starting cached resolve for: www.google.co.uk., query AAAA 2 10/31 10:04:56| Record found in cache for www.google.co.uk. 2 10/31 10:04:56| Requery decision: dflags=0, cflags=NOP, req=0, neg=0, timed=0, ttl=344675 2 10/31 10:04:56| Using cached record. 2 10/31 10:04:56| Starting cached resolve for: www.google.com., query AAAA 2 10/31 10:04:56| Record found in cache for www.google.com. 2 10/31 10:04:56| Requery decision: dflags=0, cflags=NOP, req=0, neg=0, timed=0, ttl=900 2 10/31 10:04:56| Using cached record. 2 10/31 10:04:56| Starting cached resolve for: google.navigation.opendns.com., query AAAA 2 10/31 10:04:56| Record found in cache for google.navigation.opendns.com. 2 10/31 10:04:56| Requery decision: dflags=0, cflags=NEG|AUT|NOP, req=0, neg=1, timed=0, ttl=2560 2 10/31 10:04:56| Using cached record. 2 10/31 10:04:56| Outbound msg len 155, tc=0, rc="no error" 2 10/31 10:04:56| Answering to: 127.0.0.1, source address: 127.0.0.1 3 10/31 10:04:56| Received query. 3 10/31 10:04:56| Questions are: 3 10/31 10:04:56| qc=IN (1), qt=A (1), query="www.google.co.uk." 3 10/31 10:04:56| Starting cached resolve for: www.google.co.uk., query A 3 10/31 10:04:56| Record found in cache for www.google.co.uk. 3 10/31 10:04:56| Requery decision: dflags=0, cflags=NOP, req=0, neg=0, timed=0, ttl=344675 3 10/31 10:04:56| Using cached record. 3 10/31 10:04:56| Starting cached resolve for: www.google.com., query A 3 10/31 10:04:56| Record found in cache for www.google.com. 3 10/31 10:04:56| Requery decision: dflags=0, cflags=NOP, req=0, neg=0, timed=0, ttl=900 3 10/31 10:04:56| Using cached record. 3 10/31 10:04:56| Starting cached resolve for: google.navigation.opendns.com., query A 3 10/31 10:04:56| Record found in cache for google.navigation.opendns.com. 3 10/31 10:04:56| Requery decision: dflags=0, cflags=0, req=0, neg=0, timed=1, timestamp=0 3 10/31 10:04:56| Trying name servers. 3 10/31 10:04:56| Not querying root-server 198.41.0.4, using cached information instead. 3 10/31 10:04:56| Sending query to 208.67.222.222 3 10/31 10:04:56| Sending query to 208.67.220.220 3 10/31 10:04:56| Marked server 208.67.222.222 up. 3 10/31 10:04:56| Rejecting answer from server 208.67.222.222 because it contains an A record for "google.navigation.opendns.com." with an address in the reject list: 208.69.34.231 3 10/31 10:04:56| Marked server 208.67.220.220 up. 3 10/31 10:04:56| Rejecting answer from server 208.67.220.220 because it contains an A record for "google.navigation.opendns.com." with an address in the reject list: 208.69.34.231 3 10/31 10:04:56| Sending query to 192.12.94.30 3 10/31 10:04:56| Sending query to 192.43.172.30 3 10/31 10:04:57| Query to 192.12.94.30 succeeded. 3 10/31 10:04:57| Starting cached resolve for: auth1.opendns.com., query A 3 10/31 10:04:57| Record found in cache for auth1.opendns.com. 3 10/31 10:04:57| Requery decision: dflags=0, cflags=ADD|NOP, req=0, neg=0, timed=0, ttl=172800 3 10/31 10:04:57| Using cached record. 3 10/31 10:04:57| Starting cached resolve for: auth2.opendns.com., query A 3 10/31 10:04:57| Record found in cache for auth2.opendns.com. 3 10/31 10:04:57| Requery decision: dflags=0, cflags=ADD|NOP, req=0, neg=0, timed=0, ttl=172800 3 10/31 10:04:57| Using cached record. 3 10/31 10:04:57| Starting cached resolve for: auth3.opendns.com., query A 3 10/31 10:04:57| Record found in cache for auth3.opendns.com. 3 10/31 10:04:57| Requery decision: dflags=0, cflags=ADD|NOP, req=0, neg=0, timed=0, ttl=172800 3 10/31 10:04:57| Using cached record. 3 10/31 10:04:57| Starting cached resolve for: google.navigation.opendns.com., query A 3 10/31 10:04:57| Record found in cache for google.navigation.opendns.com. 3 10/31 10:04:57| Requery decision: dflags=0, cflags=0, req=0, neg=0, timed=1, timestamp=0 3 10/31 10:04:57| Trying name servers. 3 10/31 10:04:57| Sending query to 208.69.39.2 3 10/31 10:04:57| Sending query to 38.99.20.68 3 10/31 10:04:57| Query to 208.69.39.2 succeeded. 3 10/31 10:04:57| Outbound msg len 242, tc=0, rc="no error" 3 10/31 10:04:57| Answering to: 127.0.0.1, source address: 127.0.0.1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

