reverse DNS not working for some interfaces

Bug #1999668 reported by Marian Gasparovic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Christian Grabowski
3.3
Fix Released
High
Christian Grabowski

Bug Description

Fix for LP:#1999368 solved wrong DNS zone but for some interfaces reverse DNS is not working

$ dig node6.silo1.lab0.solutionsqa @10.244.40.30

...
;; ANSWER SECTION:
node6.silo1.lab0.solutionsqa. 0 IN A 10.244.40.138
node6.silo1.lab0.solutionsqa. 0 IN A 10.244.40.139
node6.silo1.lab0.solutionsqa. 0 IN A 192.168.35.6
node6.silo1.lab0.solutionsqa. 0 IN A 10.244.40.127
node6.silo1.lab0.solutionsqa. 0 IN A 10.244.40.137
node6.silo1.lab0.solutionsqa. 0 IN A 10.244.40.105
node6.silo1.lab0.solutionsqa. 0 IN A 10.244.8.6
node6.silo1.lab0.solutionsqa. 0 IN A 192.168.33.34
node6.silo1.lab0.solutionsqa. 0 IN A 192.168.36.6

reverse DNS works properly only for 10.244.40.x and 10.244.8.x

$ dig -x 10.244.8.6 @10.244.40.30

; <<>> DiG 9.16.1-Ubuntu <<>> -x 10.244.8.6 @10.244.40.30
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65413
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 39d644935ec438f90100000063997646d93b4fc223566ebd (good)
;; QUESTION SECTION:
;6.8.244.10.in-addr.arpa. IN PTR

;; ANSWER SECTION:
6.8.244.10.in-addr.arpa. 0 IN PTR node6.silo1.lab0.solutionsqa.
6.8.244.10.in-addr.arpa. 0 IN PTR ens4.2678.node6.silo1.lab0.solutionsqa.

;; Query time: 3 msec
;; SERVER: 10.244.40.30#53(10.244.40.30)
;; WHEN: Wed Dec 14 07:07:50 UTC 2022
;; MSG SIZE rcvd: 174

but IPs from other spaces respond like this

$ dig -x 192.168.36.6 @10.244.40.30

; <<>> DiG 9.16.1-Ubuntu <<>> -x 192.168.36.6 @10.244.40.30
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18092
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 35612631b1234bb60100000063997663eb66f4e98e436e13 (good)
;; QUESTION SECTION:
;6.36.168.192.in-addr.arpa. IN PTR

;; ANSWER SECTION:
6.36.168.192.in-addr.arpa. 30 IN CNAME 6.0-26.36.168.192.in-addr.arpa.

;; AUTHORITY SECTION:
0-26.36.168.192.in-addr.arpa. 30 IN SOA 0-26.36.168.192.in-addr.arpa. nobody.example.com. 127 600 1800 604800 30

;; Query time: 0 msec
;; SERVER: 10.244.40.30#53(10.244.40.30)
;; WHEN: Wed Dec 14 07:08:19 UTC 2022
;; MSG SIZE rcvd: 180

Logs
https://oil-jenkins.canonical.com/artifacts/d92ad5f8-160c-435e-b5f6-f450f0c8218c/generated/generated/maas/logs-2022-12-14-09.56.42.tgz

Related branches

Changed in maas:
milestone: none → 3.4.0
importance: Undecided → High
assignee: nobody → Christian Grabowski (cgrabowski)
status: New → Triaged
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Revision history for this message
Marian Gasparovic (marosg) wrote :

We are hitting this bug in rc2 still

Revision history for this message
Marian Gasparovic (marosg) wrote :

Logs from one of failed tests

https://oil-jenkins.canonical.com/artifacts/1f542f96-d35b-4311-816a-2d423520de73/generated/generated/maas/logs-2023-01-18-09.24.54.tgz

We have also passing tests in the same environment, I suspect it is a race condition

summary: - [3.3.0~rc1-13133-g.67fd5b9af] reverse DNS not working for some
- interfaces
+ reverse DNS not working for some interfaces
Revision history for this message
Marian Gasparovic (marosg) wrote :

Seeing this bug also in 3.3-rc3

Revision history for this message
Marian Gasparovic (marosg) wrote :
Revision history for this message
Marian Gasparovic (marosg) wrote :
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Triaged
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta2
status: Triaged → Fix Committed
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.