Bug 51652 - UCS-5-dev: univention.lib.admember.lookup_adds_dc fails because dig 9.11 receives FORMERR
UCS-5-dev: univention.lib.admember.lookup_adds_dc fails because dig 9.11 rece...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: univention-lib
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Arvid Requate
Florian Best
https://support.f5.com/csp/article/K5...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-07-08 15:53 CEST by Arvid Requate
Modified: 2021-05-25 15:58 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2020-07-08 15:53:16 CEST
univention.lib.admember.lookup_adds_dc fails in UCS 5 / Debian Buster because dig 9.11 receives a FROMERR:

======================================================================
root@master160:~# dig @ADSERVERIP arw2k8server1.w2k8r2d2ar.net +qr

; <<>> DiG 9.11.5-P4-5.1A~5.0.0.202006111144-Univention <<>> @10.200.8.126 arw2k8server1.w2k8r2d2ar.net +qr
; (1 server found)
;; global options: +cmd
;; Sending:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47822
;; flags: rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 3afad01f9ddb3bc2
;; QUESTION SECTION:
;arw2k8server1.w2k8r2d2ar.net.  IN      A

;; QUERY SIZE: 69

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 47822
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 3afad01f9ddb3bc2 (echoed)
;; QUESTION SECTION:
;arw2k8server1.w2k8r2d2ar.net.  IN      A

;; Query time: 0 msec
;; SERVER: 10.200.8.126#53(10.200.8.126)
;; WHEN: Mi Jul 08 15:46:55 CEST 2020
;; MSG SIZE  rcvd: 69
======================================================================

Adding the option +nocookie fixes this.
Comment 1 Arvid Requate univentionstaff 2020-07-08 16:01:32 CEST
091eb2b371 | Use +nocookie option with dig to avoid FORMERR
0e9218368e | Release changelog
Comment 2 Florian Best univentionstaff 2020-07-14 19:21:47 CEST
OK: dns request works with +nocookie
OK: changelog entry
Comment 3 Florian Best univentionstaff 2021-05-25 15:58:34 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".