Samba-tool DNS with PTR and IPv6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Samba-tool DNS with PTR and IPv6

Samba - General mailing list
Hello

We have a samba with only IPv4 and now I set up IPv6 (Dual stack) on our network.
It works for DNS entry (AAAA)
For reverse zone, it works (PTR) but samba-tool query prints only the first character of reverse zone (suffix) :

```
root@smb1:~# samba-tool dns query localhost 0.a.0.0.0.2.e.b.4.0.5.9.0.d.d.f.ip6.arpa @ PTR -Uadministrator
Name=, Records=0, Children=0
Name=f, Records=0, Children=1
```
It works with dig command :
```
dig -x fdd0:9504:be20:a0:fffc::50 @172.16.0.80 +noall +answer
; <<>> DiG 9.10.3-P4-Ubuntu <<>> -x fdd0:9504:be20:a0:fffc::50 @172.16.0.80 +noall +answer
;; global options: +cmd
0.5.0.0.0.0.0.0.0.0.0.0.c.f.f.f.0.a.0.0.0.2.e.b.4.0.5.9.0.d.d.f.ip6.arpa. 10800 IN PTR centreon.alkante.al.
```
For administrate reverse zone, it is possible to print all entries with samba-tool ?

Cordialement,
William BERTIER
Administrateur Réseaux et Systèmes
______________________________________
ALKANTE SAS
4 rue Alain Colas - 35530 Noyal sur Vilaine
tél: + 33 (0)2 99 22 25 70 - www.alkante.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba