Re: Unexpected unset of domainname
justin joseph wrote:
> On 7/24/09, James Brown <jbrownfirst@gmail.com> wrote:
>
>> I think it's OK with this file, don't it?
>>
>>> test with dnsdomainname
>>>
>>>
>>>
>> $ dnsdomainname
>> JMS
>>
>> Is it quite right?
>>
>
> If your intentions are met, then its allright.
> I don't understand why you have 127.0.1.1 in your hosts
> file. IMHO it should be 127.0.0.1
>
It is so from the bigging. And I have such recording in my hosts file on
my anther laptop (under Debian Lenny for i686).
> If your router is acting as a dhcp and DNS server you could
> assign hostname and domain name there as well. which will
> reflect in the resolv.conf file of computer, this is what I understand.
>
My router definds my laptop as:
>> 00:21:91:54:9e:10
>> 192.168.1.5
>> computer-d25587
>> 0 days 0:45:50
>> 00:18:de:6e:2c:e5
>> 192.168.1.2
>> unknown
>> 0 days 0:58:46
>>
>
>
(the first when my lapton connect with the router through Ethernet, the
second - through wlan).
And working with my laptop through dhcp instead static routing I
prescibe in its settings.
But even those are not all.
Furtherinmore I can see that when the tcpdump works:
07:58:24.211502 IP computer-d25247.35786 > mygateway1.ar7.www: . ack
1038 win 8340 <nop,nop,timestamp 417552 4794017>
Earlier recordings of the tcpdump included my hostname instead this
strange names as a computer-d*, unknown.
Reply to: