Dirk Heinrichs
2017-Apr-22 09:27 UTC
[Samba] Samba AD with internal DNS: Can't resolve aliases anymore
Hi, I've setup a Samba 4 based AD server a while ago and everything was working fine for some time. However, since a few days it seems it doesn't resolve aliases anymore. I can query them using the host command, but a simple ping then fails to resolve the name: % host alias1 alias1.altum.de is an alias for server1. % ping alias1 ping: alias1: Name or service not known % ping alias1.altum.de ping: alias1.altum.de: Name or service not known % cat /etc/resolv.conf nameserver 192.168.1.102 search altum.de OTOH, if I try a non-existent alias, it looks like this: % ping alias2 :( ping: alias2: No address associated with hostname Any ideas how to debug/solve this? System is Debian Stretch with Samba 4.5.8, installed from packages. Thanks... Dirk -- Dirk Heinrichs <dirk.heinrichs at altum.de> GPG Public Key: D01B367761B0F7CE6E6D81AAD5A2E54246986015 Sichere Internetkommunikation: http://www.retroshare.org Privacy Handbuch: https://www.privacy-handbuch.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20170422/ca53303a/signature.sig>
Luca Olivetti
2017-Apr-22 12:56 UTC
[Samba] Samba AD with internal DNS: Can't resolve aliases anymore
El 22/04/17 a les 11:27, Dirk Heinrichs via samba ha escrit:> Hi, > > I've setup a Samba 4 based AD server a while ago and everything was > working fine for some time. However, since a few days it seems it > doesn't resolve aliases anymore. I can query them using the host > command, but a simple ping then fails to resolve the name: > > % host alias1 > alias1.altum.de is an alias for server1. > % ping alias1 > ping: alias1: Name or service not known > % ping alias1.altum.de > ping: alias1.altum.de: Name or service not known > % cat /etc/resolv.conf > nameserver 192.168.1.102 > search altum.deCheck nsswitch.conf. Make sure you just have "iiles dns" in the hosts line. -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
Dirk Heinrichs
2017-Apr-22 15:59 UTC
[Samba] Samba AD with internal DNS: Can't resolve aliases anymore
Am 22.04.2017 um 14:56 schrieb Luca Olivetti via samba:> Check nsswitch.conf. Make sure you just have "iiles dns" in the hosts > line.Yes, that's the case. Bye... Dirk -- Dirk Heinrichs <dirk.heinrichs at altum.de> GPG Public Key: D01B367761B0F7CE6E6D81AAD5A2E54246986015 Sichere Internetkommunikation: http://www.retroshare.org Privacy Handbuch: https://www.privacy-handbuch.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20170422/38cfae7c/signature.sig>
Apparently Analagous Threads
- Samba AD with internal DNS: Can't resolve aliases anymore
- Samba AD with internal DNS: Can't resolve aliases anymore
- Problem with ticket lifetimes of Linux clients authenticating to Samba 4 AD
- AD: Using SyncThing for sysvol replication
- Second DC: "Failed DNS update - with error code 24" in the logs