Bug 43854

Summary: UCS 4.2: short/unqualified SRV dns queries don't work any more
Product: UCS Reporter: Arvid Requate <requate>
Component: DNSAssignee: UCS maintainers <ucs-maintainers>
Status: RESOLVED WONTFIX QA Contact: UCS maintainers <ucs-maintainers>
Severity: normal    
Priority: P5 CC: gohmann
Version: UCS 4.2   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
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:

Description Arvid Requate univentionstaff 2017-03-14 22:49:13 CET
UCS 4.1:

root@master10:~# dig @localhost _kerberos._tcp SRV +search +short
0 100 88 master10.ar41i1.qa.

root@master10:~# host -t srv _kerberos._tcp
_kerberos._tcp.ar41i1.qa has SRV record 0 100 88 master10.ar41i1.qa.


UCS 4.2:

root@master10:~# dig @localhost _kerberos._tcp SRV +search +short

root@master100:~# host -t srv _kerberos._tcp
Host _kerberos._tcp not found: 3(NXDOMAIN)

root@master100:~# host -t srv _kerberos._tcp.$(dnsdomainname)
_kerberos._tcp.ar42ms2xi1.qa has SRV record 0 100 88 backup101.ar42ms2xi1.qa.
_kerberos._tcp.ar42ms2xi1.qa has SRV record 0 100 88 master100.ar42ms2xi1.qa.


I tested with dns/backend=samba4. Adding "search" to resolv.conf doesn't help.
Comment 1 Arvid Requate univentionstaff 2017-03-14 23:10:30 CET
Same with dns/backend=ldap
Comment 2 Arvid Requate univentionstaff 2017-03-15 13:03:10 CET
It works for normal host records, just not e.g. for SRV records.

apt-get install \
  bind9-host=1:9.8.4.dfsg.P1-6+nmu2.124.201610152034 \
  dnsutils=1:9.8.4.dfsg.P1-6+nmu2.124.201610152034

and it works again. No clue why yet.
Comment 3 Stefan Gohmann univentionstaff 2017-03-17 20:56:24 CET
I don't think it is a blocker for the release. Please change the target milestone, if someone disagrees.
Comment 4 Stefan Gohmann univentionstaff 2017-06-29 07:32:54 CEST
It seems to be a problem on our member servers as well. At least it is shown as problem in Jenkins:

I've adjusted the system check test:

r80603:
 * dns/forward_and_reverse_dns_myself.sh: Skip short dsn query on member server (Bug #43854)
Comment 5 Stefan Gohmann univentionstaff 2017-09-08 20:10:07 CEST
fc837e74
by Stefan Gohmann at 2017-09-08T20:07:53+02:00
00_checks/81_diagnostic_checks.py: skip 01_ssh_connection (Bug #43854)
Comment 6 Ingo Steuwer univentionstaff 2020-07-03 20:51:35 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.