Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Michael Welle
Hi, Simon Kelley wrote: > > Michael Welle wrote: > > >>Are you using BOOTP? If so, then that explains things. Can you use DHCP > >>instead? (BYW the option 57 stuff is not specified for BOOTP, so that > >>wouldn't help.) > > > > Sorry, I should have mentioned that. I guess my problem is solve

Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Simon Kelley
Michael Welle wrote: Are you using BOOTP? If so, then that explains things. Can you use DHCP instead? (BYW the option 57 stuff is not specified for BOOTP, so that wouldn't help.) Sorry, I should have mentioned that. I guess my problem is solved now (and I should have a closer look at the rele

Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Michael Welle
Hi, Simon Kelley wrote: > > Michael Welle wrote: > > > no, this is the only option. Plus the default options set by > > dnsmasq. > > > > > > > > You mean option 57 max msg size? > > Yep. > Hm, the current packet size seems to > > be 328 byte. How is it calculated? > > It's set to be the m

Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Simon Kelley
Michael Welle wrote: no, this is the only option. Plus the default options set by dnsmasq. You mean option 57 max msg size? Yep. Hm, the current packet size seems to be 328 byte. How is it calculated? It's set to be the minimum size mandated by the DHCP spec, which is 576 bytes, HOWE

Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Michael Welle
Hi, Simon Kelley wrote: > > Michael Welle wrote: > > Hi, > > > > I wanted to net boot some Sparc machines using dnsmasq: > > > > dhcp-option=17,"/export/elena/root" > > dhcp-boot=/tftpboot/boot.net.netbsd,bootsvr,192.168.42.1 > > > > But setting the root-path doesn't work if the path is longer

Re: [Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Simon Kelley
Michael Welle wrote: Hi, I wanted to net boot some Sparc machines using dnsmasq: dhcp-option=17,"/export/elena/root" dhcp-boot=/tftpboot/boot.net.netbsd,bootsvr,192.168.42.1 But setting the root-path doesn't work if the path is longer than 8 characters. The first condition in do_opt() (rfc2131

[Dnsmasq-discuss] Possible bug setting dhcp-option 17

2005-10-10 Thread Michael Welle
Hi, I wanted to net boot some Sparc machines using dnsmasq: dhcp-option=17,"/export/elena/root" dhcp-boot=/tftpboot/boot.net.netbsd,bootsvr,192.168.42.1 But setting the root-path doesn't work if the path is longer than 8 characters. The first condition in do_opt() (rfc2131.c) evaluates to true a

Re: [Dnsmasq-discuss] functional difference between SERVFAIL and NXDOMAIN replies

2005-10-10 Thread Simon Kelley
Brandon Boles wrote: Hi folks, I have my local DNS (running dnsmasq) that is used for as a DNS cache as well as serving up names for my local, internal network. I also connect with a vpn client to another network, which gives me another DNS server for internal names on the vpn network. So here

[Dnsmasq-discuss] functional difference between SERVFAIL and NXDOMAIN replies

2005-10-10 Thread Brandon Boles
Hi folks, I have my local DNS (running dnsmasq) that is used for as a DNS cache as well as serving up names for my local, internal network. I also connect with a vpn client to another network, which gives me another DNS server for internal names on the vpn network. So here is what my resolv.conf