NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Serving FQDNs with dnsmasq

On Sat, Nov 26, 2011 at 11:35 PM, Julio Merino <> 
> On 11/26/11 5:33 PM, hans dinsen-hansen wrote:
>> On Sat, Nov 26, 2011 at 11:09 PM, Julio Merino 
>> <> wrote:
>>> On 11/26/11 5:07 PM, hans dinsen-hansen wrote:
>>>> I do not quite understand your problems. but perhaps this may help:
>>>> Commands and output from this computer:
>>>>         pluto:dino {102} cat /etc/dhclient.conf
>>>>         pluto.home
>>>>         interface "re0" {
>>>>         send host-name "pluto";
>>>>         }
>>>>         pluto:dino {103} cat /etc/myname
>>>>         pluto.home
>>> What does the "hostname" command return in your machine?  It'll probably
>>> say "pluto" by itself, not "pluto.home".
>>       pluto:dino {104} hostname
>>       pluto
>> As copy-pasted from my terminal program
> And that is exactly my problem.  I'd expect this to be 'pluto.home' and
> 'hostname -s' should return 'pluto'.  However, the system does not know
> what your domain name is, so things like the "mydomain" setting in
> postfix cannot be automatically deduced.  I'm sure this can cause
> problems elsewhere.

Well, my domain name server/router is somewhat strange.  It was delivered
by my internet provider.  if I do not send a name, it invents one.  And then
it forces me to use the invented one.

I did not keep my notes on what happened exactly, but this is how I solved
my problem.

Kind regards

Home | Main Index | Thread Index | Old Index