[Samba] Ubuntu client ddns failure [SOLVED]

Rowland Penny rowlandpenny at googlemail.com
Thu May 22 07:07:04 MDT 2014


On 22/05/14 13:58, steve wrote:
> On 22/05/14 14:45, L.P.H. van Belle wrote:
>> no, FQDN in /etc/hostname.
>>
>> as you see here.
>>
>> cat /etc/hostname
>> mail1
>>
>> hostname -s
>> mail1
>>
>> hostname -d
>> bazuin.nl
>>
>> hostname -f
>> mail1.bazuin.nl
>>
>> getent hosts mail1.bazuin.nl
>> 192.168.xxx.xxx mail1.bazuin.nl
>> 195.xxx.xxx.xxx mail1.bazuin.nl
>>
>> getent hosts 192.168.xxx.xxx
>> 192.168.xxx.xxx mail1.bazuin.nl
>>
>> all correct.
>>
>> Debian Reference specify that it is the unqualified hostname
>> that should appear in this file /etc/hostname
>>
>> Steve did you put "domain hh3.site" in resolv.conf ?
>> if not, do it.
>> put the "single hostname " in /etc/hostname
>> run
>> hostname -F /etc/hostname
>> reboot
>>
>> and recheck with above commands.
>>
>> Louis
>
> Nope. No go. domain hh3.site in  resolv.conf neither. The only way it 
> will go is if fqdn is in /etc/hostname
>
>
putting 'domain hh3.site' wouldn't work if you already had 'search 
hh3.site' in there already, see this extract from 'man resolv.conf':

The domain and search keywords are mutually exclusive. If more than
one instance of these keywords is present, the last instance wins.

Rowland



More information about the samba mailing list