Indeed it was wrong in /etc/hosts, but this whould be ok when DHCP is
set up differently.

Thanks
Bjørge

On 08/09/11 13:40, michaelkrieg wrote:
> Hi,
>
> what says "hostname -f"? What about your /etc/hosts and /etc/
> hostname ?
>
> Regards,
> Michael
>
> On 8 Sep., 13:36, Bjorge Solli <bjo...@solli.priv.no> wrote:
>> How is fqdn generated?
>>
>> On my system it is set to it011064.uib.no, but it really should be set
>> to it011064.klientdrift.uib.no. Reverse dns and hostname is correct:
>>
>> root@it011064:~# facter --puppet | grep ^fqdn
>> fqdn => it011064.uib.no
>> root@it011064:~# hostname
>> it011064
>> root@it011064:~# host $(hostname)
>> it011064.klientdrift.uib.no has address 129.177.11.64
>> root@it011064:~# host $(host $(hostname)|awk '{ print $4 }')
>> 64.11.177.129.in-addr.arpa domain name pointer it011064.klientdrift.uib.no.
>>
>> Bj rge

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to