Re: [Dnsmasq-discuss] force --local/--server protocol

2013-01-09 Thread Mr Dash Four
d) dnsmasq returns the answer with the truncated response bit set to the client, which then retries over TCP, and dnsmasq makes a TCP connection to 10.1.1.1 The net effect of d) is much the same as c), provided that client behaves in the conventional way, so It may be a winner :-) Thanks,

Re: [Dnsmasq-discuss] How to get back to default Network Manager dnsmasq (local DNS cache only)?

2013-01-09 Thread Chris Green
On Mon, Jan 07, 2013 at 09:17:21AM -0600, Dan Williams wrote: On Sat, 2013-01-05 at 14:16 +, Chris Green wrote: A while ago I turned off the Network Manager loading of dnsmasq on my desktop machine and installed a 'real' dnsmasq so that my desktop machine could be the DNS server for the

[Dnsmasq-discuss] A ipv6 address is given twice

2013-01-09 Thread e9hack
Hi, I configure a few fixed ipv6 address, like dhcp-host=id:00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d,Netbook,[fec0:0:0::0:0::10]. If the machine is connect with two interfaces to the network, both interfaces get the same ipv6 address. Windows 8 runs on the machine. It occurs during

Re: [Dnsmasq-discuss] A ipv6 address is given twice

2013-01-09 Thread Simon Kelley
On 09/01/13 14:36, e9hack wrote: Hi, I configure a few fixed ipv6 address, like dhcp-host=id:00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d,Netbook,[fec0:0:0::0:0::10]. If the machine is connect with two interfaces to the network, both interfaces get the same ipv6 address. Windows 8

Re: [Dnsmasq-discuss] force --local/--server protocol

2013-01-09 Thread Mr Dash Four
Thanks, I'll seek to implement that, though I have another query: if dnsmasq receives a request from a client, which is directed to dns1 and then receives a response from that server not-implemented what happens next: does that error gets returned to the client, Yes, this. Damn, this wasn't

Re: [Dnsmasq-discuss] force --local/--server protocol

2013-01-09 Thread Simon Kelley
On 09/01/13 16:00, Mr Dash Four wrote: Thanks, I'll seek to implement that, though I have another query: if dnsmasq receives a request from a client, which is directed to dns1 and then receives a response from that server not-implemented what happens next: does that error gets returned to

Re: [Dnsmasq-discuss] force --local/--server protocol

2013-01-09 Thread Mr Dash Four
If you want to patch things so that NOTIMP is treated the same way as SERVFAIL, that's pretty simple. All the code that needs changing is in src/forward.c, three instances found by searching for SERVFAIL. I'd seriously consider making this change in future releases, but there is no released

Re: [Dnsmasq-discuss] force --local/--server protocol

2013-01-09 Thread Simon Kelley
On 09/01/13 17:47, Mr Dash Four wrote: If you want to patch things so that NOTIMP is treated the same way as SERVFAIL, that's pretty simple. All the code that needs changing is in src/forward.c, three instances found by searching for SERVFAIL. I'd seriously consider making this change in

Re: [Dnsmasq-discuss] A ipv6 address is given twice

2013-01-09 Thread Simon Kelley
On 09/01/13 14:36, e9hack wrote: Hi, I configure a few fixed ipv6 address, like dhcp-host=id:00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d,Netbook,[fec0:0:0::0:0::10]. If the machine is connect with two interfaces to the network, both interfaces get the same ipv6 address. Windows 8 runs on

Re: [Dnsmasq-discuss] force --local/--server protocol

2013-01-09 Thread Mr Dash Four
Precisely so. I'm as sure as I can be without catually running it that nothing else is needed. I'll have a chance to test it some time tomorrow, Friday at the latest (it is part of quite a number of changes I am doing on that machine), so I'll report back then. Thanks Simon.