Re: [Dnsmasq-discuss] LAN taken down by Ubuntu upgrade - can't see problem

2013-07-03 Thread Adam Hardy

Koos Pol on 7/2/2013 4:28 PM, wrote:

Op 30-06-13 22:25, Simon Kelley schreef:


On 30/06/13 16:55, Adam Hardy wrote:



adam@cyberspaceroad.com on 6/29/2013 5:45 PM, wrote:

adam at gondor:~$ cat /etc/hosts
127.0.0.1   localhost gondor gondor.localdomain
192.168.0.3 gondor.localdomain



I installed dhcping and running this command on the server with dnsmasq
on 192.168.0.3 produces the response no answer - surely I probe the
DHCP service from the same machine like that?



It's possible that the kernel or routing the dhcping request via the lo local
interface, rather than via eth1, which is where dnsmasq is expecting to
receive it.


It may not be related, but OP surprised me by having a FQHN for 127.0.0.1
Although many current Linux box configure themselves that way, it is
considered bad practice. Try to avoid it.


Hi Koos,
is that because you should only have the FQDN appear once in /etc/hosts? Or is 
there another reason?


Regards
Adam


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] LAN taken down by Ubuntu upgrade - can't see problem

2013-07-03 Thread Koos Pol

Adam Hardy schreef op 2013-07-03 08:09:

It may not be related, but OP surprised me by having a FQHN for 
127.0.0.1

Although many current Linux box configure themselves that way, it is
considered bad practice. Try to avoid it.



is that because you should only have the FQDN appear once in
/etc/hosts? Or is there another reason?


Hi Adam,

You can have as many FQHNs in your hosts file as you wish for the same 
device. This is not a problem. But only for *real* devices. The lo 
device (127.0.0.x) should better be left alone and only have assigned 
'localhost'.
There's plenty of software around (Oracle, Zimbra) which will go tits-up 
if you assign a genuine hostname to 127.0.0.1 in certain DNS 
configurations.

I prefer a simple '127.0.0.1 localhost'.
Sometimes you find an entry '127.0.0.1 localhost localhost.localdomain'.
I don't know who invented the localdomain suffix, but it seems just as 
silly to me.


Koos

--
http://www.malarianomore.org
For $10 a mosquito net + distribution + education + monitoring + 
evaluation.



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] how can i set dnsmasq support DNS queries over TCP?

2013-07-03 Thread Simon Kelley

On 03/07/13 04:21, ksc wrote:

  http://www.thekelleys.org.uk/dnsmasq/docs/FAQ

Q: Why doesn't dnsmasq support DNS queries over TCP? Don't the RFC's
specify
that? A: Update: from version 2.10, it does. There are a few
limitations:
data obtained via TCP is not cached, and source-address
or query-port specifications are ignored for TCP.

but i don't know where the options in the config file




There are no options, it just works.

Cheers,

Simon.


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss