DNS problem ubuntu server 20.04
RickJC1
rickjc2 at gunas.co.uk
Thu May 14 17:57:38 UTC 2020
Hello everyone I am trying to get Samba 4.11.6 -Ubuntu Bind
9.16.1-Ubuntu to work with Ubuntu server 20.04
Hostname: dc1s
NetBIOS Domain: GUNAS
DNS Domain: gunas.int
I am trying resolve a problem with not being able to find the server.
After many days of failed attempts. I did not want to bother anyone but
I have been defeated so I could do with some help please.
*/etc/resolv.conf*
nameserver 127.0.0.53
options edns0
search gunas.int
*/etc/systemd/network/enp0s3.network*
[Match]
Name=enp0s3
[Network]
DNS=192.168.1.123
DNSSECNegativeTrustAnchors=lan
Domains=lan
If I do *host -t SRV _ldap._tcp.gunas.int *
*Returns* Host _ldap._tcp.gunas.int not found: 3(NXDOMAIN)
If I try *host -t A dc1s.gunas.int*
*Returns* Host dc1s.gunas.int not found: 3(NXDOMAIN)
I think the problem is with DNS working
I'm not sure if after updates or not, because the monitor says it all OK.
root at dc1s:~# dig gunas.int @localhost
; <<>> DiG 9.16.1-Ubuntu <<>> gunas.int @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6585
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: cbfd0ae2a1293dde010000005ebd4ac344d7a9c2bd4a38fc (good)
;; QUESTION SECTION:
;gunas.int. IN A
;; AUTHORITY SECTION:
int. 1773 IN SOA sns.dns.icann.org. noc.dns.icann.org. 2020050830 3600
1800 604800 3600
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 14 14:42:27 BST 2020
;; MSG SIZE rcvd: 123
----------------------------------------------------------------------------------------------------------
root at dc1s:~# s*ystemctl status bind9*
● named.service - BIND Domain Name Server
Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor
preset: enabled)
Active: active (running) since Thu 2020-05-14 14:38:26 BST; 13s ago
Docs: man:named(8)
Main PID: 1389 (named)
Tasks: 8 (limit: 2282)
Memory: 17.1M
CGroup: /system.slice/named.service
└─1389 /usr/sbin/named -f -u bind
May 14 14:38:26 dc1s named[1389]: command channel listening on ::1#953
May 14 14:38:26 dc1s named[1389]: managed-keys-zone: loaded serial 19
May 14 14:38:26 dc1s named[1389]: zone 127.in-addr.arpa/IN: loaded serial 1
May 14 14:38:26 dc1s named[1389]: zone 0.in-addr.arpa/IN: loaded serial 1
May 14 14:38:26 dc1s named[1389]: zone 255.in-addr.arpa/IN: loaded serial 1
May 14 14:38:26 dc1s named[1389]: zone localhost/IN: loaded serial 2
May 14 14:38:26 dc1s named[1389]: all zones loaded
May 14 14:38:26 dc1s named[1389]: running
May 14 14:38:27 dc1s named[1389]: managed-keys-zone: Key 20326 for zone
. is now trusted (acceptance timer complete)
May 14 14:38:36 dc1s named[1389]: resolver priming query complete
root at dc1s:~#
*From syslog*
May 14 15:39:04 dc1s systemd-resolved[644]: Server returned error
NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying
transaction with reduced feature level UDP.
May 14 15:39:04 dc1s ntpd[717]: Soliciting pool server 81.21.65.169
May 14 15:39:04 dc1s ntpd[717]: Soliciting pool server 83.137.225.123
May 14 15:39:04 dc1s ntpd[717]: Soliciting pool server 37.59.47.71
May 14 15:39:04 dc1s systemd-resolved[644]: Server returned error
NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying
transaction with reduced feature level UDP.
May 14 15:39:04 dc1s systemd-resolved[644]: message repeated 2 times: [
Server returned error NXDOMAIN, mitigating potential DNS violation
DVE-2018-0001, retrying transaction with reduc>
May 14 15:39:04 dc1s ntpd[717]: Soliciting pool server 91.189.89.199
May 14 15:39:04 dc1s systemd-resolved[644]: Server returned error
NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying
transaction with reduced feature level UDP.
May 14 15:39:05 dc1s systemd-resolved[644]: message repeated 19 times: [
Server returned error NXDOMAIN, mitigating potential DNS violation
DVE-2018-0001, retrying transaction with redu>
May 14 15:39:05 dc1s ntpd[717]: Soliciting pool server 91.189.94.4
May 14 15:39:05 dc1s ntpd[717]: Soliciting pool server 85.199.214.102
Thanks
Rick
More information about the samba-technical
mailing list