[Samba] howto test ddns

steve steve at steve-ss.com
Fri Aug 1 15:10:34 MDT 2014


On Fri, 2014-08-01 at 19:11 +0100, shadrock uhuru wrote:
> Hi Steve
> 
> nsupdate -g -D
> setup_system()
> reset_system()
> user_interaction()
> > server 10.2.1.6
> do_next_command()
> > realm TISSISAT.CO.UK
> do_next_command()
> > update delete ashanti. in A
> do_next_command()
> evaluate_update()
> update_addordelete()
> > update delete ashanti. in AAAA
> do_next_command()
> evaluate_update()
> update_addordelete()
> > update add testserver. 3600 in A 10.2.1.50
> do_next_command()
> evaluate_update()
> update_addordelete()
> > send
> do_next_command()
> start_update()
> recvsoa()
> About to create rcvmsg
> show_message()
> Reply from SOA query:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id:  52577
> ;; flags: qr; QUESTION: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUESTION SECTION:
> ;testserver.            IN    SOA
> 
> Out of recvsoa
> recvsoa()
> About to create rcvmsg
> show_message()
> Reply from SOA query:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:  45464
> ;; flags: qr aa ra; QUESTION: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUESTION SECTION:
> ;.                IN    SOA
> 
> could not find enclosing zone
> 
> 
> this is my hosts file, ashanti is the AD
> 
> #
> # /etc/hosts: static lookup table for host names
> #
> 
> #<ip-address>   <hostname.domain.org>   <hostname>
> # 127.0.0.1     localhost.localdomain   localhost ashanti
> # 10.2.1.6      ashanti.tissisat.co.uk  ashanti
> 127.0.0.1       localhost.localdomain   localhost
> 127.0.1.1       ashanti.tissisat.co.uk  ashanti
> ::1             localhost.localdomain   localhost

Hi
comment the 127.0.1.1 entry then look at your hostname as follows:
What do the following give us?
hostname
hostname -f
hostname -s
hostname -d

What does klist -k give and please post sssd.conf

Before you send the update, add the domain to the record. Don't worry
about the AAAA. For now, let's get the A working.
HTH
Steve




More information about the samba mailing list