Difference between revisions of "Samba4 dns"

From lippmann wiki
Jump to: navigation, search
(Created page with "=Internal dns= The samba4 internal dns server used to have a bug where it could get into a race condition when adding entries. When this happened, multiple database entries go...")
 
Line 1: Line 1:
 
=Internal dns=
 
=Internal dns=
The samba4 internal dns server used to have a bug where it could get into a race condition when adding entries. When this happened, multiple database entries got added for the same host.
+
The samba4 internal dns server used to have a bug where multiple database entries could get added for the same host.
The symptom ends up being that dns entries do resolve, but are not shown in the RSAT gui, nor via sambatool. They can't be edited, removed or updated with these common administration tools. The fix is to remove the duplicate entries, and then recreate the entry via normal means.
+
When this happens, the relevant dns host can resolve with a dns query, but the entries are not shown in the RSAT gui, nor via sambatool. They can't be edited, removed or updated with the common administration tools. The fix is to remove the database entries by hand, and then recreate it via normal means.
 
Removing the duplicate entries requires using tdb to find the relevant entries and then remove them.
 
Removing the duplicate entries requires using tdb to find the relevant entries and then remove them.
 +
 +
in my case I have a hostname 'openbsd' resolving to address 192.168.1.14. It resolves fine, but does not show up with RSAT or samba-tool A queries.
 +
 +
# host openbsd
 +
openbsd.lippmann.us has address 192.168.1.14

Revision as of 13:17, 26 July 2017

Internal dns

The samba4 internal dns server used to have a bug where multiple database entries could get added for the same host. When this happens, the relevant dns host can resolve with a dns query, but the entries are not shown in the RSAT gui, nor via sambatool. They can't be edited, removed or updated with the common administration tools. The fix is to remove the database entries by hand, and then recreate it via normal means. Removing the duplicate entries requires using tdb to find the relevant entries and then remove them.

in my case I have a hostname 'openbsd' resolving to address 192.168.1.14. It resolves fine, but does not show up with RSAT or samba-tool A queries.

# host openbsd
openbsd.lippmann.us has address 192.168.1.14