Re: [Dnsmasq-discuss] dnscrypt -dnssec problems

2016-05-25 Thread wkitty42
On 05/25/2016 03:24 PM, Johnny Appleseed wrote: dig +dnssec ;; Truncated, retrying in TCP mode. ; <<>> DiG 9.8.3-P1 <<>> +dnssec ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 33183 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0,

Re: [Dnsmasq-discuss] Sending a fake reply to client by dnsmasq

2016-06-14 Thread wkitty42
On 06/14/2016 08:30 AM, ravin goyal wrote: Hi Sir I actually need to do it in code rather than in the conf file itself. Can you tell me that i am making changes at right function and in the right file or should i do something else? I hope you get the idea behind what i am trying to do here

Re: [Dnsmasq-discuss] Why does dnsmasq append a local domain in DNS queries?

2016-01-08 Thread wkitty42
On 01/08/2016 07:29 AM, Mikhail Morfikov wrote: Also, though I don't see further log, I suspect that there were no requests like That's the full log. I mean, this is what happened after trying to use "ping". perhaps you should have used "ping" instead? in one of my other

Re: [Dnsmasq-discuss] On a 64bit system, what switches create a 32bit binary.

2016-04-12 Thread wkitty42
On 04/11/2016 11:42 PM, Rob Townley wrote: My name server runs on 32bit hardware, but all other machines are 64bit OS on 64bit hardware. egrep -R -i '386|x86|32bit' did not come back with much relevant info. dnsmasq runs on all kinds of disparate hardware, so i know it is done everyday.

Re: [Dnsmasq-discuss] ProxyDHCP mode is broken for serving ipxe.efi to UEFI pxe clents

2016-05-08 Thread wkitty42
On 05/08/2016 06:52 AM, Dreamcat4 wrote: But it is bad for each UEFI pc users going forwards to know to need to manually specify: pxe-skip-menu=X86-64_EFI pxe-skip-menu=BC_EFI Every time around. Because that is nearly everybody going forwards. How to solve? Can we then make the option logic

Re: [Dnsmasq-discuss] dnsmasq to provide public DNS service

2016-07-15 Thread wkitty42
also replied off-list... On 07/13/2016 08:21 PM, T o n g wrote: After struggled for a few days, I finally decided that I should reply, to bring some closure on this. Thank you for all these days of your tireless help. However, my conclusion is still the same as my first post -- dnsmasq is

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-04 Thread wkitty42
On 07/04/2016 11:29 AM, Ivan Kokshaysky wrote: To fix that we need to purge the netlink buffer on ENOBUF error. With the appended patch dnsmasq is running flawlessly for about a month. why are the messages not removed from the buffer when they are processed? or are they and there's simply too

Re: [Dnsmasq-discuss] Static IP client question

2016-08-07 Thread wkitty42
On 08/07/2016 10:29 AM, Edward Crosby wrote: So, in the /etc/dnsmasq.conf file configure the DHCP settings to always give a specific IP address to my PC? Sort of like a reserved IP in Windows DHCP server? it is called psuedo-static because it is static handed out by dhcp based on the MAC

Re: [Dnsmasq-discuss] Making dnsmasq make OFFER faster than virtualbox NAT DHCP

2017-01-22 Thread wkitty42
On 01/22/2017 08:02 PM, Sebastian Tarach wrote: Hello, I'm trying to make *dnsmasq* work on my Debian Virtualbox guest but I keep getting reply from my VBox host DHCP first. there should only ever be one DHCP server running on any net segments... turn off or otherwise disable all the others

Re: [Dnsmasq-discuss] Making dnsmasq make OFFER faster than virtualbox NAT DHCP

2017-01-23 Thread wkitty42
On 01/23/2017 06:49 AM, Simon Kelley wrote: Actually, it's permitted to have more than once DHCP server, but the client is entitled to wait for some time to hear from them all, and then pick whichever one it prefers, that's interesting... i can't say that i've ever heard that before... maybe

Re: [Dnsmasq-discuss] DNSMASQ fails to start on boot

2016-10-19 Thread wkitty42
On 10/19/2016 12:06 AM, David Griffiths wrote: I found a discussion talking about the same problem on Ubuntu but the recommended fix did not work for me :-( It is a case of DNSMASQ starting before the network is ready. Any

Re: [Dnsmasq-discuss] Dnsmasq not resolving addresses for an hour

2016-10-14 Thread wkitty42
On 10/14/2016 02:52 AM, Vladislav Grishenko wrote: Hi, Albert, 1. HAVE_BROKEN_RTC should be used for, well, broken RTCs. Here, we are not dealing with broken RTC. Root issue from original mail: One of which acknowledges potential problem if the clock goes backwards... As for me it's indeed

Re: [Dnsmasq-discuss] Windows ipv6 hostname

2016-12-20 Thread wkitty42
On 12/20/2016 07:26 PM, Markus Hartung wrote: $ cat /var/lib/misc/dnsmasq.leases 1482365715 3e:XX:XX:XX:XX:02 * 01:3e:XX:XX:XX:XX:02 1482334524 00:YY:YY:YY:YY:67 hostname * I have masked the MAC-address, MACs are only good on the local link... once through a

Re: [Dnsmasq-discuss] Sequential IP doesn't look for unused IPs

2016-12-24 Thread wkitty42
On 12/23/2016 08:04 PM, Alec Robertson wrote: When using sequential IP, the IP allocation should start from the lowest available IP address. this depends on the implementation... some start at the bottom (lowest) and others start at the top (highest)... where they start does not really

Re: [Dnsmasq-discuss] [PATCH] Nack requests for unknown leases.

2017-04-24 Thread wkitty42
On 04/24/2017 05:16 AM, Alin Năstac wrote: On Sun, Apr 23, 2017 at 5:46 PM, Simon Kelley wrote: When the client sends the discovery packet, dnsmasq will notice that the requested address is in use by another client, and offer a different address instead. You did not

Re: [Dnsmasq-discuss] Dnsmaq giving default gateway address as dns server on DHCP offer

2017-08-05 Thread wkitty42
On 08/05/2017 11:43 AM, /dev/rob0 wrote: Yes, there is an option you can use in dnsmasq.conf to change the nameserver[s] given to DHCP clients, but why do you want that? See the dnsmasq(8) manual for details. one possibility is on an AD network where all device DNS lookups go through the AD

Re: [Dnsmasq-discuss] [RFC] dns: add option to ban domains

2017-08-08 Thread wkitty42
On 08/08/2017 04:06 AM, Matteo Croce wrote: 2017-08-08 4:26 GMT+02:00 : On 08/07/2017 06:02 PM, Matteo Croce wrote: I propose adding an option to allow banning some domains. add `--ban-hosts' which accepts a file name which contains a list of domains to block, one per

Re: [Dnsmasq-discuss] [RFC] dns: add option to ban domains

2017-08-07 Thread wkitty42
On 08/07/2017 06:02 PM, Matteo Croce wrote: I propose adding an option to allow banning some domains. add `--ban-hosts' which accepts a file name which contains a list of domains to block, one per line. Domains are blocked by simply returning NXDOMAIN. is the following in dnsmasq.conf

Re: [Dnsmasq-discuss] [PATCH] Remove upper limit of 10, 000 for cache size

2018-05-10 Thread wkitty42
On 05/08/2018 05:16 PM, Dominik wrote: Hey Simon, removing the upper limit will not change anything except for the few users that have set this value manually to a very large number. However, if they did so they were surely not expecting that dnsmasq could just ignore their setting.

Re: [Dnsmasq-discuss] UPDATE - failed to create listening socket

2018-05-11 Thread wkitty42
On 05/11/2018 07:08 AM, Pan, Peter wrote: failed to create listening socket for Cannot assign requested address FAILED to start up Failed to start dnsmasq - A lightweight DHCP and caching DNS server My dnsmasq.conf:

Re: [Dnsmasq-discuss] UPDATE - failed to create listening socket

2018-05-11 Thread wkitty42
please keep list discussions on the list... there is one answer inline below... On 05/11/2018 12:03 PM, Pan, Peter wrote: Thank you for your answer wkitty42 / why are you trying to assign these addresses to your dnsmasq? from your hosts file, they appear to belong to other systems

Re: [Dnsmasq-discuss] DHCPv6 with dnsmasq for automated deployments

2018-06-04 Thread wkitty42
On 06/04/2018 07:36 AM, Oliver Freyermuth wrote: Right now, I only know one could: - Stop dnsmasq. - Purge the lease from the leases-file. - Restart dnsmasq. i think the process is: rewrite the leases file as needed HUP dnsmasq but i'm not positive... if not HUB, maybe one of the other

Re: [Dnsmasq-discuss] Disable IPv6 (AAAA) queries

2018-06-26 Thread wkitty42
On 06/26/2018 04:18 AM, Angelo Ranieri wrote: My question is about IPv6. Can i block queries? I would that only A queries is accept. which are you asking about blocking? 1. inbound LAN queries to your dnsmasq? 2. inbound WAN queries to your dnsmasq? 3. outbound queries from your

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread wkitty42
On 08/03/2018 10:29 AM, Wojtek Swiatek wrote: Le ven. 3 août 2018 à 16:24, Simon Kelley a écrit : After you've made changes to /etc/hosts, you need to send SIGHUP to the dnsmasq process to get it to re-read the file. That  should also increment the serial. Changes to DHCP allocated

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread wkitty42
On 08/03/2018 12:26 PM, Wojtek Swiatek wrote: I know that this is not a signal but a restart of the service (I use signals on a regular basis in my code as well). ok... we (TINW) don't know your level of expertise ;) My understanding is that this is a way to reload the configuration (as

Re: [Dnsmasq-discuss] domain blacklist API..

2018-07-31 Thread wkitty42
On 07/30/2018 10:43 PM, al so wrote: Is there an API to blacklist certain DNS domains which should get resolved? do you mean blacklist them with NXDOMAIN even though they do exist? from dnsmasq.conf # block these domains with NXDOMAIN server=/ server=/

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-04 Thread wkitty42
On 08/04/2018 10:41 AM, Simon Kelley wrote: OK, I'm confused about the serial problem. I just tested here, and it works as I described. do you mean that dnsmasq only increments the serial when a SIGHUP is received *OR* it increments the serial any time it is (re)started? -- NOTE: No

Re: [Dnsmasq-discuss] Using a variable in the address option in dnsmasq.conf

2018-03-02 Thread wkitty42
On 03/02/2018 07:46 AM, Petr Menšík wrote: and then generate your file any way you need. For example in bash echo "# Autogenerated file, do not edit by hand" > /etc/dnsmasq.d/blocked.conf for DOMAIN in do echo "address=/$DOMAIN/$MYIP" >> /etc/dnsmasq.d/blocked.conf done

Re: [Dnsmasq-discuss] Expand-host multiple domains?

2018-10-09 Thread wkitty42
On 10/09/2018 09:57 AM, Jarno Elonen wrote: Is it possible to expand hosts file entries against multiple domains with Dnsmasq? Or perhaps setup a DNAME-like aliasing of hosts in one domain to another domain? To clarify, if my "/etc/hosts" contained... host1 host2 ...and my

Re: [Dnsmasq-discuss] DHCP, how to ignore the client MAC address?

2019-01-10 Thread wkitty42
On 1/10/19 3:26 PM, Michael Schleicher wrote: As I said, for Linux VM's, I can set a uniq Client-ID that helps, but on Windows you can not set define a Client-ID (as far as I know). isn't this the machine name? when i was supporting winwhatever, the install generated a machine name... that is

Re: [Dnsmasq-discuss] Config Parcing Bug

2019-01-11 Thread wkitty42
On 1/11/19 7:22 PM, Tasnad Kernetzky wrote: Hi all, I wanted to report a bug (at least we belieave it is one). We had a short discussion over at the archlinux bugtracker ( In short: echo 'address=/' | dnsmasq --test -C - dnsmasq:

Re: [Dnsmasq-discuss] DHCP tag being ignored?

2019-04-06 Thread wkitty42
On 4/6/19 1:41 PM, Dave Thompson wrote: I can see that the Windows 7 VM is requesting 104. Perhaps Dnsmasq is honouring that and ignoring the config file? i think you have to release the address, first... something so that the VM won't try to request the last address it had... if it requests

Re: [Dnsmasq-discuss] The order of nameservers provided by `server=`

2019-03-25 Thread wkitty42
On 3/25/19 12:14 PM, John Robson wrote: Don’t think dnsmasq cares what order they are in, it tests them all and chooses the fastest to use. then what good is "strict-order"?? -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the

Re: [Dnsmasq-discuss] ubus problem

2019-04-08 Thread wkitty42
On 4/8/19 1:52 PM, Jan Willem Janssen wrote: I've to give it some thought about how we could support multiple Dnsmasq instances in combination with UBus. Not sure how the DBus implementation would handle this... is there some ID or signature that could be used to differentiate between

Re: [Dnsmasq-discuss] ubus problem

2019-04-08 Thread wkitty42
On 4/8/19 3:58 PM, wrote: is there some ID or signature that could be used to differentiate between separate dnsmasq instances? if so, one could specify that in the config and that could be used with dbus to separate the instances and how they communicate... i mixed up

Re: [Dnsmasq-discuss] ubus problem

2019-04-11 Thread wkitty42
On 4/10/19 12:55 PM, Jan Willem Janssen wrote: There's one solution I can think of: making the name under which we register the UBus object configurable (with "dnsmasq" as default for backwards compatibility). It would allow multiple instances to be configured each with their own unique name.