[Samba] samba_dnsupdate

Paul Littlefield info at paully.co.uk
Mon Mar 2 15:12:46 UTC 2020


On 02/03/2020 14:26, L.P.H. van Belle via samba wrote:
> Guys, what i noticed.
> 
> Look at this.
> 
> Refused- 1/3/0 (Class 254)   ( /24 )
> Paully used /16
> 
> update 1/3/1 (Class 254) CNAME V-RDS02.mydomain.com
> CNAME ?
> 
> And, if he uses in his example
> samba-tool dns add dc3 mydomain.com V-RDS02 A 130.130.0.252
> A record was used.
> 
> Is resolv.conf checked and it is sure in pointing to the correct DNS of the AD first?
> 
>         addresses:
>         - 130.130.0.218/16
>         gateway4: 130.130.0.1
>         nameservers:
>           addresses:
>           - 130.130.0.218
>           - 130.130.0.219
> 
> 
> What are these AD-DC's ?
>           - 130.130.0.218
>           - 130.130.0.219
> 
> 
> Greetz,
> 
> Louis


Hello Lois,

Thanks for replying so quickly.

There are no CNAME entries in the DNS.

Yes, they ARE the DCs, here are the facts...


root at dc3.mydomain.com ~ $ (screen) ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
     link/ether 22:00:a0:80:dc:d4 brd ff:ff:ff:ff:ff:ff
     inet 130.130.0.218/16 brd 130.130.255.255 scope global ens18
        valid_lft forever preferred_lft forever

root at dc3.mydomain.com ~ $ (screen) cat /etc/resolv.conf
search mydomain.com
nameserver 130.130.0.218
nameserver 130.130.0.219
options timeout:2
options attempts:3
options rotate

root at dc4.mydomain.com ~ $ (screen) ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
     link/ether 02:b7:77:4d:5b:18 brd ff:ff:ff:ff:ff:ff
     inet 130.130.0.219/16 brd 130.130.255.255 scope global ens18
        valid_lft forever preferred_lft forever

root at dc4.mydomain.com ~ $ (screen) cat /etc/resolv.conf
search mydomain.com
nameserver 130.130.0.219
nameserver 130.130.0.218
options timeout:2
options attempts:3
options rotate

root at dc4.mydomain.com ~ $ (screen) host mydomain.com
mydomain.com has address 130.130.0.219
mydomain.com has address 130.130.0.218


Keep helping!

Regards,

Paully



More information about the samba mailing list