DNS updates not working.
Indexer
indexer at internode.on.net
Sat Jan 1 20:03:30 MST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/01/2011, at 23:32, Indexer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I have been once again experimenting with samba4
>
> I have had issue with DNS updating now. upon issuing the command.
>
> [root at maria /etc/namedb]# /usr/samba4/sbin/samba_dnsupdate --verbose
>
> I have a list of updates, and then they are tried in turn. Each gives the message
>
> Calling nsupdate for A maria.example.com 172.24.20.254
> Outgoing update query:
> ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0
> ;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
> ;; UPDATE SECTION:
> maria.example.com. 900 IN A 172.24.20.254
>
> ; Communication with 172.24.0.254#53 failed: timed out
> could not talk to any default name server
> Failed nsupdate: A maria.example.com 172.24.20.254 : Command '['/usr/bin/nsupdate', '-g', '/tmp/tmpLH05lh']' returned non-zero exit status 1
> Failed update of 4 entries
>
> 172.24.20.254 is the local IP of this machine. I have include the samba named.conf correctly, and all other features work.
>
> The machine is freebsd 8.1, running samba 3b4fd3573e581c610e38cc6a652d57da533062c4 on bind 9.8.0a
To provide some more information.
Named is listening on all the interfaces, and works correctly when queried.
I have correctly kinit-ed
[root at maria ~]# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: Administrator at EXAMPLE.COM
Issued Expires Principal
Jan 2 01:55:03 Jan 2 11:55:03 krbtgt/EXAMPLE.COM at EXAMPLE.COM
Jan 2 01:55:05 Jan 2 11:55:03 DNS/maria.example.com at EXAMPLE.COM
When doing this update by hand i have this output
[root at maria ~]# nsupdate -dD -g /tmp/tmpzTp6r6
setup_system()
reset_system()
user_interaction()
get_next_command()
get_next_command()
evaluate_update()
update_addordelete()
get_next_command()
start_update()
recvsoa()
About to create rcvmsg
show_message()
Reply from SOA query:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56594
;; flags: qr aa ra; QUESTION: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;maria.example.com. IN SOA
;; AUTHORITY SECTION:
example.com. 604800 IN SOA maria.example.com. hostmaster.example.com. 2011010114 172800 14400 3628800 604800
Found zone name: example.com
The master is: maria.example.com
start_gssrequest
send_gssrequest
show_message()
Outgoing update query:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40715
;; flags:; QUESTION: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;265765160.sig-maria.example.com. ANY TKEY
;; ADDITIONAL SECTION:
265765160.sig-maria.example.com. 0 ANY TKEY gss-tsig. 1293900998 1293900998 3 NOERROR 1367 <LONG KEY HERE> 0
Out of recvsoa
recvgss()
; Communication with 127.0.0.1#53 failed: timed out
could not talk to specified name server
I have noticed that whenever i run this, named seems to "lock up", which would lead me to believe this is an issue with named itself. Any ideas?
Sincerely
William Brown
pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
iQIcBAEBAgAGBQJNH+sCAAoJEHF16AnLoz6JBjAP/1wwLo2SpC26v0CJvoKH+8Pl
aNkPx9PB03zTA+Je0JOoT6SFsi3kkSWryGb2rfqbLeLyh9AhIFCJ3lYprQSXouCp
7u+/Y0kav4D+5yNxzUFmKSwmIlaH1dWSibRvPsvDGZsEsS+/sByLf2c0ddJBmyHT
HUyIAkxkzk5kQESqVaIEqGP3la8fnt+caRPhVNEN76KpSx196a2EIxLPG2sQ2oaN
hs9mduI3PtZeW72VWGJVb3QU1K4pEaa0F6GvInEVLdKqTTfoMdQPBm7yvXqfBmzP
+2xQcHRvvoQrb2MwTzH/SB938Xgk9ua4lj3mN4ILUuenALXrLjRFIt/vZBWkchWu
Qjw8XLryIUVUw3lWrUBqeWoWDKMj/l5oyP/1CCRr0U4VzW3FhyTvyuaKokhItNkF
yzCgtuSXIl/DinJireDie6MuW93MXvDcbrSfx2qRRnD6j07CykP/IX/VUFoj70vu
TZnR+5D+L5ubdubvgPBjIR0oxC2+KQiyN3eGDQlwU9h9rqIrH/qRoCxAv6TaOl9s
gtEVqTbSIDUuHyUlPz1KX4ZhoIqpGxrossxFoNQCYhGSiiDWLHAHx2V19GvLBuBx
ice6e5KNs85E1F3VatC2AAMUP31H/66X73+emGbbufymIUYODviP018i1oYWeH+t
DYziGf4uu0Dae5yDKjwg
=2kfL
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list