Re: [Dnsmasq-discuss] Use special address 0.0.0.0 for DNS

2021-06-17 Thread B. Cook
Would this help as well? kernel parameter: net.ifnames=0 https://man7.org/linux/man-pages/man8/systemd-udevd.service.8.html net.ifnames= Network interfaces are renamed to give them predictable names when possible. It is enabled by default; specifying 0 disa

[Dnsmasq-discuss] dhcp-ignore=tag:!known questions

2022-06-09 Thread B. Cook
(I'm not sure if this is the best way to explain this, so if it is confusing I apologize..) (dnsmasq 2.86 should it matter) I have a conf-file setting to include dhcp settings vs dnsmasq settings.. listen-address, user, group, logfacility, no-hosts, no-poll, no-resolv (dnsmasq settings) then for

[Dnsmasq-discuss] lost feature in 2.57 update (FreeBSD)

2011-03-15 Thread B. Cook
I have ignore set for my dhcpd server. dhcp-ignore=#known and what I used to have was an entry for a *machine name* (not a mac). dnsmasq would allow that machine name on, and I had a script that would parse the logs and add that special machine names MAC to the 'allowed list' with 2.57 (upda

Re: [Dnsmasq-discuss] lost feature in 2.57 update (FreeBSD)

2011-03-15 Thread B. Cook
# This relies on the special "known" tag which is set when # a host is matched. #dhcp-ignore=tag:!known Hmm, Why does my #known do the same thing? And the example says !known.. (odd..) On 3/15/11 12:20 PM, Simon Kelley wrote: B. Cook wrote: I have ignore set for my dhcpd server.

[Dnsmasq-discuss] How to get latest dnsmasq in centos 6.2?

2012-04-10 Thread B. Cook
I can get 2.48 but is building my own rpm the only way to get 2.60? I can't find a repo that has that.. Thanks in advance.. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmas

[Dnsmasq-discuss] dnsmasq: syntax check OK. (but not really..)

2012-06-07 Thread B. Cook
I am running dnsmasq 2.61 on a CentOS 6.2 (amd64) machine and we have a 'new person' helping with the editing of the various dnsmasq config files we have.. The other day we had a problem which was created by a duplicate IP address in two of the configs.. dnsmasq --test validated it but when th

[Dnsmasq-discuss] cname ghs.googlehosted.com.. possible?

2014-02-11 Thread B. Cook
It seems that as of 2.68 the proper way to do a cname entry is to have the entry in the format of: (man page..) cname=, Is would seem that a target of ghs.googlehosted.com could not be properly satisfied at this time. The only option seems to be to pick one (A) IP address for ghs.googlehosted.co

[Dnsmasq-discuss] #known, set:, tag:, and dhcp-helper..

2014-04-16 Thread B. Cook
Trying to do this in dnsmasq without having to build scripts to sed/awk.. I have a default global.conf which looks like this: conf-file=/etc/dnsmasq.d/allow.dhcp dhcp-ignore=#known conf-file=/etc/dnsmasq.d/dnsmasq.bldg1.dhcp # 10.20.0/20 conf-file=/etc/dnsmasq.d/dnsmasq.bldg2.dhcp # 10.20.16/2

[Dnsmasq-discuss] not giving name because the name exists..

2015-06-17 Thread B. Cook
2.72 on CentOS 6.x latest.. not giving name hp6-216.phs.pcsd to the DHCP lease of 10.20.13.116 because the name exists in /etc/dnsmasq.d/hosts with address 10.20.15.234 This is the literal error.. I have printers in the 10.20.15/20 subnet for that building.. I have them listed in the hosts file

[Dnsmasq-discuss] 2.79 Always return a SERVFAIL

2018-04-23 Thread B. Cook
Was running a 2.76 machine (debian) made a new machine with 2.79 (alpine). this dnsmasq machine is providing dhcp and dns for those dhcp entries and other statically configured entries. the staff is talking to this machine via unbound - I can get graphs with unbound. unbound config: local-zo

Re: [Dnsmasq-discuss] Working: 2.79 Always return a SERVFAIL

2018-04-24 Thread B. Cook
2.78 (works) and 2.79 (doesn't work) using > dig, and post the results here. There must be a difference between the two > replies which is provoking the problem. > > > Cheers, > > Simon. > > > > > > On 23/04/18 14:18, B. Cook wrote: > > Was running

Re: [Dnsmasq-discuss] HOSTS not applied to cannonical names

2018-06-19 Thread B. Cook
Morning sir, This is the case. If you look up "Google safe search" and dnsmasq you will see a static defined forcesafesearch.google.com and then a cname for google.com.. Random Google search below.. https://github.com/RMerl/asuswrt-merlin/wiki/Enforce-Safesearch I think what you are missing is

Re: [Dnsmasq-discuss] No DNS server assigned to dhcp clients if port != 53 in dnsmasq.conf

2018-06-30 Thread B. Cook
I am not the original poster.. 8< -- snip -- >8 I want to run my DNS on port 59. I want dnsmasq to assign my clients my DNS server running on port 59. Why doesn't it. 8< -- snip -- >8 That is how I am understanding the original request. On Sat, Jun 30, 2018, 12:11 PM Geert Stappers wrote:

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

2018-07-31 Thread B. Cook
If you have specific questions I use wpad in my organization. This is how it works.. https://findproxyforurl.com/wpad-introduction/ And blocking the relevant entries or sending them nxdomain would accomplish what you ask. So would having authoritative dns.. and not having wildcard entries.. On

[Dnsmasq-discuss] nameserver refused to do a recursive query

2019-05-05 Thread B. Cook
Been trying to figure this out for a while.. and I think I'm onto something.. Started out w/ pihole at work, I have dnscrypt-proxy listening on 127.53.53.53#5353 for dnscrypt to quad9 and 127.54.54.54#5454 on doh to quad9 and the all-servers setting in a separate config file. Pihole would tell me

Re: [Dnsmasq-discuss] TCP queries are refused if upstream server is specified with interface

2019-09-13 Thread B. Cook
I can't find the actual documentation at the moment.. iirc dnsmasq port designation is # not @ and I think it needs a port, not an interface.. server=1.1.1.1#53 but Cloudflare doesn't do unencrypted DNS.. quad9 does.. server=9.9.9.9#53 Not sure if the @ is something new.. -- This message

[Dnsmasq-discuss] Am I missing something?

2008-01-01 Thread B. Cook
Hello all, I have dnsmasq setup with internal dhcp I have powerdns-recursor listening on 127.0.0.1 and tinydns is running on 127.53.0.1. Hosts register in dnsmasq dhcpd without a problem, but they don't populate their PTR.. so that comes from tinydns instead of dnsmasq.. how can I fix th

Re: [Dnsmasq-discuss] Am I missing something?

2008-01-06 Thread B. Cook
On Jan 3, 2008, at 12:03 PM, Simon Kelley wrote: B. Cook wrote: Hello all, the node-$number entries come from tinydns. any clue would be appreciated, thanks in advance You've got log-queries set, so if the reverse resolutions from arp -a were getting to dnsmasq, you would see them i

[Dnsmasq-discuss] Leopard oddity or me?

2008-01-31 Thread B. Cook
Hello all, we are a PC/Mac school and since I have upgraded to leopard I see delays in things that I never saw before. Windows 2k/XP boxes do not have this 'delay'.. We have about 20+ FreeBSD machines that we have around here and that 2-4 second delay logging in really is starting to ge

Re: [Dnsmasq-discuss] Leopard oddity or me?

2008-02-05 Thread B. Cook
On Jan 31, 2008, at 9:31 AM, Simon Kelley wrote: So at the end of all this.. a quick s/local/lan/g in dnsmasq.conf and in tinydns data file.. made this problem go away.. so the .local was the problem. Thanks for answer and your time.

[Dnsmasq-discuss] log-queries question..

2008-03-10 Thread B. Cook
Hello, Is there a way to log only dhcp queries? (or take out the dns lookups?) Thanks in advance.

Re: [Dnsmasq-discuss] Option-252 ?

2008-03-26 Thread B. Cook
Sorry for the late post.. but this is what we use in our network for proxy.pac.. (A little bit cleaner than the netscape one..) # start function FindProxyForURL(url, host) { if ( (isPlainHostName(host)) || (dnsDomainIs(host, "tcentral.local")) || (isInNet(host, "127.0.0.0", "255.

[Dnsmasq-discuss] dnsmasq settings for authoritative dns server..

2008-07-23 Thread B. Cook
Hello All, I have been trying to figure out how I can use dnsmasq as a dns server (shock) to serve A,PTR,NS,TXT, etc entries for a local domain.. I have it working as a dhcp server, but can not seem to make it serve correctly.. egrep -v "^#|dhcp" dnsmasq.conf bind-interfaces cache-size=1

[Dnsmasq-discuss] settings options per host?

2008-07-31 Thread B. Cook
hello all, Working on switching a bigger network from isc to dnsmasq, and so far it is going quite well. I do have the need to set certain parameters per host, like gateways; and can not seem to figure out how it would be done with dnsmasq. This would be the isc entries .. host osxserver

Re: [Dnsmasq-discuss] settings options per host?

2008-07-31 Thread B. Cook
On Jul 31, 2008, at 8:15 AM, Simon Kelley wrote: B. Cook wrote: This would be the isc entries .. hostosxserver{ hardware ethernet 00:17:f2:0f:11:22; option routers 10.20.0.23; } host pcsdsnap{ hardware ethernet00:60:08:2a:11:22; fixed-address 10.20.16.11; option routers

[Dnsmasq-discuss] Missing something obvious #known

2008-08-01 Thread B. Cook
Hello All, I thought all of this was working as it should.. but apparently it is not.. from the dnsmasq.log: Aug 1 11:42:56 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored Aug 1 11:43:11 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored Aug 1 11:43:14 dnsmasq[32635]: DHCP

Re: [Dnsmasq-discuss] Problems with Samba shares and XP clients

2008-08-03 Thread B. Cook
On Aug 2, 2008, at 5:00 PM, Cristiano Paris wrote: On Sat, Aug 2, 2008 at 6:30 PM, richardvo...@gmail.com wrote: I don't remember for sure, but I don't think you need netbios for cifs to work. Try "\\ip.address\share" ? If that doesn't work then I don't think the problem is with dnsmasq.

Re: [Dnsmasq-discuss] Problems with Samba shares and XP clients

2008-08-04 Thread B. Cook
On Aug 3, 2008, at 12:15 PM, Cristiano Paris wrote: On Sun, Aug 3, 2008 at 2:06 PM, B. Cook wrote: On Aug 2, 2008, at 5:00 PM, Cristiano Paris wrote: On Sat, Aug 2, 2008 at 6:30 PM, richardvo...@gmail.com wrote: I don't remember for sure, but I don't think you need netbios

Re: [Dnsmasq-discuss] Missing something obvious #known

2008-08-04 Thread B. Cook
On Aug 3, 2008, at 4:32 PM, Simon Kelley wrote: B. Cook wrote: Hello All, I thought all of this was working as it should.. but apparently it is not.. from the dnsmasq.log: Aug 1 11:42:56 dnsmasq[32635]: DHCPDISCOVER(em0) 00:0e:7f:3b:ba:2d ignored Aug 1 11:43:11 dnsmasq[32635

Re: [Dnsmasq-discuss] Missing something obvious #known

2008-08-04 Thread B. Cook
On Sun, August 3, 2008 4:32 pm, Simon Kelley wrote: > B. Cook wrote: >> Hello All, >> >> I thought all of this was working as it should.. but apparently it is >> not.. >> >> from the dnsmasq.log: >> Aug 1 11:42:56 dnsmasq[32635]: DHCPDISCOVER(em0) 00

[Dnsmasq-discuss] question about logs

2008-08-04 Thread B. Cook
Is there a way to put the 'dns' logs somewhere and the 'dhcp' logs somewhere else? If it is not possible at this time.. Having so many requests come in for different things.. it would be nice to seperate them. my .02

[Dnsmasq-discuss] --dhcp-fqdn example?

2008-08-12 Thread B. Cook
Hello All, trying to figure out how to use the new option.. I have things like this: dnsmasq.cli.dhcp:dhcp-option=cli,option:domain-name,cli.pcsd # Domain dnsmasq.kri.dhcp:dhcp-option=kri,option:domain-name,kri.pcsd # Domain dnsmasq.phs.dhcp:dhcp-option=net:phs,option:domain- n

[Dnsmasq-discuss] 53 Bad bootp tag size

2008-08-14 Thread B. Cook
Hello All, Since moving to dnsmasq for all our dhcp 'needs' things have been quite reliable and predictiable.. we have much more control over things than we did in isc.. It seems we get this error on some Jetdirects.. and I am not sure why. This one at the moment is on a J3113A (G.08.49 - latest

Re: [Dnsmasq-discuss] Is there a way to return names for DHCP clients?

2008-08-23 Thread B. Cook
Depending on your version of Linux, your dhclient might not send it's name when it asks for a lease. You could take it's mac address and assign it a name as well. so: dhcp-host=00:11:22:33:44:55,sharkey that way whatever ip that mac got it would always have the name sharkey (which seems lik

[Dnsmasq-discuss] dhcp-ignore=bootp still missing something..

2008-09-04 Thread B . Cook
Hello, Not sure what is going on still, but it seems these JetDirect 170x's are turning into non dhcp'able devices.. Sep 4 10:09:23 core dnsmasq[43184]: DHCP packet: transaction-id is 620822528 Sep 4 10:09:23 core dnsmasq[43184]: Available DHCP range: 10.20.6.2 -- 10.20.7.254 Sep 4 10:

[Dnsmasq-discuss] Vendor class not appearing..

2008-09-19 Thread B . Cook
Hello all, Other than log-dhcp what makes the entry 'Vendor class: ' appear in the logs? I am on test4 and I even tried test7.. I don't think that is it. I have one machine (core) that Vendor class shows up in the logs and another machine (ismiasm) that it does not.. Not sure what I am

Re: [Dnsmasq-discuss] Reverse DNS

2008-10-06 Thread B. Cook
On Oct 4, 2008, at 7:40 AM, shacky wrote: How I can configure the reverse records? Could you help me, please? Hello, This is the way I have found to implement ptr's address=/network.tcentral.lan/192.168.10.0 ptr-record=0.10.168.192.in-addr.arpa,network.tcentral.lan address=/broadcast.tce

Re: [Dnsmasq-discuss] Incorrect broadcast address given

2008-10-07 Thread B. Cook
On Oct 6, 2008, at 11:17 AM, OB Lutz wrote: Hi I'm running dnsmasq 2.41 on openwrt kamikaze. My network has various routers with blocks of 32 addresses hanging off of them. On every 8th router, the relevant line from my dnsmasq.conf is : dhcp-range=vlan0,192.168.8.230,192.168.8.254,255.255.255

[Dnsmasq-discuss] jet direct default gateway traumas in 2.47?

2009-02-25 Thread B. Cook
I have one building that I have nothing but jetdirect problems with from time to time.. (seemingly since going to dnsmasq; but thats not the point..) Here is the config file that I use for them: # /* vim: set syntax=blah */ domain=kri.pcsd,10.20.4.0/23 # Krieger stuff #dhcp-ignore=kri,#known

Re: [Dnsmasq-discuss] Mac client constant reverse query on itself

2009-02-26 Thread B. Cook
Bob Davis wrote: Looks like I had a formatting problem on my previous post. Let's try this again. I'm running 2.46 on Tomato serving up DNS and DHCP to a mix of PC's, NAS's and a Mac. Everything is working great but I'm puzzled by the behavior of the Mac client (10.5.6). Every 10-15 second

[Dnsmasq-discuss] dns on loopback but dhcp on extif?

2009-02-26 Thread B. Cook
Is there a way to get the dhcp server to run on the external interface, but the dns portion to listen on the loopback or some other ip?

[Dnsmasq-discuss] reload and restart; difference between?

2009-10-08 Thread B. Cook
This might be a FreeBSD -only- question but.. Dnsmasq version 2.50 Copyright (C) 2000-2009 Simon Kelley Compile time options no-IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP So I have a seemingly complex setup.. but suffice to say it all works as designed.. I only hand out dhcp to known addres

[Dnsmasq-discuss] why sending to resolv-file server?

2009-12-14 Thread B. Cook
Hello all, Dnsmasq version 2.50 Copyright (C) 2000-2009 Simon Kelley Compile time options no-IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP I have a rather large setup (some 2500+ hosts) all getting dhcp from dnsmasq. I have 10 buildings all setup with dhcp-relay and such to get them back to th

[Dnsmasq-discuss] listen on loopback for dns not working..

2010-05-22 Thread B. Cook
Sorry for the terse email.. I just do not understand what I am missing.. If I start dnsmasq 2.52 before powerdns, pdns wont start.. if I start pdns first then dnsmasq all is fine.. cat -n dnsmasq.conf 1 all-servers 2 cache-size=4096 3 log-facility=/var/log/dnsmasq.log 4

Re: [Dnsmasq-discuss] listen on loopback for dns not working..

2010-05-23 Thread B. Cook
On Sat, May 22, 2010 3:36 pm, Kyle Kienapfel wrote: > From your configuration snippets it looks like the dnsmasq > configuration isn't limiting itself to the lo0 interface. Try adding > in bind-interfaces > > 6 except-interface=bge0 > 7 interface=lo0 > 8 listen-address=127.0.0.1 >