[Samba] Changing the A-Record of the domain.

Rowland penny rpenny at samba.org
Thu Oct 3 13:51:14 UTC 2019


On 03/10/2019 14:41, Dipl.-Ing. Péter Varkoly via samba wrote:
> Am Donnerstag, den 03.10.2019, 14:13 +0100 schrieb Rowland penny via
> samba:
>> On 03/10/2019 13:43, Dipl.-Ing. Péter Varkoly via samba wrote:
>> This system was migrated form samba-3 NT to samba-4 AD. The A-Record of
>> the DNS-Domain pointed to the web-server which is placed on an other
>> server.
Then you need to change the IP of the web server.
>> If an IP is beadded after Samba is restarted, this is obviously
>> being done by samba_dnsupdate, which is adding the ipaddress of the
>> DC
>> and this is required.
> Thanks that was what I wanted to know. There are some rules in life
> that you have to accept. That's one of those :-)

Not quite true ;-)

All AD DCs are authoritative for the AD dns domain:

dig samdom.example.com

; <<>> DiG 9.10.3-P4-Debian <<>> samdom.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41630
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;samdom.example.com.        IN    A

;; ANSWER SECTION:
samdom.example.com.    900    IN    A    192.168.0.6
samdom.example.com.    900    IN    A    192.168.0.8

;; AUTHORITY SECTION:
samdom.example.com.    900    IN    NS    dc4.samdom.example.com.
samdom.example.com.    900    IN    NS    dc8.samdom.example.com.

;; ADDITIONAL SECTION:
dc8.samdom.example.com.    900    IN    A    192.168.0.8
dc4.samdom.example.com.    900    IN    A    192.168.0.6

;; Query time: 1 msec
;; SERVER: 192.168.0.6#53(192.168.0.6)
;; WHEN: Thu Oct 03 14:48:03 BST 2019
;; MSG SIZE  rcvd: 147

Rowland






More information about the samba mailing list