Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1963

Failing to get DNS AAAA records (and A records in one case)

XMLWordPrintable

      The requests for AAAA records always return A record (using dig command) and never AAAA record. The DNS cache in VPP also has no record of AAAA records even when the request packet was sent to upstream DNS server and result was retrieved (VPP DNS is cache querying upstream DNS server) . My guess is that the query is not valid/supported anymore by google(8.8.8.8) and cloudflare(1.1.1.1) dns servers.

      In case of cloudflare dns server (1.1.1.1), not even A record is returned. The VPP DNS cache output from CLI gets in this case a lot of scrambled characters (don't know if this is related, but it is suspicions).

      I attached a script that demonstrates these bugs (based on ligato/vpp-base, VPP in docker container).

      UPDATE:

      Also coredns (1.8.0 docker image) doesn't seems to work for A records when set as VPP's upstream DNS server. I wanted to use coredns for testing (setting static dns records for domain dnscache.test.ligato.io so that it can be grabbed from VPP DNS plugin). I attached coredns configs so you can recreate the coredns case. UPDATE: I added create-dnscore-container.sh to start properly configured coredns container that can be used as upstream DNS Server for VPP and demostrates the problem.

            danielberes Daniel Béreš
            FilipGschwandtner Filip Gschwandtner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: