Re: Bug? Sendmail Tries to do DNS lookups on ipv6 link-local addresses.



Claus,

Brilliant reply as per usual, and this did speed things up a great
deal. But I think it's a cure for the symptom, and not the real
problem, which I would like to fix.

For some reason (I am not sure why), the query for any ip6.int domain
works but for any ip6.arpa domain does not -- even though, for example,
I have my DNS server configured to serve both "localhost" domains from
the same file (as is the BSD default).

Basically, the query to the local DNS server times out for any ip6.arpa
queries (and returns a FORMERR (format error) before trying the ip6.int
domain, which works (and returns either NXDOMAIN or an actual reply),
which with the number of interfaces on the box, is the real cause of
the slowdown.

Based on the way the queries look in my attached text --

res_query(\[xfe800000000000000208c7fffee68306/128].ip6.arpa, 1, 12)

versus

res_query(6.0.3.8.6.e.e.f.f.f.7.c.8.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int,
1, 12)

This is why I thought it was originally a bug. As I'm not 100 percent
familiar with the format of a DNS query in a dump, I can't say for 100
percent sure.

>>From playing around with dig a bit -- I get the same reply for

dig
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int
PTR

as I do for

dig
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
PTR

Any thoughts?

.



Relevant Pages

  • Re: My remote office cannot request my DNS
    ... Query time: 47 ms ... >created and PTR to my DNS Server ... >> such as Dig or Netdig for DNS queries. ...
    (microsoft.public.win2000.dns)
  • Re: [SLE] Determing IP address
    ... 'dig' got no answers, i.e. DNS couldn't resolve your query. ... means that 217.237.151.161 is the IP address of the DNS server ... The *BIG* clue, however, is the fact that you asked it to resolve ...
    (SuSE)
  • Re: Query ACL
    ... > query" statement available since bind 8... ... However there's a netmask feature ... ... the DNS Server service uses local subnet priority. ... Manage the discretionary access control list on DNS servers running ...
    (microsoft.public.win2000.dns)
  • Re: caching-namserver
    ... Then using dig ... ;; Query time: 3180 msec ... some other PC's DNS server would have provided you with IP address ... There are dig type of tools for Windows, but I don't know a name to give ...
    (Fedora)
  • Re: caching-namserver
    ... Then using dig ... but I was getting opinions that the response time should be in the single ... some other PC's DNS server would have provided you with IP address ... There are dig type of tools for Windows, but I don't know a name to give ...
    (Fedora)