Peter Tuharsky
2019-Feb-07 20:05 UTC
[Samba] Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
Well, I have finally installed Samba 4.9 from Van Belle's repo, but still I cannot resolve FQDN's. Dňa 22. 1. 2019 o 15:02 Rowland Penny via samba napísal(a):> On Tue, 22 Jan 2019 14:51:02 +0100 > "Mgr. Peter Tuharsky via samba" <samba at lists.samba.org> wrote: > >> Rowland, thank You, but this removes only the NS record, but the >> faulty domain A records remain. How to deal with them, I don't know. >> They behave unlike the ordinary A records. >> >> Name=, Records=8, Children=0 >> SOA: serial=27, refresh=900, retry=600, expire=86400, minttl=3600, >> ns=blacktux.interbronz.local., email=hostmaster.interbronz.local. >> (flags=600000f0, serial=27, ttl=3600) >> NS: blacktux.interbronz.local. (flags=600000f0, serial=1, ttl=900) >> A: 10.10.10.101 (flags=600000f0, serial=1, ttl=900) >> A: 10.20.1.1 (flags=600000f0, serial=3, ttl=900) >> A: 10.20.2.1 (flags=600000f0, serial=9, ttl=900) >> A: 10.20.3.1 (flags=600000f0, serial=10, ttl=900) >> A: 10.20.4.1 (flags=600000f0, serial=11, ttl=900) >> A: 10.30.1.1 (flags=600000f0, serial=23, ttl=900) >> > You posted: > > I can manage standard A records, but not sure, what to do with the NS. I > can't figure out, how to delete invalid A subrecord of NS record. > > So I took it you wanted to know how to remove an NS record. > > You remove an 'A' record in a similar way, try reading: > > 'samba-tool dns samba-tool dns delete --help' > > Which will produce this: > > Usage: samba-tool dns delete <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data> > > Delete a DNS record > > For each type data contents are as follows: > A ipv4_address_string > AAAA ipv6_address_string > PTR fqdn_string > CNAME fqdn_string > NS fqdn_string > MX "fqdn_string preference" > SRV "fqdn_string port priority weight" > TXT "'string1' 'string2' ..." > > See if you can work out how to delete the unwanted 'A' records ? > > Rowland >
Rowland Penny
2019-Feb-07 20:24 UTC
[Samba] Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
On Thu, 7 Feb 2019 21:05:12 +0100 Peter Tuharsky via samba <samba at lists.samba.org> wrote:> Well, I have finally installed Samba 4.9 from Van Belle's repo, but > still I cannot resolve FQDN's. >It should work, here is proof: rowland at devstation:~/diff$ nslookup dc4 Server: 192.168.0.6 Address: 192.168.0.6#53 Name: dc4.samdom.example.com Address: 192.168.0.6 rowland at devstation:~/diff$ nslookup dc4.samdom.example.com Server: 192.168.0.6 Address: 192.168.0.6#53 Name: dc4.samdom.example.com Address: 192.168.0.6 rowland at devstation:~/diff$ nslookup 192.168.0.6 Server: 192.168.0.6 Address: 192.168.0.6#53 6.0.168.192.in-addr.arpa name = dc4.samdom.example.com. rowland at devstation:~/diff$ ping -c1 dc4 PING dc4.samdom.example.com (192.168.0.6) 56(84) bytes of data. 64 bytes from dc4.samdom.example.com (192.168.0.6): icmp_seq=1 ttl=64 time=0.890 ms --- dc4.samdom.example.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.890/0.890/0.890/0.000 ms rowland at devstation:~/diff$ ping -c1 dc4.samdom.example.com PING dc4.samdom.example.com (192.168.0.6) 56(84) bytes of data. 64 bytes from dc4.samdom.example.com (192.168.0.6): icmp_seq=1 ttl=64 time=0.567 ms --- dc4.samdom.example.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.567/0.567/0.567/0.000 ms rowland at devstation:~/diff$ ping -c1 192.168.0.6 PING 192.168.0.6 (192.168.0.6) 56(84) bytes of data. 64 bytes from 192.168.0.6: icmp_seq=1 ttl=64 time=0.668 ms --- 192.168.0.6 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.668/0.668/0.668/0.000 ms How are you creating your dns records ? Rowland
Peter Tuharsky
2019-Feb-08 20:19 UTC
[Samba] Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
like this, Rowland: samba-tool dns add -U administrator 10.20.1.1 interbronz.local asus.interbronz.local A 10.20.4.69 Dňa 7. 2. 2019 o 21:24 Rowland Penny via samba napísal(a):> On Thu, 7 Feb 2019 21:05:12 +0100 > Peter Tuharsky via samba <samba at lists.samba.org> wrote: > >> Well, I have finally installed Samba 4.9 from Van Belle's repo, but >> still I cannot resolve FQDN's. >> > It should work, here is proof: > > rowland at devstation:~/diff$ nslookup dc4 > Server: 192.168.0.6 > Address: 192.168.0.6#53 > > Name: dc4.samdom.example.com > Address: 192.168.0.6 > > rowland at devstation:~/diff$ nslookup dc4.samdom.example.com > Server: 192.168.0.6 > Address: 192.168.0.6#53 > > Name: dc4.samdom.example.com > Address: 192.168.0.6 > > rowland at devstation:~/diff$ nslookup 192.168.0.6 > Server: 192.168.0.6 > Address: 192.168.0.6#53 > > 6.0.168.192.in-addr.arpa name = dc4.samdom.example.com. > > rowland at devstation:~/diff$ ping -c1 dc4 > PING dc4.samdom.example.com (192.168.0.6) 56(84) bytes of data. > 64 bytes from dc4.samdom.example.com (192.168.0.6): icmp_seq=1 ttl=64 time=0.890 ms > > --- dc4.samdom.example.com ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.890/0.890/0.890/0.000 ms > rowland at devstation:~/diff$ ping -c1 dc4.samdom.example.com > PING dc4.samdom.example.com (192.168.0.6) 56(84) bytes of data. > 64 bytes from dc4.samdom.example.com (192.168.0.6): icmp_seq=1 ttl=64 time=0.567 ms > > --- dc4.samdom.example.com ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.567/0.567/0.567/0.000 ms > rowland at devstation:~/diff$ ping -c1 192.168.0.6 > PING 192.168.0.6 (192.168.0.6) 56(84) bytes of data. > 64 bytes from 192.168.0.6: icmp_seq=1 ttl=64 time=0.668 ms > > --- 192.168.0.6 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.668/0.668/0.668/0.000 ms > > How are you creating your dns records ? > > Rowland >
Possibly Parallel Threads
- Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
- Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
- Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
- Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
- Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname