Samba4 dns: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal dns= | =Internal dns= | ||
==editing the tdb database by hand== | |||
The samba4 internal dns server used to have a bug where multiple database entries could get 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. | ||
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. | 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. |
Revision as of 13:18, 26 July 2017
Internal dns
editing the tdb database by hand
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