vDNS does not forward queries for TXT records

Bug #1583053 reported by Ato
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Undecided
Unassigned
R2.21.x
Fix Committed
Undecided
Unassigned
R2.22.x
Fix Committed
Undecided
Unassigned
R3.0
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned

Bug Description

TXT records do not seem to be supported by Contrail's vDNS implementation.

The following output is from a VM in the overlay:

ubuntu@ubuntu1404:~$ dig google.com TXT

; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> google.com TXT
;; global options: +cmd
;; connection timed out; no servers could be reached

ubuntu@ubuntu1404:~$ dig google.com

; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31379
;; flags: qr ra; QUERY: 1, ANSWER: 6, AUTHORITY: 13, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com. IN A

;; ANSWER SECTION:
google.com. 300 IN A 74.125.136.102
google.com. 300 IN A 74.125.136.100
google.com. 300 IN A 74.125.136.138
google.com. 300 IN A 74.125.136.139
google.com. 300 IN A 74.125.136.101
google.com. 300 IN A 74.125.136.113

Tags: vdns ebay
Ato (amonge)
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
tags: added: vdns
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/20416
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/20418
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22.x

Review in progress for https://review.opencontrail.org/20419
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/20420
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/20416
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20499
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/20418
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22.x

Review in progress for https://review.opencontrail.org/20419
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/20420
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20416
Committed: http://github.org/Juniper/contrail-controller/commit/a767a7b287a47d0794e212eebfda95140e309205
Submitter: Zuul
Branch: R3.0

commit a767a7b287a47d0794e212eebfda95140e309205
Author: Hari <email address hidden>
Date: Thu May 19 15:38:06 2016 +0530

Read and Write TXT records based on length only.

TXT records should not be encoded / decoded as a domain name, they are
not name compressed as domain names and do not end with a 0 length. Also
do the same for any other unsupported record type as well so that they
pass the request and response without dropping them.

Conflicts:
 src/dns/bind/bind_util.cc
 src/dns/test/dns_bind_test.cc

Change-Id: I37f85727a89937c6f33026e90029e537c5d90a32
closes-bug: #1583053

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20420
Committed: http://github.org/Juniper/contrail-controller/commit/fb6408c76a61e4b1a99e54eba87476e73807aa17
Submitter: Zuul
Branch: R2.20

commit fb6408c76a61e4b1a99e54eba87476e73807aa17
Author: Hari <email address hidden>
Date: Thu May 19 15:40:16 2016 +0530

Read and Write TXT records based on length only.

TXT records should not be encoded / decoded as a domain name, they are
not name compressed as domain names and do not end with a 0 length. Also
do the same for any other unsupported record type as well so that they
pass the request and response without dropping them.

Conflicts:
 src/dns/bind/bind_util.cc
 src/dns/test/dns_bind_test.cc

Change-Id: I37f85727a89937c6f33026e90029e537c5d90a32
closes-bug: #1583053
(cherry picked from commit 51802ea3ec39231e57fd0d052bf001d92a4449f7)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20419
Committed: http://github.org/Juniper/contrail-controller/commit/1c54e51b55fa92a9a3135882da53a63656ed29bf
Submitter: Zuul
Branch: R2.22.x

commit 1c54e51b55fa92a9a3135882da53a63656ed29bf
Author: Hari <email address hidden>
Date: Thu May 19 15:40:16 2016 +0530

Read and Write TXT records based on length only.

TXT records should not be encoded / decoded as a domain name, they are
not name compressed as domain names and do not end with a 0 length. Also
do the same for any other unsupported record type as well so that they
pass the request and response without dropping them.

Conflicts:
 src/dns/bind/bind_util.cc
 src/dns/test/dns_bind_test.cc

Change-Id: I37f85727a89937c6f33026e90029e537c5d90a32
closes-bug: #1583053
(cherry picked from commit 51802ea3ec39231e57fd0d052bf001d92a4449f7)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20418
Committed: http://github.org/Juniper/contrail-controller/commit/1741e17a2082089906b3915f59a86ad4c86150f7
Submitter: Zuul
Branch: R2.21.x

commit 1741e17a2082089906b3915f59a86ad4c86150f7
Author: Hari <email address hidden>
Date: Thu May 19 15:40:16 2016 +0530

Read and Write TXT records based on length only.

TXT records should not be encoded / decoded as a domain name, they are
not name compressed as domain names and do not end with a 0 length. Also
do the same for any other unsupported record type as well so that they
pass the request and response without dropping them.

Conflicts:
 src/dns/bind/bind_util.cc
 src/dns/test/dns_bind_test.cc

Change-Id: I37f85727a89937c6f33026e90029e537c5d90a32
closes-bug: #1583053

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20499
Committed: http://github.org/Juniper/contrail-controller/commit/1505fb7d9ee54b9bb97750e32cc38519e6f9c996
Submitter: Zuul
Branch: master

commit 1505fb7d9ee54b9bb97750e32cc38519e6f9c996
Author: Hari <email address hidden>
Date: Thu May 19 15:38:06 2016 +0530

Read and Write TXT records based on length only.

TXT records should not be encoded / decoded as a domain name, they are
not name compressed as domain names and do not end with a 0 length. Also
do the same for any other unsupported record type as well so that they
pass the request and response without dropping them.

Conflicts:
 src/dns/bind/bind_util.cc
 src/dns/test/dns_bind_test.cc

Change-Id: I37f85727a89937c6f33026e90029e537c5d90a32
closes-bug: #1583053
(cherry picked from commit a767a7b287a47d0794e212eebfda95140e309205)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.