Sambaドメインには複数のIPが接続されています。

Sambaドメインには複数のIPが接続されています。

私はSamba DCを設定しましたが、同じシステム上に複数のDockerコンテナが実行されており、ネットワークインターフェイスがアクティブになり、ドメインに5つの異なるIPがありますが、実際にはそうではありません。 Nslookup出力:

nslookup nexello.lan
Server:         192.168.0.100
Address:        192.168.0.100#53

Name:   nexello.lan
Address: 172.16.238.1
Name:   nexello.lan
Address: 172.17.0.1
Name:   nexello.lan
Address: 172.18.0.1
Name:   nexello.lan
Address: 172.19.0.1
Name:   nexello.lan
Address: 192.168.0.100

接続する必要がある唯一のIPは最後のIPです。他の人をどのように削除できますか?

ベストアンサー1

samba-tool dns delete <host ip> nexello.lan @ A <record> -UAdministrator

そして

samba-tool dns delete <host ip> nexello.lan <host name> A <record> -UAdministrator

重複レコードの削除

おすすめ記事