[Dnsmasq-discuss] Conditional arguments depending on dhcp option 77 (user class)

2018-08-09 Thread Oliver Rath
Hi list, configuring ipxe boot recommends configuring an isc-dhcp-server i.e. in this way: if exists user-class and option user-class = "iPXE" { filename "http://my.web.server/real_boot_script.php;; } else { filename "undionly.kpxe"; } reffering to dhcp option 77 "User Class

[Dnsmasq-discuss] howto see running configuration?

2018-06-13 Thread Oliver Rath
Hi list, is there a possibility to see the running configuration in dnsmasq? i.e. if I use multiple nested configuration files, this would be helpful. Regards, Oliver ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

[Dnsmasq-discuss] Changing tftp-path / file depending on tag?

2014-07-01 Thread Oliver Rath
Hi list, i have a configuration here with 4 NICs. The config exports different tftp-server addresses (dhcp-Byte 128) for correct resolving: -- snip -- dhcp-range=set:gw94,192.168.94.50,192.168.94.150,255.255.255.0,12h

[Dnsmasq-discuss] restricting to one interface doesnt work

2014-06-24 Thread Oliver Rath
Hi list, i try to restrict the dns of dnsmasq to one interface (3 existing interfaces, I hided ppp0), but it seems, that it doesnt work. My config: server=//141.1.1.1 local=/heimserver/ address=/owncloud/192.168.0.254 dhcp-range=set:gw2,192.168.2.50,192.168.2.150,255.255.255.0,12h

[Dnsmasq-discuss] addendum 2

2014-06-24 Thread Oliver Rath
This is with dnsmasq-2.71, built on gentoo system with via c3-2 processor. Hth, OIiver ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] [solved] Re: restricting to one interface doesnt work

2014-06-24 Thread Oliver Rath
Hi list, writing together the problem sometimes brings enlightement: bind-interfaces option does the wanted thing. Thanks for reading! Oliver Am 24.06.2014 23:28, schrieb Oliver Rath: Hi list, i try to restrict the dns of dnsmasq to one interface (3 existing interfaces, I hided ppp0

[Dnsmasq-discuss] IPv6 dhcp/ra-issue

2014-04-21 Thread Oliver Rath
Hi list, Im trying to give my network-computers IPv6-Addresses constructed from ppp0. In my config I get from my provider i.e. these (dynamic) IPv4 and IPv6-addresses: # ifconfig ppp0 ppp0: flags=4305UP,POINTOPOINT,RUNNING,NOARP,MULTICAST mtu 1492 inet 80.137.126.83 netmask

Re: [Dnsmasq-discuss] IPv6 dhcp/ra-issue

2014-04-21 Thread Oliver Rath
Hi Stéphane! Am 21.04.2014 15:35, schrieb Stéphane Guedon: Le lundi 21 avril 2014, 15:28:30 Oliver Rath a écrit : [..]I don't understand many of what you say. But your setup looks like mine, and I wrote an article about that : http://www.22decembre.eu/2014/04/14/local-dns-setup-with-dnsmasq

Re: [Dnsmasq-discuss] Speed comparison dnsmasq - unbound?

2014-02-16 Thread Oliver Rath
Hi Rob, thank you for the extensive clarification of the disparity between dnsmasq and unbound. It wasnt clear to me that there are so big differences. Tfh! Oliver Am 16.02.2014 15:06, schrieb /dev/rob0: [..] ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] Speed comparison dnsmasq - unbound?

2014-02-15 Thread Oliver Rath
Hi list, did somebody some speed comparison tests for the dns caching functionality between dnsmasq and unbound (http://unbound.net/)? Ive read that unbound is the fastest dns caching server including dnssec support, but I could imagine, that dnsmasq has the same speed (or better). Unbound is

[Dnsmasq-discuss] client-specific prefix possible on tftp-dir?

2013-10-11 Thread Oliver Rath
Hi list, is it possible to generate any client-specific prefix (mac, ip, etc.)? I.e.: client with mac 00-01-12-23-34-45 calls for a file dir.cfg, so he should get /opt/tftproot/00-01-12-23-34-45/dir.cfg Any hints? I didnt found any recent in the net. tFH! Regards, Oliver

[Dnsmasq-discuss] IP - Mac relation instead of IP - Machine?

2013-08-15 Thread Oliver Rath
Hi List, Im using dnsmasq for offering IP-addresses to pxe-client, which chainloads undionly.kpxe from the ipxe-project. Unfortunatly the dnamasq gives different IP-addresses, depending of bios-pxe or ipxe is asking. Is it possible, to bind the relationship of IPs only to mac? NB: I dont want

Re: [Dnsmasq-discuss] pxe only information from dnsmasq possible?

2012-12-23 Thread Oliver Rath
Hi Nikolay! Am 15.12.2012 16:26, schrieb Nikolay Kasatkin: Hello, Oliver! Yes, you can direct dnsmasq for sending only PXE information to your clients. Take a look at dhcp-proxy option in manual and config file. Ha! This is it! I simply have to use the proxy-keyword in the dhcp-range-option.

[Dnsmasq-discuss] pxe only information from dnsmasq possible?

2012-12-12 Thread Oliver Rath
Hi list, is it possible using dnsmasq only for offering pxe-boot-information (tftp-server, image name etc.)? I.e. following szenario: Computer with pxe-only-dnsmasq /\ || \/ Fritzbox with dhcp-Server /\ || \/ Client, who wants to boot via pxe from Computer above Now, if Client sends

[Dnsmasq-discuss] tftp of multiple files from a directory?

2012-06-25 Thread Oliver Rath
Hi list, during looking for a solution, how I could transfer a tftp file composed from multiple little files, Ive got an idea: Normally a tftp-request must point to a regular file or link. If now the target would be a directory (instead of a file), so the logic could be: take all files located

[Dnsmasq-discuss] dynamic file generation for dnsmasq-tftp?

2012-06-19 Thread Oliver Rath
Hi list, Im brooding over the problem, that dnsmasq should send via tftp a file which would be generated at aquisition-time. I.e. if a tftp-request comes to dnsmasq, normally the tftp-part takes the named file and send it to the clent. If I now have a file, which consists of i.e. four parts,

[Dnsmasq-discuss] standard gateway as Forwarding DNS-ip?

2012-05-18 Thread Oliver Rath
Hi list, my dnsmasq doesnt forward DNS-queries correctly. The goal is, that dnsmasq takes the standard-gateway of dhcp as forwarding address for dns-requests. But this didnt work here. If I put an additional dns-server in /var/run/dnsmasq/resolv.conf, it runs fine, but this is not the right way,

[Dnsmasq-discuss] test --tftp-lowercase

2012-04-21 Thread Oliver Rath
Hi Simon, ive tested the tftp-lowercase option - runs fine as option in dnsmasq.conf - runs fine as direct -- parameter on command line Unfortunatly the status-line (lowercase) is lost (line 637-640 in dnsmasq.c). Regards, Oliver ___

[Dnsmasq-discuss] tolower() ist better

2012-04-21 Thread Oliver Rath
Hi Simon, i didnt know, that there is a C-standard-function tolower for doing this. Thanks for correction! Cheers Oliver ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

Re: [Dnsmasq-discuss] Update: Lowercase patch for 2.61rc2

2012-04-20 Thread Oliver Rath
Hi Simon, Am 18.04.2012 17:31, schrieb Simon Kelley: [.. ]Dumb question: you're recommending using lowntfs-3g, but that has an ignore-case mount option. Doesn't that solve the problem without having to make changes to dnsmasq? You are right, I could use this option for solving my problem if i

Re: [Dnsmasq-discuss] in addition [Re: Update: Lowercase patch for 2.61rc2]

2012-04-20 Thread Oliver Rath
Hi Simon, Am 20.04.2012 22:30, schrieb Simon Kelley: 2.61rc3 is there now. Oliver, please check I've not broken your work. For the first: in the CHANGELOG Its the --tftp-lowercase option, not the --dhcp-lowercase option ;-) Will test the rc as soon as possible. Regards, Oliver

Re: [Dnsmasq-discuss] In addition [was tftp request conversion \ - / ? lowercase?

2012-04-17 Thread Oliver Rath
Am 16.04.2012 23:09, schrieb Simon Kelley: On 16/04/12 14:06, Oliver Rath wrote: Hi list, i found a patch on the list in 2009: http://lists.thekellehttp://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q2/003050.htmlys.org.uk/pipermail/dnsmasq-discuss/2009q2/003050.html Maybe it can

[Dnsmasq-discuss] Lowercase patch

2012-04-17 Thread Oliver Rath
Hi list, ive created a patch for introducing the --tftp-lowercase option in addition, you can use tftp-lowercase in dnsmasq.conf for converting tftp-requests to lowercase. If you find it useful, feel free to include it in the next release. Regards, Oliver diff -u -r -N

[Dnsmasq-discuss] Update: Lowercase patch for 2.61rc2

2012-04-17 Thread Oliver Rath
Hi list, here is the version for the 2nd release candidate dnsmasq-2.61rc2. My first patch was built against 2.60. Have fun! Regards, Oliver diff -u -r dnsmasq-2.61rc2/man/dnsmasq.8 dnsmasq-2.61rc2+locase/man/dnsmasq.8 --- dnsmasq-2.61rc2/man/dnsmasq.8 2012-04-16 18:26:19.0 +0200 +++

[Dnsmasq-discuss] In addition [was tftp request conversion \ - / ? lowercase?

2012-04-16 Thread Oliver Rath
, schrieb Oliver Rath: Hi list, i have here some requests from windows server, which are unfortunatly sending requests like this: \srv\tftp\Boot\... etc. On linux, i have to convert these requests to srv/tftp/Boot (or even better srv/tftp/boot in lowercase) This is possible with in-tftpd or tftp