[Samba] Win Clients and DNS

Ole Traupe ole.traupe at tu-berlin.de
Mon Nov 16 12:15:34 UTC 2015


Viktor, install Windows RSAT tools on one of your Win clients. Check the 
ADUC and DNS console. In ADUC, the machine object (usually under 
Computers) should have a correct DNS entry. In the DNS console, there 
should be a Host (A) record for each of your clients.

IF that is the case and IF you can reach your clients (resolv the hosts) 
AND Windows still unsuccessfully tries to register the addresses, the 
try to uncheck this checkbox.

Also, I use static IPs for my Win clients with the DNS servers being my 
DCs. This should be set before domain join.

Ole


Am 16.11.2015 um 10:47 schrieb Viktor Trojanovic:
>
>
> On 16.11.2015 09:57, Rowland Penny wrote:
>> On 16/11/15 00:31, Viktor Trojanovic wrote:
>>> I have an AD with 1 Samba DC and 5 Windows 10 clients. The DC and 
>>> the clients all have a fixed IPv4 address.
>>>
>>> In the windows event viewer, I constantly see the following warning:
>>>
>>> Event 8019, DNS Client Events
>>> ------------------------------------------
>>> The system failed to register host (A or AAA) resource records (RRs) 
>>> for network adapter with settings:
>>>
>>> Adapter Name: {someGUID}
>>> Host Name: Client-PC
>>> Primary Domain Suffix: SAMDOM.COM
>>> DNS Server list:
>>>     192.168.0.1
>>> Sent update to server: <?>
>>> IP Addresses:
>>>    192.168.0.15
>>> ------------------------------------------
>>>
>>> Is it necessary to manually make some entries in DNS for the client 
>>> machines? I didn't see anything about that in the Wiki.
>>>
>>> I'm trying to figure out if this is connected to another problem I'm 
>>> facing. A machine based GPO is not executed because "the file 
>>> \\SAMDOM.COM\SysVol\[...]\gpt.ini from a domain controller could not 
>>> be read", and as one of the possible reasons for the error, name 
>>> resolution is mentioned. I can access the file just fine once I'm 
>>> logged in so I really don't know what the issue is here.
>>>
>>> Thanks,
>>> Viktor
>>>
>>
>> Is there anything in syslog on the DC, it may be that whilst your 
>> clients are trying to update their dns records in AD, they are being 
>> denied.
>> If the clients were Unix based, you would have to add their records 
>> to AD manually, It is probably the same for fixed window clients.
>> There is something on the wiki about adding dns records, but it is a 
>> bit unclear as to why you would need to do this:
>>
>> https://wiki.samba.org/index.php/DNS_administration#Adding_new_records
>>
>> Rowland
>
> Yes, I read that, and I'm not clear either on why the clients need 
> registration and what the disadvantages would be if they aren't. But 
> Ole's tip to remove the "Register DNS" checkbox from the network 
> interface on Win Clients does seem like valuable information for the 
> wiki.
>
> Viktor
>
>




More information about the samba mailing list